Chapter 28 of FreeRTOS: OTA Firmware Upgrade Design

Chapter 28 of FreeRTOS: OTA Firmware Upgrade Design

Table of Contents 1. Dual Bank Switching Mechanism 1.1 Basic Concepts 1.2 Implementation Plan 1.3 FreeRTOS Integration Points 2. Implementation of Security Verification Process 2.1 Verification Mechanism Design 2.2 Encryption Algorithm Selection 2.3 Tamper Protection 3. Practical Demonstration 3.1 Code Structure 3.2 Key Code Snippets Best Practice Recommendations 1. Dual Bank Switching Mechanism 1.1 Basic … Read more

OTA Data Transmission Using Y Modem Protocol for Renesas RX MCU

OTA Data Transmission Using Y Modem Protocol for Renesas RX MCU

1 Y Modem Protocol X Modem is an early file transfer protocol. Y Modem is an improved version of X Modem, offering faster and more stable transmission. The term Y Modem generally refers to YModem-1K. Figure 1 Y Modem Protocol Frame The core differences between the two can be summarized in the table below: Click … Read more

ESP32-S3 Partition Table Configuration

ESP32-S3 Partition Table Configuration

“ This article focuses on the ESP32-S3, explaining its SPI Flash partition table settings, connection to Flash, and also introduces partition table configuration and initialization mounting of each partition.” 01 — Introduction 1. The Partition Table of ESP32-S3 (Partition Table) is a configuration mechanism used to divide the SPI Flash storage space. Its function is … Read more

Several Flash Partitioning Methods for OTA Firmware Upgrades in Embedded Software

Several Flash Partitioning Methods for OTA Firmware Upgrades in Embedded Software

Click the blue text aboveTalks Lab Get more automotive cybersecurity information Many embedded hardware devices integrate OTA functionality, allowing applications to be downloaded remotely after mass production. Before using firmware with OTA functionality, it is necessary to download the BootLoader program in advance to further download the application program. Today, let’s discuss several Flash partitioning … Read more

Lessons Learned from Integrating ESP32 with a Self-Built Backend: OTA Address Configuration

Lessons Learned from Integrating ESP32 with a Self-Built Backend: OTA Address Configuration

1 Project Background I deployed the open-source project XiaoZhi Backend Service (replacing the official service <span>https://xiaozhi.me</span>) in a Windows + WSL2 Ubuntu 22.04 environment using Docker. The deployment success log is as follows: Key Objective: To integrate the self-built service with the ESP32 smart voice hardware, achieving OTA (Over-The-Air) firmware updates and WebSocket communication. 2 … Read more

ESP32-BLE2MQTT: Seamlessly Connect Your BLE Devices to the IoT World

ESP32-BLE2MQTT: Seamlessly Connect Your BLE Devices to the IoT World

ESP32-BLE2MQTT is a powerful tool that seamlessly connects your BLE devices to the MQTT message queue, enabling convenient IoT data transmission and control. It is developed based on the ESP32 chip and built using ESP-IDF v5.2.1, providing a stable and reliable bridge for your IoT projects. The core features of ESP32-BLE2MQTT: 1. Bidirectional Communication: ESP32-BLE2MQTT … Read more

Ditch OkHttp and HttpClient: This Lightweight HTTP Client Framework is Incredibly Useful!

Ditch OkHttp and HttpClient: This Lightweight HTTP Client Framework is Incredibly Useful!

Using <span>OkHttp</span>, <span>HttpClient</span>, or <span>RestTemplate</span> to initiate <span>HTTP</span> requests directly in a <span>SpringBoot</span> project is cumbersome and inconvenient for unified management. Therefore, I recommend a lightweight HTTP client framework suitable for <span>SpringBoot</span> projects: <span>retrofit-spring-boot-starter</span>, which is very simple and convenient to use while providing many enhanced features. The project has currently been updated to version … Read more