2021-06-03 10:53 AM
2021-06-03 10:58 AM
In Keil we'd use a Debugger Script (.INI) which would bring up the clocks, pins, interface and memory chip allowing the debugger to see it, and then download code directly into SDRAM. ie LOAD app2sdram.axf
2021-06-03 11:08 AM
I would like to work in stm32cubeIDE. But thank you, where I can get app2sdram.axf?
2021-06-03 11:19 AM
I'm sure GNU/GDB provides for scripting also. Poking hardware level registers to bring up the external memory interface is not a simple task. Perhaps it would be simpler for you to code that BSP functionality in C, call it via SystemInit() from the startup.s code, and then copy your executable image into SDRAM once that's up and working?
app2sdram.axf was a notional name for the file the linker output for the project
2021-06-03 11:37 AM
Thank you for information, I will try to find some description GNU/DBG.