Understanding Linker Files in Embedded Development

Understanding Linker Files in Embedded Development

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will discuss linker files in embedded development. In the previous lesson “Source Files (.c/.h/.s)”, I systematically introduced source files, which are typical input files in embedded projects. But are there other types of input files? Since I asked this question, the answer … Read more

Cortex-M MCU Learning Resources Organized by KEIL

Cortex-M MCU Learning Resources Organized by KEIL

The learning resources for Cortex-M core MCUs organized by KEIL are very detailed, and I am sharing them with everyone. (The comment feature has been enabled at the bottom of the article~~ You can express your suggestions and opinions, making communication more convenient! Thank you~~) Official Address: http://www2.keil.com/mdk5/learn/===================================For example, when we open the ST section:===================================Open … Read more

An Analysis of Cortex-M Stack Mechanism

An Analysis of Cortex-M Stack Mechanism

Hello everyone, I am Pi Zi Heng, a serious technical enthusiast. Today, I will introduce the ARM Cortex-M stack mechanism. This article is a technical document I wrote before 2016, and I have spent some time reorganizing the format. Previously, I discussed the “Principle of Stack in Embedded Systems”; this article serves as an engineering … Read more

Cortex-M System Interrupt Latency and Measurement Methods

Cortex-M System Interrupt Latency and Measurement Methods

Hello everyone, I am Pi Zi Heng, a serious technical person. Today, I will share with you the Cortex-M System Interrupt Latency and Measurement Methods. In the embedded field, real-time performance is a concept we often emphasize. Here, real-time performance mainly emphasizes whether the system can respond within a specified time frame when external events … Read more

Understanding Bit-Banding Operations in Cortex-M

Understanding Bit-Banding Operations in Cortex-M

Follow+Star Public Number, Don’t Miss Exciting Content Author | strongerHuang WeChat Official Account | Embedded Column Bit-banding operations may not be used as much nowadays, but in the past when MCU performance was not very good, bit-banding was a common operation for many software engineers. This article mainly discusses the Cortex-M3 core (STM32F1), which many … Read more

Understanding Cortex-M Interrupt Vector Table and Redirection Methods

Understanding Cortex-M Interrupt Vector Table and Redirection Methods

Hello everyone, I am Pi Zi Heng, a serious techie. Today, I will share with you the principles of the Cortex-M interrupt vector table and its redirection methods. Continuing from the previous article “Three Implementations of Critical Section Protection in Embedded Cortex-M Bare Metal Environment”, in embedded code design, sometimes certain special operations (such as … Read more

Five Tips to Accelerate Cortex-M MCU Debugging

Five Tips to Accelerate Cortex-M MCU Debugging

Introduction Debugging embedded software is one of my least favorite activities, but unfortunately, it is necessary. Fortunately, advancements in technology and toolchains have generated a wealth of new techniques that significantly accelerate the debugging process. Let’s take a look at some of these methods, from traditional breakpoint debugging to more advanced instrumentation tracing techniques. Tip … Read more

How to Run Super Download Algorithm on Different Cortex-M Cores?

How to Run Super Download Algorithm on Different Cortex-M Cores?

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will introduce you to Super Download Algorithm Development Notes (1) Execution on Different CM Cores. This article continues from the previous one titled RT-UFL – A Super Download Algorithm Design Suitable for All i.MXRT Platforms, and the open-source project initiated by Pi … Read more

How to Achieve High-Precision Keyword Recognition on Cortex-M Processors

How to Achieve High-Precision Keyword Recognition on Cortex-M Processors

[Image] We can optimize the neural network architecture to fit within the memory and computational constraints of microcontrollers without compromising accuracy. In this article, we will explain and explore the potential of depthwise separable convolutional neural networks for implementing keyword recognition on Cortex-M processors. Keyword recognition (KWS) is crucial for enabling voice-based user interaction on … Read more

Comparison of Cortex-M Processor Functional Modules

Comparison of Cortex-M Processor Functional Modules

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will introduce you to ARM Cortex-M Functional Modules. The ARM Cortex-M processor family has developed to date (2016) with five generations of products, namely CM0/CM0+, CM1, CM3, CM4, and CM7. 1. Cortex-M Compatibility Features To achieve software reuse in Cortex-M, ARM has … Read more