Run code from ram of STM32H7
I have a customized bootloader app which needs to update itself.
I think if linking all the code to RAM and run code in RAM, then it should able to update itself as it does not require accessing flash.
my thought is changing all section with flash (>FLASH) to RAM (>RAM AT> FLASH), ideally it should work.
But it does not, system even not run at all, and cannot set break point.
may I know if this strategy works and may I know how to put entire program into ram and run?
if there is an example, then that will be great.
thanks
