Why Use MPU in RTOS Systems?

First, let me clarify that MPU has many meanings, and there are two common ones:

  • MPU:Memory Protection Unit;
  • MPU:Microprocessor Unit;

Additionally, some may associate it with modules like MPU-6050. So, please do not confuse MPU.

Why Use MPU?

If you develop embedded projects that suffer significant economic losses or major accidents due to memory overflow or memory faults, you will understand why a Memory Protection Unit (MPU) is necessary.

Using an MPU in embedded systems can help detect memory-related bugs early in development, saving more time.

Moreover,

Is RTOS Functional Safety Certification Necessary?

In business, "must" represents the minimum requirements for market participation. Today, there are over a hundred open-source and commercial RTOS in the embedded market, most of which lack functional safety certification. Given this, it is clear that RTOS functional safety certification is not yet a "must" today, but perhaps it should be.

Is RTOS Functional Safety Certification Necessary?

RTOS is the foundation of embedded devices, and all application code relies on RTOS for execution. RTOS is like the foundation of

Low Power Design Strategies in RTOS Environments

Do you all know if anyone has ever worked on low-power products?
Low-power products may seem simple, but to create a good low-power product, especially achieving ultra-low power, is relatively more challenging.
Today, we will discuss the design strategies for low power in RTOS environments.

Preface: Programming Mindset

The design of embedded products is diverse and customizable, often requiring a combination of needs to achieve hardware and software design.
Perhaps the software architecture you write can be reused in "similar" products, but if the span

Is FreeRTOS Dynamically Allocated Memory?

Follow+Star PublicNumber, don’t miss the wonderful content

Is FreeRTOS Dynamically Allocated Memory?

Author | strongerHuang

WeChat Public Account | Embedded Column

Some readers might ask: Can FreeRTOS create tasks and delete tasks? Is it dynamically allocated memory?
xTaskCreate(LED_Task, "LED_Task", 128, NULL, 6, NULL);

If we want to elaborate on this question, there are many related knowledge points involved. Below are a few important related contents to answer this question.

Static and Dynamic Memory Allocation

Memory allocation is generally divided into: static and dynamic allocation.

1. Static

Differences and Similarities Between RTOS and Linux

关注+星标公众号,不错过精彩内容

作者 | strongerHuang
公众号 | strongerHuang

Many embedded developers have such doubts: What is the difference between RTOS and Linux?
RTOS: Real-Time Operating System, refers to an operating system that can accept and process external events or data at a fast enough speed when they occur, and the results of the processing can control the production process or respond quickly to the processing system within a specified time, scheduling all available resources to complete real-time tasks, and controlling all real-time tasks to

Mastering FreeRTOS: A Comprehensive Guide to Doubly Linked Lists

Abstract: Today, we will discuss the doubly linked list by combining the source code of FreeRTOS's linked list. Note: A linked list item is a node, and a node is a linked list item; they refer to the same thing, and it doesn't matter what you call it.

1. Defining the Linked List Structure

// Define the linked list, which is also the head of the linked list
typedef struct xLIST
{  
    volatile unsigned   int uxNumberOfItems;					

Understanding Embedded System Architecture in One Article

“工控有得聊”是机械工业出版社“机工工控”“机工通信”品牌旗下专业资讯和服务平台,致力于帮助读者在电气、通信、自动化领域里,紧跟前沿资讯,掌握核心技术,快速提升专业素养。点击蓝色微信名可快速关注我们!



If you aspire to become a modern embedded systems engineer, you need to determine the system architecture at the beginning of all projects.The system architecture includes two aspects: hardware and software.The hardware part not only determines the complexity and cost of the system but also affects how the subsequent software logic is implemented.Moreover, once determined, it is often difficult to change during the project process.If the architecture needs to be modified, it often leads to significant delays and cost

Understanding the Differences Between Linux and RTOS

Follow+Star Public Account Number, don’t miss out on exciting content

Understanding the Differences Between Linux and RTOS

Author | arvin
Source | CSDN (ID: CSDNnews)

Do you know which operating system is the most popular in the world? It is Linux! It generally runs on servers and supercomputers, and the millions of servers behind the websites we access daily are likely running Linux. In this article, we will learn what Linux is, where it comes from, commonly used Linux knowledge, and the

Is It Meaningful to Run RTOS on 51 Microcontrollers?

Follow+Star Public Account Number, Don’t miss wonderful content

Is It Meaningful to Run RTOS on 51 Microcontrollers?

Author | strongerHuang

WeChat Official Account | Embedded Column

Recently, I saw a discussion in my technical group about a question: Is it meaningful to run RTOS on 51 microcontrollers?
Today, I will talk about 51 and RTOS.

1About 51 Microcontrollers and Their Performance and Resources

The 51 microcontroller can be said to be a classic for our generation, as it has limited resources and is relatively simple,

Understanding and Utilizing Hook Functions in RTOS

In many operating systems, there exists a type of API function interface called: HOOK functions.

For example, HOOK functions can be found in desktop operating systems like Windows, as well as in real-time operating systems such as µC/OS and FreeRTOS.

Let’s discuss HOOK functions in the context of µC/OS, including what they are and their uses.

What are Hook Functions?

Hook functions, also known as HOOK functions, are functions that are called internally by the operating system.

If HOOKs are enabled, the operating system will

Product has been added to your cart