Reply by thomas_ploeger December 7, 20052005-12-07
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@lpc2..., "Leon Heller" <leon.heller@b...>
wrote:
>
>
> ----- Original Message -----
> From: "thomas_ploeger" <T_Ploeger@t...>
> To: <lpc2000@lpc2...>
> 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. ]
>




An Engineer's Guide to the LPC2100 Series

Reply by Paul Curtis December 7, 20052005-12-07
Ok, well as Leon says, there is a bunch of examples for many ARMs in the
CrossWorks distribution. I'm sure something there will help you.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and now MAXQ processors

> -----Original Message-----
> From: thomas_ploeger [mailto:T_Ploeger@T_Pl...]
> Sent: 07 December 2005 15:08
> To: lpc2000@lpc2...
> Subject: [lpc2000] Re: Olimex LPC-H2294 Example
>
> Hi Paul,
>
> unfortunately there is nothing to download or to see :-(
> I'll investigate the WWW for some examples
>
> Cheers
>
> --- In lpc2000@lpc2..., "Paul Curtis" <plc@r...> wrote:
> >
> > Tomas,
> >
> > You could try looking at Michael Fisher's "Ethernut for LPC-E2294"
> > project using the LPC-E2294 and CrossWorks here:
> >
> > http://www.usbdip.de/en/projects_en.html
> >
> > Rgds,
> >
> > --
> > Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> > CrossWorks for MSP430, ARM, AVR and now MAXQ processors
> >
> > > -----Original Message-----
> > > From: thomas_ploeger [mailto:T_Ploeger@t...]
> > > Sent: 07 December 2005 14:08
> > > To: lpc2000@lpc2...
> > > 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?
> > >
> > > Which is the hex address of this register?
> > >
> > > Thanks
> > >
> > > Thomas
> > >
> > >
> > >
> > >
> > >
> > > ------------------------ Yahoo! Groups Sponsor
> > > --------------------~-->
> > > Get Bzzzy! (real tools to help you find a job). Welcome to
> > > the Sweet Life.
> > > http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dN_tlB/TM
> > > --------------------------
> > > ------~->
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Most low income households are not online. Help bridge the
> digital divide today!
> http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/dN_tlB/TM
> --------------------------
> ------~- > Yahoo! Groups Links



Reply by thomas_ploeger December 7, 20052005-12-07
Hi Paul,

unfortunately there is nothing to download or to see :-(
I'll investigate the WWW for some examples

Cheers

--- In lpc2000@lpc2..., "Paul Curtis" <plc@r...> wrote:
>
> Tomas,
>
> You could try looking at Michael Fisher's "Ethernut for LPC-E2294"
> project using the LPC-E2294 and CrossWorks here:
>
> http://www.usbdip.de/en/projects_en.html
>
> Rgds,
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks for MSP430, ARM, AVR and now MAXQ processors
>
> > -----Original Message-----
> > From: thomas_ploeger [mailto:T_Ploeger@t...]
> > Sent: 07 December 2005 14:08
> > To: lpc2000@lpc2...
> > 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?
> >
> > Which is the hex address of this register?
> >
> > Thanks
> >
> > Thomas
> >
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~-->
> > Get Bzzzy! (real tools to help you find a job). Welcome to
> > the Sweet Life.
> > http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dN_tlB/TM
> > --------------------------
> > ------~->
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>


Reply by Paul Curtis December 7, 20052005-12-07
Tomas,

You could try looking at Michael Fisher's "Ethernut for LPC-E2294"
project using the LPC-E2294 and CrossWorks here:

http://www.usbdip.de/en/projects_en.html

Rgds,

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and now MAXQ processors

> -----Original Message-----
> From: thomas_ploeger [mailto:T_Ploeger@T_Pl...]
> Sent: 07 December 2005 14:08
> To: lpc2000@lpc2...
> 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?
>
> Which is the hex address of this register?
>
> Thanks
>
> Thomas > ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Get Bzzzy! (real tools to help you find a job). Welcome to
> the Sweet Life.
> http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dN_tlB/TM
> --------------------------
> ------~- > Yahoo! Groups Links



Reply by Leon Heller December 7, 20052005-12-07

----- Original Message -----
From: "thomas_ploeger" <T_Ploeger@T_Pl...>
To: <lpc2000@lpc2...>
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. ]


Reply by thomas_ploeger December 7, 20052005-12-07
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?

Which is the hex address of this register?

Thanks

Thomas