Understanding and Redirecting the Cortex-M Interrupt Vector Table

Understanding and Redirecting the Cortex-M Interrupt Vector Table

Click the card below to follow Arm Technology Academy This article is authorized to be reproduced from the WeChat official account Pi Zi Heng Embedded. Using the NXP i.MXRT1170 model as an example, this article introduces the method of redirecting the interrupt vector table. In embedded code design, sometimes certain special operations (such as Flash … Read more

In-depth Analysis of CMSIS-NN Neural Network Inference Library for ARM Cortex-M Series Chips

In-depth Analysis of CMSIS-NN Neural Network Inference Library for ARM Cortex-M Series Chips

CMSIS_NN Overview Paper Title: “CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUs”, 2018 Organization: ARM 0. Introduction CMSIS-NN is a neural network inference library for ARM Cortex-M series chips, designed for deploying neural networks on low-performance chips/architectures. 1. Convolution and Matrix Multiplication Using the 16-bit multiply-accumulate SIMD instruction, SMLAD. 1.1 __SXTB16 Data Extension Most … Read more

Simplifying ARM Cortex-M Microcontroller Development with pyOCD

Simplifying ARM Cortex-M Microcontroller Development with pyOCD

Simplifying ARM Cortex-M Microcontroller Development with pyOCD In embedded development, the choice of debugging and programming tools significantly impacts development efficiency. Today, I would like to introduce a powerful and easy-to-use open-source tool – pyOCD. It is specifically designed for programming and debugging ARM Cortex-M series microcontrollers, supporting multiple platforms to make the development process … Read more

Key CoreSight Technology in Cortex-M Debugging: Are You Using It Effectively?

Key CoreSight Technology in Cortex-M Debugging: Are You Using It Effectively?

Today, many Cortex-M processors can be debugged so conveniently due to the CoreSight technology based on Arm Cortex-M processor devices, which introduces powerful new debug and trace functionalities. Let us focus on the debugging and tracing related content in CoreSight. strongerHuang 1 Debugging and Tracing Functions The two main functions of CoreSight are debugging and … Read more

Precise Delay Method in Cortex-M Kernel (ns Level)

This article introduces a precise delay method in the Cortex-M kernel. Introduction Why learn this delay method? Many times when we run an operating system, we generally occupy a hardware timer – SysTick, and the clock tick of our operating system is generally set to 100-1000HZ, which means an interrupt occurs every 1ms – 10ms. … Read more

Understanding the Debugging Interfaces of STM32 Cortex-M Cores

Understanding the Debugging Interfaces of STM32 Cortex-M Cores

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column When learning MCU development, debugging is definitely an essential step. This article discusses the debugging interfaces related knowledge using STM32F1 and Cortex-M3 as examples (the principles are similar for other series chips/cores). 1 Overview In STM32, there … Read more

Enhancing System Robustness with FreeRTOS MPU

Enhancing System Robustness with FreeRTOS MPU

The MPU (Memory Protection Unit) is an optional module in the Cortex-M core, allowing memory mapping (including Flash, RAM, and peripherals) to be divided into several regions, each assigned different access permissions. FreeRTOS-MPU is a secure version of FreeRTOS designed for MPU, supporting microcontrollers with ARMv7-M (Cortex-M3, Cortex-M4, and Cortex-M7) and ARMv8-M (Cortex-M23 and Cortex-M33) … Read more

Analyzing the Reset Startup Process of ARM Cortex-M Core

Analyzing the Reset Startup Process of ARM Cortex-M Core

The reset startup process of the ARM Cortex-M core is also known as the reset sequence. Below is a brief summary and analysis of this process. The reset startup process of the ARM Cortex-M core is different from most other CPUs and also differs from previous ARM architectures (such as ARM920T, ARM7TDMI, etc.). Most CPUs … Read more

At-RTOS: An Efficient Real-Time Operating System for ARM Cortex M Series

At-RTOS: An Efficient Real-Time Operating System for ARM Cortex M Series

Introduction to At-RTOS At-RTOS is a user-friendly real-time operating system designed for embedded controllers specifically for the ARM Cortex M series architecture. The goal of this project is to provide many useful interfaces through RTOS, supporting and simplifying embedded firmware development. Features of At-RTOS 1. Support for ARM Cortex M Series Architecture: At-RTOS is designed … Read more