2022-07-15 07:49 AM
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
2022-07-15 08:04 AM
I mean this is directly possible only over SWD / STLink, over bootloader only indirectly...
2022-07-15 10:42 AM
RAM is at 0x20000000 not 0x02000000
Seem to recall the loader uses some of the RAM for it's own execution/stack, etc.
2022-07-15 10:44 AM
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.