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