Design Framework for Thread Prioritization in Embedded Systems

Design Framework for Thread Prioritization in Embedded Systems

Abstract Real-Time Operating Systems (RTOS) and Operating Systems (OS) both provide the capability to set thread priorities. We assign a unique priority to each thread based on the software functional architecture, thereby creating a hierarchy of threads within the system. However, this principle of assigning unique priorities can lead to issues, as assigning a unique … Read more

Fundamentals of Real-Time Operating System Programming in C

Fundamentals of Real-Time Operating System Programming in C

In the field of embedded systems and industrial control, the concept of a Real-Time Operating System (RTOS) is very important. They ensure that tasks are completed within a specific time frame, thus meeting strict timing requirements. This article will introduce the fundamentals of RTOS programming in C and provide code examples to help readers understand. … Read more

Introduction to FreeRTOS: Detailed Explanation and Practical Applications of Queues

Introduction to FreeRTOS: Detailed Explanation and Practical Applications of Queues

After publishing “Introduction to FreeRTOS – Queues (1)”, some students reported that they found it difficult to understand. This article builds upon the foundation laid in “Introduction to FreeRTOS – Queues (1)” and provides further explanations and insights into the concept of queues in FreeRTOS, incorporating some personal interpretations and views. Detailed Explanation and Practical … Read more

Embedded RTOS — What is a Real-Time Operating System

Embedded RTOS — What is a Real-Time Operating System

Based onDr. Miro Samek‘s Modern Embedded Systems Programming Course Content of Section 22, this article summarizes the key points — the concept of Real-Time Operating Systems (RTOS). Here, RTOS specifically refers to the real-time kernel (Real-Time Kernel) part of RTOS, which is responsible for multitasking scheduling. It does not include components such as hardware abstraction … Read more

Comparative Analysis of FreeRTOS, Zephyr, ThreadX, and Mbed OS

Comparative Analysis of FreeRTOS, Zephyr, ThreadX, and Mbed OS

Introduction: Why the Choice of RTOS Can Be a Game Changer Choosing an RTOS (Real-Time Operating System) is one of the most strategic decisions in embedded product development. It determines how devices handle tasks, respond to events, and the reliability of cross-platform scalability. With the increasing diversity of connected devices (from low-power wearables to complex … Read more

VxWorks: A Journey of Innovation

VxWorks: A Journey of Innovation

VxWorks: A Journey of Innovation From ensuring the safety of life-support devices to guiding spacecraft for interstellar exploration, Real-Time Operating Systems (RTOS) form the core foundation of modern embedded systems. In this field, Wind River’s VxWorks has consistently led the wave of innovation, continuously adapting to the increasingly complex and diverse industry demands. Outstanding Performance, … Read more

FreeRTOS Part Four: Inter-Process Communication

FreeRTOS Part Four: Inter-Process Communication

We continue Bob’s open-source FreeRTOS series articles. One of the core elements of an RTOS is the rich Inter-Process Communication (IPC) API. In this fourth part, Bob will introduce the IPC available in FreeRTOS and compare it with Linux. One of the concepts that has had the greatest impact on my career as an embedded … Read more

FreeRTOS Part Six: Security

FreeRTOS Part Six: Security

Bob continues his open-source FreeRTOS series. In this sixth part, he will explore security issues and preventive measures when using FreeRTOS. A few years ago, before the advent of the internet, I consulted a friend working at Bell Labs about network security issues. At that time, Bell Telephone Company enjoyed a government-sanctioned monopoly over the … Read more

Principle of Inter-Core Communication Between STM32H7 Using FreeRTOS Message Buffers

Principle of Inter-Core Communication Between STM32H7 Using FreeRTOS Message Buffers

Follow and star our public account to not miss exciting content Source: FreeRTOS Edited by: strongerHuang FreeRTOS version 10.3.1 has been released, and the official website has also been updated (everyone can take a look). Today, I will share with you: using FreeRTOS message buffers to achieve simple asymmetric multi-processing (AMP) core-to-core communication (STM32H7 dual-core … Read more

FreeRTOS Scheduling Algorithms

FreeRTOS Scheduling Algorithms

Scheduling Algorithms The core point of FreeRTOS is how to determine which ready task can be switched to the running state, based on when and how a task is selected for execution. Priority-based preemptive scheduling can be further divided into time-slicing and non-time-slicing. Cooperative Review Points • The running task is in the Running state; … Read more