Advanced Techniques for Setting Breakpoints in Keil Debugging

Advanced Techniques for Setting Breakpoints in Keil Debugging

Setting breakpoints is a very effective way to debug programs online. Combined with step-by-step debugging, it allows for quick problem identification. However, sometimes manually setting breakpoints can be inconvenient. For example, if you want to stop at the Nth iteration of a loop, you would have to keep clicking step run until the loop reaches … Read more

Key Concepts of SPI in AUTOSAR for Automotive Embedded Development

Key Concepts of SPI in AUTOSAR for Automotive Embedded Development

In AUTOSAR, the SPI module actually divides one SPI communication into many small segments for organization and management. This approach allows for flexible control and easy expansion. Thus, we introduce the following three levels:Channel → Job → Sequence. 1. Channel 👉 Channel is the smallest unit, which can be understood as **”a block of data … Read more

Quick Access to the Matter Protocol with ESP32: A 10-Minute Tutorial from Code Configuration to Device Control

Quick Access to the Matter Protocol with ESP32: A 10-Minute Tutorial from Code Configuration to Device Control

The following are the detailed steps for quickly accessing the Matter protocol with ESP32, covering environment setup, code configuration, compilation and flashing, and testing and validation, helping developers quickly implement Matter functionality on ESP32 devices: 1. Hardware Preparation •Recommended Development Boards: ○ESP32-S3-BOX: Integrated touchscreen and sensors, supports Matter over Wi-Fi. ○ESP32-WROOM-32: Basic model, requires an … Read more

The Volatile Keyword You Might Overlook in MCUs

The Volatile Keyword You Might Overlook in MCUs

Click 👆👆👆 the blue text Follow “Passion Embedded” In embedded development, especially in the development of microcontrollers like STM32, the <span>volatile</span> keyword is a very important concept. 1. Concept of the volatile Keyword <span>volatile</span> is a type modifier in C/C++ that tells the compiler: The variable may be modified unexpectedly (e.g., by hardware, interrupts, or … Read more

QP/C: An Event-Driven Framework Designed for Real-Time Embedded Systems

QP/C: An Event-Driven Framework Designed for Real-Time Embedded Systems

As an embedded developer, do you have a love-hate relationship with bare-metal programming? Are you overwhelmed by interrupts and questioning your life while writing state machines? Let’s get to know QP/C: a lightweight asynchronous event framework that transforms MCUs into “thinking” entities, allowing you to elegantly manage complex logic and say goodbye to “interrupt hell”! … Read more

Complete OTA Project for Renesas A4T1 (Without Data Flash Version)

Complete OTA Project for Renesas A4T1 (Without Data Flash Version)

Introduction Based on the overall plan: Renesas A4T1 standard OTA solution / reset functionBy adding file transfer functionality to the core project, all OTA tasks can be completed.This article is not difficult, but there is a lot of content and some pitfalls; it is a small comprehensive guide. File Transfer Host Key Points for C# … Read more

Embedded Development in C: When to Use the Volatile Keyword for Variables?

Embedded Development in C: When to Use the Volatile Keyword for Variables?

What is the volatile keyword? In embedded programming with C, the volatile keyword is very important. Its English meaning is “changeable”. Its main function is to inform the compiler that the value of the variable it modifies may change in ways that the compiler cannot predict during program execution. Therefore, the compiler cannot perform regular … Read more

Creating an AI Mini TV with the Lichuang Development Board: Chatting and Translation Features!

Creating an AI Mini TV with the Lichuang Development Board: Chatting and Translation Features!

Project Name:TV-Pro Dual Firmware Online Large Model Mini TV Project Author:Lichuang EDA Course Case Recommendation Introduction This is a multifunctionalAI Mini TV! It can serve as a desktop assistant and also be your travel companion~ Why do I say that? Because it can…… 01Features/Highlights”1 Chinese-English and English-ChineseTranslation, equipped with iFlytek translation, a great travel companion~ … Read more