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

Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Three Implementations of Critical Section Protection in Cortex-M Bare Metal

Today, Pi Zi Heng will share with you the three implementations of critical section protection in Cortex-M bare metal. Those who have worked with embedded systems and RTOS are likely familiar with the function codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In RTOS, multi-tasking (process) handling often occurs, and in some situations, certain special operations (such as Flash … Read more

Yateli AT-START-F437 Evaluation Notes from 17 Engineers

Yateli AT-START-F437 Evaluation Notes from 17 Engineers

Yateli AT32 MCU Forum: https://bbs.21ic.com/iclist-224-1.html *Reading Instructions: The following application cases are briefly introduced without any particular order. For detailed evaluation content and relevant source code, materials, etc., please copy the original link to your browser to view. Evaluation One I2C Collection of MAX30102 Blood Oxygen Data https://bbs.21ic.com/icview-3279602-1-1.html I’ve had the development board for a … Read more

Eclipse ThreadX USBX: An Efficient and Reliable Embedded USB Stack

Eclipse ThreadX USBX: An Efficient and Reliable Embedded USB Stack

USB has become an indispensable interface in modern embedded systems, and choosing the right USB stack is crucial for project success. Eclipse ThreadX USBX, with its high performance, low resource consumption, and ease of use, has become the preferred choice for many embedded developers. 1. Overview of Eclipse ThreadX USBX: An Efficient and Reliable Embedded … Read more

A Simple and User-Friendly STM32 Embedded OS Kernel

A Simple and User-Friendly STM32 Embedded OS Kernel

Now, there are more and more embedded operating systems, such as the well-known uCOS, FreeRTOS, RT-Thread, etc. Each of these operating systems has its own characteristics:Which RTOS have you used in STM32 embedded development? This article will introduce a simple and user-friendly embedded operating system kernel – KLite. KLite Source Code Source code link:https://gitee.com/kerndev/klite The … Read more

Implementing Critical Section Protection in Cortex-M Bare Metal

Implementing Critical Section Protection in Cortex-M Bare Metal

Source | Pi Zi Heng Embedded Today, I will share with you three implementations of critical section protection in Cortex-M bare metal environments. Friends who have worked with embedded systems and RTOS are probably very familiar with the functionality codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In an RTOS, there are often multi-task (process) handling situations where certain … Read more

Advantages of Running RTOS on MCU Compared to Bare Metal

Advantages of Running RTOS on MCU Compared to Bare Metal

Follow+Star Public Account, don’t miss the wonderful content Compiled by | strongerHuang WeChat Official Account | Embedded Column Readers often ask questions about RTOS, such as:Should I learn RTOS now?What are the benefits of learning RTOS?Should my project run on RTOS? The root of these questions is actually a lack of understanding of RTOS and … Read more

CMSIS RTOS API: A Comprehensive Overview

CMSIS RTOS API: A Comprehensive Overview

Follow,Star Public Account, don’t miss the wonderful content Source: Mculover666 I previously shared content about CMSIS, such as: Detailed Content of Cortex-M Microcontroller Software Interface Standard CMSIS What is the relationship between CMSIS-DAP, J-Link, and ST-Link? Today, I will continue to share content about CMSIS organized by Mculover666. 1. CMSIS-RTOS API The CMSIS-RTOS API is … Read more

Considerations for RTOS Task Stack Allocation

Considerations for RTOS Task Stack Allocation

Follow+Star PublicAccount, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Some friends asked this question: Do I need to allocate a large stack for a task with a lot of code? Actually, it’s not that the more code there is, the more stack space needs to be allocated. It … Read more

Mutex Issues Between RTOS Tasks

Mutex Issues Between RTOS Tasks

When developing projects based on RTOS, we often encounter mutual exclusion situations, such as: multiple tasks needing to use a single UART port to send data. If mutex locks are not used, a higher priority task may preempt the UART and send data, potentially resulting in “garbled” data being sent. Today, we will discuss a … Read more