Yahoo Groups archive

Lpc2000

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

Thread

ARM Cross dev. with LPC2294

ARM Cross dev. with LPC2294

2005-12-27 by wzzxo

Hello,

I'm having trouble using an LPC2294 with the gnu tools.
My board is an LPC-H2294 from Olimex, and I'm trying to follow the
tutorial "ARM Cross Development with Eclipse" from James P. Lynch.
As there are some differences between the LPC2106 board used in the
tutorial and mine, I did the following changes in the
demo2106_blink_flash project :

- in main, I set PINSEL1 = 0x00000000, as my LED is connected to
P0.30, which is not a GPIO by default, and I set IO0DIR and
(alternatively) IO0SET and IO0CLR with 0x40000000 to toggle the pin.

- in linker script demo2106_blink_flash.cmd, I changed the flash size
to 256K

- startup code crt.s and all other files are identical

This compiles without problems, but nothing seems to work. Did I miss
something in the differences between 2106 and 2294?

On the other hand, I know that the board is working : it was delivered
with an embedded software that blinks the led, and this one works OK.
I dumped it before to erase the internal flash, and uploaded it back
after my unsuccessful tests.

Help is apreciated before I become crazy ;-)

Ennio

Re: [lpc2000] ARM Cross dev. with LPC2294

2005-12-27 by Tom Walsh

wzzxo wrote:

>Hello,
>
>I'm having trouble using an LPC2294 with the gnu tools.
>My board is an LPC-H2294 from Olimex, and I'm trying to follow the
>tutorial "ARM Cross Development with Eclipse" from James P. Lynch.
>As there are some differences between the LPC2106 board used in the
>tutorial and mine, I did the following changes in the
>demo2106_blink_flash project :
>
>  
>
There has been mention of Olimex documentation not matching the boards.  
Others have seen the documentation + schematic show that LEDs are on one 
pin but are actually on another on the board. 

Perhaps you could check the schematic they gave you to verify that the 
pin they say is connected to the LED actually goes to the LED.  Never: 
AssUMe.

TomW



-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Re: ARM Cross dev. with LPC2294

2005-12-27 by rtstofer

--- In lpc2000@yahoogroups.com, Tom Walsh <tom@o...> wrote:
>
> wzzxo wrote:
> 
> >Hello,
> >
> >I'm having trouble using an LPC2294 with the gnu tools.
> >My board is an LPC-H2294 from Olimex, and I'm trying to follow the
> >tutorial "ARM Cross Development with Eclipse" from James P. Lynch.
> >As there are some differences between the LPC2106 board used in 
the
> >tutorial and mine, I did the following changes in the
> >demo2106_blink_flash project :
> >
> >  
> >
> There has been mention of Olimex documentation not matching the 
boards.  
> Others have seen the documentation + schematic show that LEDs are 
on one 
> pin but are actually on another on the board. 
> 
> Perhaps you could check the schematic they gave you to verify that 
the 
> pin they say is connected to the LED actually goes to the LED.  
Never: 
> AssUMe.
> 
> TomW
> 
> 
> 
> -- 
> Tom Walsh - WN3L - Embedded Systems Consultant
> http://openhardware.net, http://cyberiansoftware.com
> "Windows? No thanks, I have work to do..."
> ----------------------------------------------------
>

Good point!  I'm one of the ones that mentioned the problem re: the 
LPC2106.  The paper schematic is wrong but the silkscreen on the 
board is correct.

Richard

Re: ARM Cross dev. with LPC2294

2005-12-27 by dvnstn

--- In lpc2000@yahoogroups.com, "wzzxo" <wzzxo@y...> wrote:
>
> Hello,
> 
> I'm having trouble using an LPC2294 with the gnu tools.
> My board is an LPC-H2294 from Olimex, and I'm trying to follow the
> tutorial "ARM Cross Development with Eclipse" from James P. Lynch.
> As there are some differences between the LPC2106 board used in the
> tutorial and mine, I did the following changes in the
> demo2106_blink_flash project :
> 
> - in main, I set PINSEL1 = 0x00000000, as my LED is connected to
> P0.30, which is not a GPIO by default, and I set IO0DIR and
> (alternatively) IO0SET and IO0CLR with 0x40000000 to toggle the 
pin.
> 
> - in linker script demo2106_blink_flash.cmd, I changed the flash 
size
> to 256K
> 
> - startup code crt.s and all other files are identical
> 
> This compiles without problems, but nothing seems to work. Did I 
miss
> something in the differences between 2106 and 2294?
> 
> On the other hand, I know that the board is working : it was 
delivered
> with an embedded software that blinks the led, and this one works 
OK.
> I dumped it before to erase the internal flash, and uploaded it 
back
> after my unsuccessful tests.
> 
> Help is apreciated before I become crazy ;-)
> 
> Ennio
>
>
Hello Ennio,

I'm using same board and (fine) tutorial that helped me on my way. 
The only thing you should still change is the RAM size (in the .cmd)
which is (only) 16K for the LPC2294.
It 'll work, you'll see.

Cheers, Eelco

Re: ARM Cross dev. with LPC2294

2005-12-28 by wzzxo

--- In lpc2000@yahoogroups.com, "dvnstn" <dvnstn@y...> wrote:
>
> The only thing you should still change is the RAM size (in the .cmd)
> which is (only) 16K for the LPC2294.

Hello Eelco,

Thank you for the advice, this was actually the problem.
I don't know why, but I was sure the LPC2294 had as much RAM as the
LPC2106.

Ennio

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.