cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer - i need to load and run an application in ram.

MSqui.1
Associate

ST STM32F469NI

i need to load and run an application in ram.

with STM32CubeProgrammer via USART1 I load the code in flash without problems and it is executed

If I try to load a linked application to be run in ram

STM32CubeProgrammer in programming gives me the following error

as attachment

3 REPLIES 3
MM..1
Chief III

I mean this is directly possible only over SWD / STLink, over bootloader only indirectly...

RAM is at 0x20000000 not 0x02000000

Seem to recall the loader uses some of the RAM for it's own execution/stack, etc.

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

The alternative is to make a really simple .HEX loader that runs from FLASH, and expects you to send the file directly to the serial terminal attached to the UART.

If the Terminal supports X/Y-Modem a .BIN could also be done very robustly.

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