2022-02-22 07:59 AM
Hello
I want to download my code in the external SDRAM connected to a STM32H743 for debugging purpose.
I use the STM32CubeIDE, I wrote an external loader .stldr to configure the FMC.
In the debugger tab, I selected the external Loader but it fails to load.
I found the document for the external loader in NOR FLASH but I did find anything for the SDRAM.
What should be the StorageInfo structure for the SDRAM.
Someone did this ?
Thank you.
Best regards
2022-02-22 08:51 AM
Notionally this is something one would typically achieve via a Debugger Script or Initialization File.. ie poking the MCU registers to get clocks, pins, peripheral functional, so its a simple write/load to memory.
I'd expect the SRAM/SDRAM StorageInfo structure would just describe the address/size of the memory, shouldn't be that involved if the underlying loader method actually supports that. And for that matter you could just pretend to be a super-fast NOR FLASH, or SPI FLASH
>>Someone did this ?
Sure it could be done, got a decent bounty on it?