Forum Discussion
Hi Brett
Did you by any chance make changes to the scatter file to point to the on chip ram?
Regards
Jingyang, Teh
- BigB4 years ago
New Contributor
Did you by any chance make changes to the scatter file to point to the on chip ram?I assume you mean a scatter file to point to the SDRAM. Yes, I used an SDRAM scatter file and the document you linked to was the guide that I was following. I have copied the SDRAM scatter file contents below (it's identical to the one in the guide). Note that, as I mentioned in my original post, I am able to debug from SDRAM without issue if I load the bootloader from the factory DE10-Nano image first. The problems begin when I try using my build of U-Boot (to initialize the SDRAM prior to debugging).
scatter_SDRAM.scat:
SDRAM 0x02000000 0x02000000 ; 32M SDRAM
{
APP_CODE +0
{
* (+RO, +RW, +ZI)
}
ARM_LIB_STACKHEAP 0x03000000 EMPTY 0x01000000 ; Application heap and stack
{}
}Thanks!
Brett