The Ultimate Guide to VxWorks Programming

The Ultimate Guide to VxWorks Programming

🧭 Introduction VxWorks is a highly reliable real-time operating system (RTOS) designed for embedded systems. It is widely used in fields such as aerospace, automotive, industrial, and networking systems, where deterministic performance and robustness are critical. This blog post is a comprehensive guide to VxWorks programming. Whether you are new to the platform or transitioning … Read more

Resource Management in FreeRTOS

Resource Management in FreeRTOS

Scan to FollowLearn Embedded Together, learn and grow together The FreeRTOS introductory series aims to help beginners quickly get started and master the basic principles and usage of FreeRTOS while organizing knowledge. FreeRTOS Quick Start – Exploring the System FreeRTOS Official Chinese Website is Now Live FreeRTOS Coding Standards and Data Types FreeRTOS Quick Start … Read more

FreeRTOS – Event Groups Explained

FreeRTOS - Event Groups Explained

This article introduces <span>FreeRTOS</span> another synchronization mechanism for multitasking – Event Groups (<span>Event Group</span>). Unlike semaphores, event groups can achieve one-to-many and many-to-many synchronization. API Introduction API Function xEventGroupCreate( void ) Dynamically creates an event group and returns the handle of the newly created event group. configSUPPORT_DYNAMIC_ALLOCATION must be set to 1 in FreeRTOSConfig.h, or … Read more

A Step-by-Step Guide to Developing a Multitasking Project Based on FreeRTOS

A Step-by-Step Guide to Developing a Multitasking Project Based on FreeRTOS

Source | Embedded Software GuesthouseFreeRTOS is currently the most commonly used RTOS, yet many beginners find it difficult to get started. Today, we willprovide a step-by-step guide on how to develop a multitasking project based on FreeRTOS. 1. FreeRTOS Multitasking Basic Architecture 1.1 Overview of Task Model As a lightweight real-time operating system, FreeRTOS’s core … Read more

Implementing State Machine Design Pattern in C Language

Implementing State Machine Design Pattern in C Language

The state machine pattern is a behavioral pattern that effectively implements different state transition behaviors through polymorphism. Unfortunately, in embedded environments, it is often necessary to write pure C code, while also considering reentrancy and multitasking request transitions, making the implementation quite challenging. Recently, while reviewing an open-source system, I came across an implementation of … 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

Advanced Development of 51 Microcontroller (Part 1) – Microcontroller Programming Mindset

Advanced Development of 51 Microcontroller (Part 1) - Microcontroller Programming Mindset

Click the blue text above “Luomu Qingyun” to follow me! What mindset is required for microcontroller programming? It has been a long time since I updated my articles. This article was actually written a long time ago, but I only completed it today. I apologize for keeping those who are waiting for updates waiting! Looking … Read more

Fundamental Principles of Real-Time Operating Systems for Embedded Microcontrollers

Fundamental Principles of Real-Time Operating Systems for Embedded Microcontrollers

1. Program Execution Methods Polling System Refers to a method where all hardware is initialized first during program execution, followed by a main program that runs in an infinite loop, executing required functions in sequence. The polling system is a simple and reliable method, generally suitable for situations where tasks need to be executed in … 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