AnsweredAssumed Answered

Erase FW + Download FW from SD-Card

Question asked by melamud.michael on Aug 3, 2013
Latest reply on Aug 4, 2013 by Clive One
Hello ,

I have a more theoretical question ( for now ) , suppose  i want to update the firmware on the STM32 , lets say i put the new FW file on the SD-card , the current FW should detect it and do the update .

How can i do this ? should i define a protected section on the flash (where the code is located) and defined it as a "boot-loader" section where i will have the limited abilities to read from SD-card  and write the new FW to the firmware sector on the "flash" ?

If this is true , i should modify my start-up script to jump first to the boot loader function main , and not to the firmware main , and if there is no update available i should jump to the firmware main, correct?