2019-02-11 01:36 AM
Hello STians,
I am new to ST MCUs and working on a custom STM32F100R8 board.
My client needs to have FOTA (Firmware over the air) upgrade option. Board has BLE on USART for the firmware upgrade.
I need to clarify/confirm weather STM32F100R8 is capable of FOTA upgrade? If yes, is there any application note on the procedure?
Thanks in advance.
Lalit
2019-02-11 03:34 AM
If you have the over-the-air communication set up then your microcontroller is capable of updating its own firmware. You'll have to write a custom bootloader which will do the job. See the "STM32Cube in-application programming using the USART embedded software (AN4657)" application note and example. The example uses USART for getting the firmware, you'll have to adapt it to use your OTA communications. You can keep the Y-modem protocol used to upload the binary, I think, or you can change it too. [Click Show More for the Links]
https://www.st.com/en/embedded-software/x-cube-iap-usart.html
https://www.st.com/resource/en/application_note/dm00161366.pdf
2019-02-11 09:30 PM
Thank you @After Forever . This really helped. I will work on custom bootloader to use OTA functions.