This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running code from external ram on the AT91SAM7SE


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]