cancel
Showing results for 
Search instead for 
Did you mean: 

I have STM32F429 processor, in the MicroSD there's the new firmware, and I want update programming flash from your-self. It is possible realize it copyng the update code inram ? Thanks

IlConte
Associate III
 
1 REPLY 1
Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.