Hi! I have a question about STM32 microcontrollers.
I need to update the firmware remotely, but I don’t have physical access to the devices. What are the typical approaches or tools used for remote firmware updates in this case?
Thanks in advance for any tips!
Remote firmware update
Re: Remote firmware update
for single chip solution, you may want to try stm32wb55
https://github.com/stm32duino/STM32duinoBLE
https://github.com/stm32duino/Arduino_Core_STM32
but I've not tried this myself, it is more complicated than starting with plain vanilla stm32 soc without the BLE soc.
other ways are to use an external soc e.g. esp8266, esp32 and use that as a wifi interface, it will take extra works on that part though.
e.g. to write a custom bootloader to communicate over uart e.g.
https://github.com/search?q=stm32%20boo ... positories
or to write the updater on the external wifi soc itself say over uart.
https://github.com/stm32duino/STM32duinoBLE
https://github.com/stm32duino/Arduino_Core_STM32
but I've not tried this myself, it is more complicated than starting with plain vanilla stm32 soc without the BLE soc.
other ways are to use an external soc e.g. esp8266, esp32 and use that as a wifi interface, it will take extra works on that part though.
e.g. to write a custom bootloader to communicate over uart e.g.
https://github.com/search?q=stm32%20boo ... positories
or to write the updater on the external wifi soc itself say over uart.
-
- Posts: 2
- Joined: Sat Jun 14, 2025 9:33 pm
Re: Remote firmware update
There are third-party tools that help simplify the process, you can find more information here: https://www.flexihub.com/over-the-air-software-update/
However they’re not strictly necessary. The built-in bootloader, stored in the MCU’s flash memory, lets you update the firmware without needing an external programmer.
However they’re not strictly necessary. The built-in bootloader, stored in the MCU’s flash memory, lets you update the firmware without needing an external programmer.