cancel
Showing results for 
Search instead for 
Did you mean: 

External loader for external SDRAM

GLeco.1
Associate

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

1 REPLY 1

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..