Forums

Downloading to external SRAM

Started by nagarkarajay February 22, 2006
Hello,

I got a new Phytec LPC2294 board for a project and started playing 
with it.
This is what I am using:

IDE - Crossworks
Olimex ARm JTAG (Macraigor wiggler compatible )
eCos - No Redboot

If I create a project in Crossworks it compiles ok and downloads to 
the on-chip SRAM. However if I create an externally generated 
executable and then try to Debug it, Verify fails. It starts 
downloading to mem location 0x81000000 - Says download complete - 
verify failed. I want to program it on the external RAM as that code 
has eCos - resulting in a larger footprint. 

Has anyone ran into this problem before? 

Any help will be appreciated. 

Thanks
Ajay
	

An Engineer's Guide to the LPC2100 Series

Hello,

just a guess, as I don't know what help Crossworks offers in that regard, but 
did you initialize the external memory controller (BCFG1) with the 
appropriate values for that SRAM? Only CS0 comes up enabled out of reset, 
configured according to BOOT[1:0], but CS1-3 have to be initialized manually.

Regards,

Dominic

On Wednesday 22 February 2006 19:44, nagarkarajay
wrote:
> Hello,
>
> I got a new Phytec LPC2294 board for a project and started playing
> with it.
> This is what I am using:
>
> IDE - Crossworks
> Olimex ARm JTAG (Macraigor wiggler compatible )
> eCos - No Redboot
>
> If I create a project in Crossworks it compiles ok and downloads to
> the on-chip SRAM. However if I create an externally generated
> executable and then try to Debug it, Verify fails. It starts
> downloading to mem location 0x81000000 - Says download complete -
> verify failed. I want to program it on the external RAM as that code
> has eCos - resulting in a larger footprint.
>
> Has anyone ran into this problem before?
>
> Any help will be appreciated.
>
> Thanks
> Ajay