The Importance of Using Watchdogs in Real-Time Operating Systems (RTOS)

The Importance of Using Watchdogs in Real-Time Operating Systems (RTOS)

Follow,Star public account, don’t miss out on exciting content Source: Segger Edited by: strongerHuang On January 25, 1994, the Clementine spacecraft was launched, a satellite by NASA used to test sensors and spacecraft components under long-term exposure to the space environment. Due to the lack of several watchdog codes, its mission was lost on May … Read more

Understanding RTOS Scheduling from a Bare-Metal Perspective

Understanding RTOS Scheduling from a Bare-Metal Perspective

Follow+Star Public Account Number, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | strongerHuang Many embedded developers start from bare-metal programming and then move to RTOS. This article shares the basic principles of RTOS scheduling. During the job-hunting season in March and April, here are some embedded-related positions to recommend: It’s normal … Read more

The Importance of Learning RTOS in Embedded Systems

The Importance of Learning RTOS in Embedded Systems

Follow andstar the public account so as not to miss wonderful content Editor: Huang Source: McTai Technology Readers have been asking questions about RTOS, such as:Should I learn RTOS now?What are the benefits of learning RTOS?Should my project run RTOS? ······ Other questions about RTOS essentially stem from insufficient understanding of RTOS and lack of … Read more

Where to Find MCU and RTOS Resources, Documentation, and Source Code?

Where to Find MCU and RTOS Resources, Documentation, and Source Code?

Follow+Star Public Number, don’t miss exciting content Author | strongerHuang WeChat Public Account | Embedded Column I’ve often seen some friends asking in the group chat: **Where to download materials,** documentation, and **source code?** Where to find materials, documentation, and source code? Many beginners like to search for materials, documentation, and source code on Baidu, … Read more

Understanding Hooks in RTOS Kernels

Understanding Hooks in RTOS Kernels

Follow+Star Public Number, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | strongerHuang Most operating systems on the market have a type of API function interface: HOOK functions (also known as hook functions). HOOK functions can be found in desktop operating systems like Windows, Linux, as well as real-time operating systems like … Read more

Implementing Message Communication in Dual-Core MCU with RTOS

Implementing Message Communication in Dual-Core MCU with RTOS

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Official Account | strongerHuang You may often see multi-core CPUs in mobile phones and computers, but multi-core microcontrollers are relatively rare. With the increase in demand and the advancement of technology, microcontrollers are no longer limited to single-core, thus, in recent years dual-core … Read more

Microsecond-Level Delay Solutions in RTOS

Microsecond-Level Delay Solutions in RTOS

Follow+Star Public Account Number, don’t miss the wonderful content Source | MultiMCU EDU Typically, the RTOS system tick is 1KHz, of course, there are cases of 100Hz or 10KHz. At 1KHz, the shortest system delay is 1ms, and in real-time control, there are situations that require microsecond (us) level delays. What should we do? There … Read more

Understanding Inter-Task Communication in RTOS

Understanding Inter-Task Communication in RTOS

Follow+Star PublicAccount, don’t miss out on exciting content Author | strongerHuang WeChat Official Account | strongerHuang I came across an interesting question: why do RTOS tasks not use global variables for inter-task communication when bare-metal code uses global variables? Those who have a deep understanding of RTOS principles, or have read RTOS source code should … Read more

Understanding Global Variable Issues in RTOS Tasks

Understanding Global Variable Issues in RTOS Tasks

This issue: A group friend asked a question in the group: In FreeRTOS, a high-priority task changed the value of a global variable, while a low-priority task was waiting in a loop for the value to change; why did the low-priority task not exit the loop and continue execution after the high-priority task changed the … Read more

Methods for RTOS Multi-Task Access to the Same UART

Methods for RTOS Multi-Task Access to the Same UART

Author | strongerHuang WeChat Official Account | Embedded Column In RTOS multi-task programming, it is common for multiple tasks to access the same hardware (such as UART, I2C, etc.). If not handled properly, it can lead to a “chaotic” situation. There are many methods to handle the “chaotic” situation. Below, based on FreeRTOS, I will … Read more