Design and Implementation of PCIe RP System Based on Cortex-M3 Core

Design and Implementation of PCIe RP System Based on Cortex-M3 Core

Title: Design and Implementation of PCIe RP System Based on Cortex-M3 Core XU Junjie, WEI Jinghe, LIU Guozhu, HE Jian, ZHANG Zheng (National Key Laboratory of Integrated Circuits and Microsystems) Abstract: The Peripheral Component Interconnect Express (PCIe) and Serial Rapid IO (SRIO) are mainstream high-speed communication interface protocols. In big data application scenarios represented by … Read more

Setting Up a Debugging Environment for ThreadX RTOS

Setting Up a Debugging Environment for ThreadX RTOS

Setting up a software debugging environment for Cortex-M3 based on QEMU in VSCode.1. Obtain the ThreadX source code https://github.com/eclipse-threadx/threadx 2. Install the compiler and QEMU emulator in WSL sudo apt update sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch sudo apt install qemu qemu-system-arm 3. Compilethe ports/cortex_m3/gnu exampleWrite shell build scripts b0.sh and b1.sh for the WSL … Read more

Embedded Reading Notes: The Definitive Guide to Cortex-M3 (Part II)

Embedded Reading Notes: The Definitive Guide to Cortex-M3 (Part II)

Reading Notes: The Definitive Guide to Cortex-M3 Note: The content of this article is excerpted from the “Definitive Guide to Cortex-M3”. The Cortex-M series is essential in embedded development, and this series will record the key points of knowledge focused on while reading the book. It is recommended to read the original book. Chapter 7: … Read more

Embedded Reading Notes: The Definitive Guide to Cortex-M3 (Part 1)

Embedded Reading Notes: The Definitive Guide to Cortex-M3 (Part 1)

Reading Notes: The Definitive Guide to Cortex-M3 Note: The content of this article is excerpted from the “Cortex-M3” definitive guide. The Cortex-M series is essential in embedded development, and this series will record the key points of knowledge focused on during reading, recommending the original book. The Cortex-M3 is a 32-bit processor core. Its internal … Read more

Detailed Explanation of the Cortex-M3 Embedded System Programming Model (Part 2)

Detailed Explanation of the Cortex-M3 Embedded System Programming Model (Part 2)

This is a further refinement of the Cortex-M3 programming model, covering more specific implementation details and key operations: 1. Refinement of Register Groups 1. Detailed Explanation of Special Registers CONTROL Register (32 bits, modifiable only at privileged level) Bit 0 (`nPRIV`): 0 = Privileged mode (can access all resources) 1 = Unprivileged mode (restricted access) … Read more

Detailed Explanation of the Cortex-M3 Embedded System Programming Model (Part 1)

Detailed Explanation of the Cortex-M3 Embedded System Programming Model (Part 1)

In embedded systems, Cortex-M3 is a 32 bit RISC processor core designed by ARM and is widely used in low-power, real-time applications (such as IoT, industrial control, etc.). Its programming model defines the architectural features, registers, memory access, exception handling mechanisms, and other aspects that developers need to understand. Below are the core contents of … Read more

Embedded Learning Day 2

Embedded Learning Day 2

The Cortex-M3 processor features general-purpose registers R0-R15 along with several special function registers. Registers R0-R12 are 32-bit general-purpose registers used for data operations. However, most 16-bit Thumb instructions can only use R0-R7 (the low register group), while 32-bit Thumb-2 instructions can access all general-purpose registers. The special function registers have predefined functions and must be … Read more

Qipuwei XL660x: Automotive Grade Microcontroller with ARM Cortex-M3 Core

Qipuwei XL660x: Automotive Grade Microcontroller with ARM Cortex-M3 Core

This is the automotive-grade microcontroller XL660x series from Shanghai Qipuwei Semiconductor Co., Ltd.: Company and Product: The XL660x series from Shanghai Qipuwei Semiconductor Co., Ltd. is a general-purpose automotive-grade microcontroller (MCU). Product Features Core and Frequency: Based on the ARM Cortex-M3 core, with a maximum frequency of 96MHz. Certification: Passed AEC-Q100 testing and obtained ISO26262 … Read more

Embedded Learning Day 1

Embedded Learning Day 1

Hello everyone, welcome to my Smart Space. Let’s embark on an immersive learning journey into embedded systems together. The Cortex-M3 is a 32-bit processor core with a 32-bit internal data path, 32-bit registers, and a 32-bit memory interface. The CM3 adopts a Harvard architecture, featuring separate instruction and data buses, allowing instruction fetching and data … Read more

Understanding Debugging in STM32 Development

Understanding Debugging in STM32 Development

When learning STM32 development, the step of DEBUG debugging is essential. This article will guide you through the knowledge related to debugging. Taking STM32F1 and Cortex-M3 as examples, the principles are similar for other series of chips or cores.01【Overview】 In STM32, there are many debugging components. Using them allows for various debugging functions, including breakpoints, … Read more