Forum Discussion
Hi,
Are you running both cases i.e. application from the SDRAM?
If it is SDRAM, preloader scatter file needs to be updated with the SDRAM starting address, size and application stack and heap size.
Regards
Tiwari
- bsp_user2 years ago
Occasional Contributor
Hi,
Yes, I ran both cases from SDRAM. In my first post I provided several guides (received them from this forum) and sample projects, all provide a modified scatter file for SDRAM.
The problem is that in the ARM case, while using the SDRAM scatter file, I can load the bare metal to the SDRAM only with debugger. If I use the preloader its not working.
With GCC I'm able to load the program with and without debugger.
Since the debugger uses the output elf and not the final image containing the mkimage header addition, maybe there is something wrong with this part (ARM linker/ scatter file case)
I looked for a guide/example showing how to load the program from SDRAM without debugger (while using ARM tools) but didn't find one.