Yahoo Groups archive

Lpc2000

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

Thread

After copying code from Flash to RAM?

After copying code from Flash to RAM?

2006-04-04 by volunteer_sysu

I am writing a bootloader a development kit based on LPC2210. I want to 
copy the code from Flash to RAM, which is asynchronic CellularRAM----
MT45W2Mx16P, will it work?
After copying code from Flash to RAM, where shall I start my program? 
Is it just move the address of the first instruction in RAM to PC (ie. 
ldr pc, =(the address of the first instruction))? But I am puzzled that 
the program will run the code-copy segment again, which will cause the 
program to enter an endless loop. ( Maybe I am wrong )
could anyone give me an example? And tell me what mistake I made?
thanks!

Regards,

Kevin

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.