FreeRTOS Task Management

FreeRTOS Task Management

Task Management Single-task system for front and back ends Divide and conquer multi-task system FreeRTOS is a preemptive real-time multi-tasking system, where the core task scheduler allows multiple tasks to appear to execute “in parallel”, while in reality, only one task occupies the CPU at any given time. Tasks Task State • running • not … Read more

Mastering Linux Real-Time Performance: Building Real-Time Applications with PREEMPT_RT and Docker

Mastering Linux Real-Time Performance: Building Real-Time Applications with PREEMPT_RT and Docker

In today’s rapidly advancing digital age, the demand for real-time systems is becoming increasingly prominent. Whether for robotic control, audio development, or CNC applications, real-time performance is key to successfully implementing these functions. As a highly flexible and customizable operating system, Linux’s real-time capabilities are continuously improving. This article will delve into the implementation of … Read more

FreeRTOS Part 1: Introduction to Real-Time Operating Systems

FreeRTOS Part 1: Introduction to Real-Time Operating Systems

This article lays the foundation for Bob’s new series on the open-source FreeRTOS, where he introduces the history of early multitasking real-time operating systems (RTOS) that allowed multiple tasks to run “simultaneously.” He uses FreeRTOS as an example to explain how multitasking RTOS works and its basic components. In 2019, as the world prepared to … Read more

The Cornerstone of Embedded Real-Time Systems: Practical Design of ARM+Linux Interrupts

The Cornerstone of Embedded Real-Time Systems: Practical Design of ARM+Linux Interrupts

In today’s digital age, efficient computing is the core driving force behind technological development. The ARM and Linux interrupt systems serve as the key to unlocking this door to efficient computing. The ARM architecture, with its low power consumption and high performance characteristics, is widely used in various devices from smartphones to industrial control systems, … Read more

Detailed Explanation of Semaphores in Embedded Systems: Comparison and Selection of Common Semaphores

Detailed Explanation of Semaphores in Embedded Systems: Comparison and Selection of Common Semaphores

In embedded system development, semaphores are an important synchronization mechanism used to coordinate resource access among multiple tasks or threads. Through semaphores, developers can ensure the safe use of shared resources, avoiding issues such as race conditions and deadlocks. Today, we will discuss in detail the common types of semaphores in embedded operating systems and … Read more

Chapter Two – Fundamentals of Computer Systems (II) – Embedded Systems and Software

Embedded Systems and Software Illustration An embedded system is a dedicated computer system designed for specific applications, tightly integrating information processing and physical processes. Embedded systems are application-centric, based on computer systems, and integrate configurable and customizable software and hardware into a single dedicated computer system. Illustration The basic working principles of embedded systems Components … Read more

C++ and Embedded Linux: Building Efficient Real-Time Systems

C++ and Embedded Linux: Building Efficient Real-Time Systems

Hello everyone, I am Jiu Cai. Today we will discuss the use of C++ in building efficient real-time systems on Embedded Linux. This is a practical and interesting topic for C++ beginners and enthusiasts. We will explore the wonderful applications of smart pointers and how they can shine in Embedded Linux systems. The magic of … Read more

How FreeRTOS Achieves 100% Hard Real-Time Performance

How FreeRTOS Achieves 100% Hard Real-Time Performance

Click the above blue text to follow us Real-time systems are crucial in embedded applications, with the core focus on ensuring tasks are completed within specified time frames. Based on the strictness of deadline adherence, real-time systems are classified into hard real-time and soft real-time. Hard real-time systems require tasks to meet deadlines 100% of … 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

Running Qt on VxWorks: A Powerful Combination for Embedded Development

Running Qt on VxWorks: A Powerful Combination for Embedded Development

With the widespread application of embedded systems in industries such as aerospace, automotive, and industrial automation, developers are increasingly demanding high-performance real-time operating systems (RTOS) and modern graphical user interfaces (GUIs). VxWorks, as a mature RTOS, is known for its high reliability, low latency, and high security, while Qt is favored by embedded developers for … Read more