2023-03-21 03:53 AM
2023-03-21 05:57 AM
Yes, in principle this is possible, but with some effort and above all disadvantages. The STM32F429 has dual-bank flash in the larger versions with 1MB and 2MB, so you can write one bank while the other is being read. This has the advantage of not switching to the second bank until it can be proven that it has been written to with the correct programme.
However, if you want to program from RAM, you risk that in case of an interruption (power failure, sudden reset, etc) the data of the bank in question, in the case of the 512KB version the data of the entire flash, will be damaged. In addition, the RAM must not only hold the programme for flashing, but also the data to be written, which leads to reloading actions because the RAM is much smaller than the flash.
Does it answer your question?
Regards
/Peter