Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Olimex LPC-H2294 Example

2005-12-07 by thomas_ploeger

Hi Leon,

yes I've found the example it is written for the 21xx.
My problem is that I'm to stupid to find the right hex addresses for 
the LED PIN (P0.30).
The Register address for PINSEL1 is 0xE002C004.

I initialize PINSEL1 = 0x00;

I don't know how to access IO1DIR to set IO1SET and IO1CLR = 0x01;

Thomas 

--- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@b...> 
wrote:
>
> 
> ----- Original Message ----- 
> From: "thomas_ploeger" <T_Ploeger@t...>
> To: <lpc2000@yahoogroups.com>
> Sent: Wednesday, December 07, 2005 2:08 PM
> Subject: [lpc2000] Olimex LPC-H2294 Example
> 
> 
> > Hello everybidy,
> >
> > now I'm a proud owner of an olimex LPC-H2294 board with JTAG 
wiggler
> > but when I try to execute the blink_led the compilation fails 
because
> > of the missing iolpc2294.h, which is part of IAR embedded 
workbench.
> > I'm using Crossworks 1.42.
> >
> > Can some body give me an example how I can let the LED on PINSEL1 
P0.30
> > (PIN33 / EXT1-28) blink?
> 
> There should be a similar program in the CrossWorks examples. You 
might have 
> to modify it slightly.
> 
> Leon 
> 
> ---
> [This E-mail has been scanned for viruses but it is your 
responsibility 
> to maintain up to date anti virus software on the device that you 
are
> currently using to read this email. ]
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.