Why Most MCUs Use XIP to Execute Code?

Why Most MCUs Use XIP to Execute Code?

Click the above“Embedded Intelligence Bureau”, select“Top/Star” Embedded intelligence, delivered first-handHello everyone, I am the intelligence guy~Today I will share with you the technology and knowledge of XIP: 1. What is XIP XIP, short for eXecute In Place, translates to “Execute In Place” or “Execute On Chip”. It is a design feature of computer systems that … Read more

The ‘No Return’ Path of Self-Developed Bootloader for STM32: An OTA Push Turns 100,000 Online Devices into Bricks, Rescued by the Reserved ‘Dual Partition’ Scheme

The 'No Return' Path of Self-Developed Bootloader for STM32: An OTA Push Turns 100,000 Online Devices into Bricks, Rescued by the Reserved 'Dual Partition' Scheme

We were working on a smart streetlight control system, deploying over 100,000 terminals nationwide, with the core being the STM32F429. The system periodically receives OTA firmware updates via a 4G network, automatically rebooting after the upgrade, completely unnoticed by the users. The initial OTA tests went smoothly, and everyone gradually got used to the automatic … Read more

What is a Bootloader in Embedded Development? What is its Purpose?

What is a Bootloader in Embedded Development? What is its Purpose?

When it comes to bootloaders, many newcomers to embedded systems might find it a bit unfamiliar. What exactly is it? Simply put, it is the first program that runs when a device is powered on, acting as the “guide” for device startup. Whether it’s the smartphones and computers we use daily or the microcontrollers and … Read more

Development of Automotive Electronic ECU BootLoader Based on CAN Bus Communication for S12(X) Series MCU Independent NVM Driver Safe Bootloader

Development of Automotive Electronic ECU BootLoader Based on CAN Bus Communication for S12(X) Series MCU Independent NVM Driver Safe Bootloader

Abstract Introduction 1. CAN Bus and Automotive ECU Bootloader 2. On-chip NVM Resources of S12(X) Series MCU and Driver Development 2.1 Paging Mechanism of S12(X) Series MCU Memory and Introduction to S12G128 On-chip NVM Resources 2.2 Development of S12(X) On-chip NVM Driver 2.3 Detailed Explanation of S19 File 3. Bootloader Design Based on CAN Bus … 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

Differences Between MCU Development and ARM-Linux Development

Differences Between MCU Development and ARM-Linux Development

For ARM-Linux program development, it is mainly divided into three categories: application development, driver development, and system kernel development. Each type of software development has its own characteristics.Today, we will look at the differences between ARM-Linux development and MCU development, as well as the basic development environment for ARM-Linux.1. Differences Between ARM-Linux Application Development and … Read more

Detailed Method for Compiling the Renesas RZ/G2L Bootloader Separately

Detailed Method for Compiling the Renesas RZ/G2L Bootloader Separately

The RZ/G2L microprocessor is equipped with a Cortex®-A55 (1.2 GHz) CPU, a 16-bit DDR3L/DDR4 interface, a 3D graphics acceleration engine with Arm Mali-G31, and a video codec (H.264). Additionally, this microprocessor features a variety of interfaces such as camera input, display output, USB 2.0, and Gigabit Ethernet, making it particularly suitable for entry-level industrial human-machine … Read more

Getting Started with Embedded Linux: Core Concepts Explained

Getting Started with Embedded Linux: Core Concepts Explained

From routers to smart speakers and industrial controllers, the flexibility of Linux and the prevalence of low-cost processors have made it a paradise for developers. Even more astonishing is that in China, you can currently buy a development board capable of running Linux for less than 100 yuan, which is practically a steal. The goal … Read more

barebox: The New Favorite for Embedded Booting!

barebox: The New Favorite for Embedded Booting!

First Encounter with bareboxHey, I’ve been experimenting with embedded booting recently, and I was captivated by a project called barebox. It is not just a simple follower of U-Boot; it inherits the spirit of U-Boot while also drawing on the design philosophy of the Linux kernel. Written in C and managed with kbuild/Kconfig for configuration, … Read more

MCUboot Boot Modes Overview

MCUboot Boot Modes Overview

1. Overview of MCUboot MCUboot is an open-source, secure bootloader designed specifically for microcontrollers (MCUs). It was originally part of the Mynewt project and has since become the standard bootloader for RTOS such as Apache NuttX and Zephyr. MCUboot provides a secure firmware update mechanism and supports multiple boot modes, ensuring that the system can … Read more