On 10-03-2006 at 09:58, Anonymous wrote:
@Dom, could you send me your scatter file.
@fixxer, You do not need to copy the code from FLASH to RAM by hand. With an appropriate scatter file the __main will copy the code from FLASH to RAM.
Here an example of scatter file:
FLASH 0x40000000 0x40000
RAM 0x20000000 0x10000000
71x_vect.o (Vect, +First)
In your init.s file you should have the following instruction at the beginning:
LDR pc, =NextInst
Retrieving data ...