SiFive Launches Advanced Trace and Debug Toolkit – SiFive Insight

SiFive Launches Advanced Trace and Debug Toolkit - SiFive Insight

SiFive Launches Advanced Trace and Debug Toolkit – SiFive Insight This toolkit helps users access, observe, and control processor development in real-time, thus accelerating time-to-market for chips. Recently, SiFive, a leading provider of commercial RISC-V processor IP and silicon solutions, announced the launch of SiFive Insight. SiFive Insight is a toolkit that enables faster chip … Read more

Chip DFX: Coresight Architecture

Chip DFX: Coresight Architecture

Click the blue text above Tansy Laboratory To get more automotive cybersecurity news Perface Recently, I came across some testing materials from the production line and discovered some DFX related content. While organizing the panorama of the entire security field, debugging security was also mentioned. For various reasons, I decided to learn about DFX related … Read more

Embedded Software Interview – Peripheral Section: 5-MCU Code Debugging

Embedded Software Interview - Peripheral Section: 5-MCU Code Debugging

When the MCU code crashes, first determine whether the current stack being used is the MSP (Main Stack) or the PSP (Process Stack). After an exception occurs, the stack order of the ARM core is as follows: R0-> R1->R2->R3->R12->LR->PC->XPSR The LR (R14) register is the link register, which stores the exception return value EXC_RETURN where … Read more

CmBacktrace: An Open Source Error Tracking Library for ARM Cortex-M Microcontrollers

CmBacktrace: An Open Source Error Tracking Library for ARM Cortex-M Microcontrollers

What is CmBacktrace Let’s break down the name: Cortex Microcontroller Backtrace, sounds impressive. In simple terms, it is an open-source error tracking library specifically designed for ARM Cortex-M microcontrollers, capable of automatically capturing fault causes in various “crash” scenarios such as assertions (assert), hard faults (HardFault), memory management faults, bus faults, and usage faults. It … Read more

Method for Analyzing Backtrace Information of ESP32 Crash

Method for Analyzing Backtrace Information of ESP32 Crash

Recently, after upgrading the ESP32 firmware to LVGL 9.2.2 + MicroPython 1.25, previously functioning code began to experience crashes and restarts. At this point, the following error message can be seen: A fatal error occurred. The crash dump printed below may be used to help determine what caused it. If you are not already running … Read more

Tutorial: ARM Cortex-M Series MCU Error Tracking Library CmBacktrace: Simplifying Fault Diagnosis

Tutorial: ARM Cortex-M Series MCU Error Tracking Library CmBacktrace: Simplifying Fault Diagnosis

CmBacktrace Fault Diagnosis In the world of embedded development, ARM Cortex-M series microcontrollers are widely used in various embedded systems due to their high performance and low power consumption. However, as system complexity increases, developers often feel helpless when facing issues like “Hard Faults.” Quickly locating and resolving these errors has become a significant challenge … Read more

How to Locate HardFault in FreeRTOS?

How to Locate HardFault in FreeRTOS?

Source: WeChat Official Account 【Osprey Talks Microcontrollers】 Author: Osprey ID: emOsprey Hello everyone, I am Osprey. Due to some circumstances, this update is a bit late. However, I still strive for everyone to learn some practical technology from the Osprey official account each time, enhancing their core competitiveness. Thank you all for your continued support … Read more

Experience Sharing on Using ARM Cortex-M Series MCU Error Code Automatic Tracking Library

Experience Sharing on Using ARM Cortex-M Series MCU Error Code Automatic Tracking Library

Have you encountered the HardFault issue while using STM32? I was troubled by this issue for a long time, and here’s a brief summary of it. Phenomenon restoration: During simulation debugging in debug mode, when running at full speed and then stopping, the program jumps to the HardFault_Handler function, resulting in a HardFault, which is … Read more