FOTA Project | STM32 Bootloader with ESP32 Connected to MQTT and Firebase | Upload Application OTA.

Описание к видео FOTA Project | STM32 Bootloader with ESP32 Connected to MQTT and Firebase | Upload Application OTA.

Code: https://github.com/EhabMagdyy/FOTA-ST...

The STM32 bootloader communicates with the ESP to receive a command packet and then sends a reply via UART. The ESP is connected to Node-RED to receive multiple commands and publish bootloader replies and to Firebase to upload application OTA updates.

We support five commands in the bootloader (1. Get Chip identification number 2. Read protection
level 3. Jump to application 4. Erase flash 5. Upload application). The ESP receives the command from MQTT, appends other details to it, calculates the CRC of the packet, and then sends it to the bootloader. The bootloader receives the packet, calculates its CRC to verify that the packet was received successfully, and then performs the operations needed by the command.

#stm32 #esp32 #fota #iot #bootloader #nodered #firebase #esp8266 #programming #embeddedprojects #embeddedsystems #embeddedsoftware #microcontroller #mechatronics #computerengineering #ota

Комментарии

Информация по комментариям в разработке