4 Questions to Understand the Startup Principles of MCUs

4 Questions to Understand the Startup Principles of MCUs

1. Where does the MCU read code when it first starts up?After the CPU is powered on, it is designed to read code from address 0x00000000; it first reads two words in succession, which are the initial value of the stack pointer and the address of the reset exception handler; then it jumps to execute … Read more

Boot Process Flow After Power-On for CPU | Based on RK3399

Boot Process Flow After Power-On for CPU | Based on RK3399

After the chip is powered on and reset, the first program executed is referred to as Bootrom loader within the chip. This part of the program is hardcoded into the internal ROM space of the chip during the manufacturing process, has read-only attributes, and cannot be modified during actual use. The intellectual property rights of … Read more

RK3399 Boot Modes and Partition Design in Embedded Linux Drivers

RK3399 Boot Modes and Partition Design in Embedded Linux Drivers

1. Analysis of RK3399 Boot Modes The boot process of RK3399 is divided into hardware initialization and software boot stages, with the core logic consisting of BootROM, SPL/U-Boot, and the kernel. 1. BootROM Stage (Hardware Initialization) Firmware: The unmodifiable code stored in the chip’s internal ROM, responsible for: Initializing the CPU core clock and DDR … Read more