[ECOS] Running code from external ram on the AT91SAM7SE

Andrew Lunn andrew@lunn.ch
Tue Nov 6 16:23:00 GMT 2007


> Thanks for the assembly clarification.
> I've verified it: it's the RAM startup that gets called. I'm getting
> into start because the start address is set in the ELF file (first,
> the CPSR register is set and then the start is called)
> 
> The init_flag is not zero, not even the first time the code gets
> called, that explains the looping.

That is significant and probably indicates a bigger problem.

Are you sure your data section is getting loaded? Do an
arm-elf-objdump --headers on your image and see what flags are on the
data section.

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list