Optimization of HTTPS Firmware Upgrade Transmission Rate for ESP32

Optimization of HTTPS Firmware Upgrade Transmission Rate for ESP32

During the firmware upgrade process of the ESP32, the HTTPS transmission rate often becomes a key factor limiting upgrade efficiency. Based on actual test data, traditional HTTPS upgrade methods exhibit the following typical issues: • Slow transmission rate: A 1MB firmware takes about 90 seconds • High memory usage: The SSL handshake and encryption/decryption processes … Read more

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

Resolving Firmware Version Incompatibility Errors When Downloading Programs to Siemens S7-1200 PLC

Resolving Firmware Version Incompatibility Errors When Downloading Programs to Siemens S7-1200 PLC

(Thank you for your likes and appreciation. If this article resonates with you, please “like” and “recommend” it. Thank you all!) Task Introduction The Siemens TIA Portal software fails to download the program to the PLC, displaying“Firmware version incompatible” error.This is usually caused by a mismatch between the firmware version configured in the project and … 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

Upgrading the Jiuxun K2 with OpenWRT: Expansion and Packet Capture

Upgrading the Jiuxun K2 with OpenWRT: Expansion and Packet Capture

Introduction: While organizing my room today, I discovered a long-forgotten Jiuxun K2. After my last major modification, it had been lying in the corner of my room. Seeing it again reminded me of some sad memories, so I decided to upgrade it. 1. Flashing OpenWRT Firmware Why choose OpenWRT? First, pre-packaged firmware from others can … Read more

Comprehensive Official Resources on STM32 IAP

Comprehensive Official Resources on STM32 IAP

ISP uses communication interfaces for programming, and the boot code is written by the manufacturer and cannot be changed. IAP (In-Application Programming) refers to the ability of an MCU to obtain new code and reprogram itself, allowing a program to change the program. In application programming (IAP), the user’s application code erases/programs the internal Flash … Read more

Seamless OTA Upgrade Functionality for MCUs

Seamless OTA Upgrade Functionality for MCUs

Source | Renesas Embedded Encyclopedia In industrial control, motor drives, and even IoT edge nodes, firmware over-the-air (OTA) upgrades have become a standard for product lifecycle management. However, traditional OTA often comes with downtime, risks, and inefficiencies. The Dual-Bank Flash architecture in Renesas MCUs provides engineers with an almost “zero-perception” upgrade experience. This article takes … Read more

Design Scheme of Bootloader for STM32

Design Scheme of Bootloader for STM32

ObjectiveThe purpose of this document is to develop a fully compatible bootloader based on the basic requirements for firmware upgrades (local upgrade via USB) for STM32.USB Upgrade Process  Detect if a USB drive is present during power-up;  If a USB drive is detected, check if there is an upgrade file with the corresponding … Read more

Mijia BLE Mesh (1.0) Device Development Guide

Mijia BLE Mesh (1.0) Device Development Guide

Mijia BLE Mesh devices are divided into version 1.0, which is based on the MHCB05P module, and version 2.0, which is based on the MHCB12G module. The main differences are that Mijia BLE Mesh 2.0 supports gateway remote upgrades, consistent scenes, second-level network configuration, ultra-low power consumption, and other capabilities, providing a better experience. However, … Read more