Advanced Cross-Compilation: The -mcpu Option Boosts Program Performance with ARM Cortex Practical Cases

Hello everyone, I am a programmer who loves to share. I am happy to share my experiences and insights from my work. -begin- Day 1: The -mcpu Option of Cross Toolchains – “Tailoring” the Instruction Set for Target CPUs In embedded development, advanced options of cross toolchains (such as arm-linux-gnueabihf-gcc) can make the compiled programs … Read more

Overview and Comparison of ARM Processors

ARM processors are at the core of current mobile computing, embedded systems, and IoT devices. The ARM processor family is vast and is divided into three main core series based on application scenarios and performance requirements: Cortex-A (high-performance application processors), Cortex-R (high real-time processors), and Cortex-M (low-power microcontrollers). The following is a detailed analysis from … Read more

FreeRTOS Source Code Analysis: Task Startup and Switching

FreeRTOS Source Code Analysis – Task Startup and Switching In the previous article, “Embedded Operating Systems: FreeRTOS Source Code Analysis Part Two – Task Creation,” we analyzed how tasks are created and added to the linked list. Now, we return to SVC 0, and after calling this statement, the first task will officially start.In this … Read more

Cortex-M0 and M3 Cores: Architecture, Instruction Set, and Key Differences

The ARM Cortex-M series cores (M0, M0+, M3, M4, M7, M23, M33, M55, etc.) are based on the ARMv6-M or ARMv7-M or ARMv8-M architectures. They share a core 32-bit RISC design philosophy and the Thumb/Thumb-2 instruction set foundation, but there are significant differences in the supported instruction subsets, performance, features, and extensions.Different cores typically correspond … Read more

Do You Know the Differences Between ARM Cortex-A, Cortex-R, and Cortex-M?

1. Overview In the article “CPU Architecture,” we introduced the three major families of instruction set architectures: <span>x86 family</span>, <span>ARM family</span>, and <span>RISC-V</span>. Did you know that the ARM instruction set also includes three different series: <span>Cortex-A</span>, <span>Cortex-R</span>, and <span>Cortex-M</span>? Are you aware of the differences and relationships between these three series of processor cores? … Read more

Introduction to the Cortex Series Processors

“The ARM Cortex series is at the core of embedded processors, categorized into three main types: A, R, and M. The A series focuses on high performance, suitable for complex systems; the R series excels in real-time reliability, serving safety-critical scenarios; and the M series emphasizes low power consumption, empowering IoT devices. .“ 01 — … Read more

What Exactly Are Cortex, ARM Cores, ARM Architecture, ARM Instruction Set, and SoC?

What Exactly Are Cortex, ARM Cores, ARM Architecture, ARM Instruction Set, and SoC?

Introduction: Some fans have asked me what ARM is, and they are confused about the relationships between concepts like Cortex, ARM cores, ARM architecture, ARM instruction set, and SoC. Below, I will organize some concepts related to ARM for everyone. 1. ARM can be considered as the name of a company, a general term for … Read more

Learning Integrated Circuits: What is SWD Serial Wire Debugging

Learning Integrated Circuits: What is SWD Serial Wire Debugging

SWD: Serial Wire Debug SWD (Serial Wire Debug) is one of the two debugging ports currently supported by ARM (the other being the JTAG Debug Port). SWD reads and writes the chip’s registers by transmitting data packets, serving as a two-wire protocol for accessing the ARM debugging interface, and is part of the ARM Debug … Read more

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

Will Arm Abandon the Cortex Naming?

Will Arm Abandon the Cortex Naming?

Follow+Star Public Account Number, don’t miss out on exciting contentAuthor | strongerHuangWeChat Public Account | Embedded ColumnAccording to media reports:Arm officially cancels the Cortex naming!Arm will undergo a strategic adjustment to reshape its brand, deciding to abandon the nearly 20-year-old Cortex brand in favor of a more segmented naming system to address the diverse needs … Read more