Embedded Field: The Ultimate Showdown Between Linux and RTOS!

Embedded Field: The Ultimate Showdown Between Linux and RTOS!

Hello everyone, I am the Mixed Cuisine Master. Currently, many embedded devices run on RTOS and Linux systems. So, what are the differences between the two? 1. Multi-faceted Comparison 1. Real-time Performance Real-time performance ensures that tasks are completed within a specific time frame. An important metric for measuring the robustness of a real-time operating … Read more

Common Issues with STM32-FreeRTOS Adaptation for LVGL

Common Issues with STM32-FreeRTOS Adaptation for LVGL

Introduction If you find reading text tiring, you can directly search for the account name “Embedded Crafter” (same on Bilibili / Douyin / Xiaohongshu), where the video combines explanations with practical operations, making it much more efficient than just reading the documentation. Heartbeat Function If you are using FreeRTOS configured with STM32Cubemx, you need to … Read more

FreeRTOS ‘Phantom Deadlock’! System Randomly Freezes Driving the Entire Team Crazy, Finally Resolved with Priority Inheritance + SystemView

FreeRTOS 'Phantom Deadlock'! System Randomly Freezes Driving the Entire Team Crazy, Finally Resolved with Priority Inheritance + SystemView

Intelligent Terminal Control System, “Mysterious Freeze” After Running for Several Hours We developed an intelligent gateway based on STM32 + FreeRTOS for a client, featuring: Multithreaded tasks: sensor data collection, CAN communication, UI refresh, log writing Using mutexes to protect shared resources (such as LCD, Flash, serial port) Priority design was reasonable (or so we … Read more

Task Scheduling in FreeRTOS – Context Switching

Task Scheduling in FreeRTOS - Context Switching

The previous article on FreeRTOS task scheduling – startup mentioned that the first task runs in an infinite loop mode. Clearly, having only one task running is not sufficient. So how does the running task yield control of the MCU to allow other tasks to run? One way is for the task to voluntarily yield … Read more

The Temptation of the Arduino Nano R4

The Temptation of the Arduino Nano R4

The Arduino Nano R4 was just released a few days ago (July 24), similar to the somewhat useless UNO R4, and it uses a 32-bit Renesas processor. Compared to the older R3 with the ATmega328P, its performance is significantly stronger. However, Arduino gives the impression that they are not very sincere; every upgrade feels like … Read more

Easily Porting the ThreadX Ecosystem Using STM32CubeMX

Easily Porting the ThreadX Ecosystem Using STM32CubeMX

STM32CubeMX 6.15.0: Easily Porting the ThreadX Ecosystem, Development Has Never Been So Smooth! 1. The version of STM32CubeMX used is 6.15.0 2. Declaration: This article takes STM32F407 as an example First, let’s take a look at which series are currently supported. We can see that the F series only supports F4 at a minimum, while … Read more

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

Index of FreeRTOS Tutorials

Index of FreeRTOS Tutorials

1. Design of FreeRTOS Task Data Structures This article discusses the basic unit of resource management in FreeRTOS – the task data structure, providing readers with a macro understanding of task (process) management in embedded operating systems. Medical Engineering Notes, WeChat Official Account: Medical Engineering Notes FreeRTOS Core Mechanism Analysis: Task Structure Design 2. FreeRTOS … 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

Chapter 28 of FreeRTOS: OTA Firmware Upgrade Design

Chapter 28 of FreeRTOS: OTA Firmware Upgrade Design

Table of Contents 1. Dual Bank Switching Mechanism 1.1 Basic Concepts 1.2 Implementation Plan 1.3 FreeRTOS Integration Points 2. Implementation of Security Verification Process 2.1 Verification Mechanism Design 2.2 Encryption Algorithm Selection 2.3 Tamper Protection 3. Practical Demonstration 3.1 Code Structure 3.2 Key Code Snippets Best Practice Recommendations 1. Dual Bank Switching Mechanism 1.1 Basic … Read more