FreeRTOS Learning Notes (Part 9) — Task State Information and Runtime Statistics

FreeRTOS Learning Notes (Part 9) — Task State Information and Runtime Statistics

🎀 Article Author: Ertu Electronics 🌸 Follow the public account at the end of the article to obtain other materials and project files!🐸 Looking forward to learning and communicating together! @TOC 1. Related API Functions First, let’s understand some API functions for querying task state information and runtime statistics. There are many functions available. Task-related … Read more

Energy-Saving Software Development Based on FreeRTOS for Automotive Applications

Energy-Saving Software Development Based on FreeRTOS for Automotive Applications

This white paper’s text was produced by High Integrity Systems, with illustrations and text translation completed by the Edian team. For the original text link, please click the bottom left corner at the end of the document. Chapter 1 Introduction 1.1 How Does Software Affect Climate? The carbon footprint generated by software is rapidly increasing. … Read more

Characteristics of Commonly Used RTOS in Embedded Systems

Characteristics of Commonly Used RTOS in Embedded Systems

Follow+Star PublicAccount to not miss exciting content Author | strongerHuang WeChat Official Account | strongerHuang There are hundreds of RTOS available globally, but only about 10 are commonly used in the market.First, let me ask everyone, which RTOS do you use most frequently?Today, I will summarize some characteristics of commonly seen RTOS in the market.1.FreeRTOSOfficial … Read more

RT-Thread vs FreeRTOS: A Comparison of Real-Time Operating Systems

RT-Thread vs FreeRTOS: A Comparison of Real-Time Operating Systems

Scan to FollowLearn Embedded Systems Together, learn and grow together One of the main differences between RT-Thread and many other RTOS like FreeRTOS is that it is not just a real-time kernel, but also has a rich set of middleware components, as shown in the figure below. FreeRTOS and RT-Thread are two common embedded real-time … Read more

Building Safety-Critical Applications Based on FreeRTOS

Building Safety-Critical Applications Based on FreeRTOS

Chapter 1 Introduction FreeRTOS™ is a market-leading real-time operating system (RTOS) designed for microcontrollers and small microprocessors. FreeRTOS is released under the MIT open-source license and includes a kernel and a continuously expanding library suitable for all industry sectors. The design of FreeRTOS emphasizes reliability and ease of use. With increasingly stringent safety regulations in … Read more

RTOS Task Execution Order with Equal Priorities

RTOS Task Execution Order with Equal Priorities

RTOS Task Execution Order with Equal Priorities: This question has puzzled many beginners. Today, I will briefly describe it with examples. What is RTOS Task Priority? In an RTOS, each task is assigned a priority. Among all ready tasks, the task with a higher priority executes first. When we create a task, we need to … Read more

How to Solve the Priority Inversion Problem in RTOS?

How to Solve the Priority Inversion Problem in RTOS?

Hello everyone, I am the Intelligence Guy~ During the development of RTOS, you must have encountered the issue of priority inversion, where a low-priority task is preempted by a higher-priority task due to shared resource access. This contradicts the real-time performance of a preemptive kernel. The core of solving the priority inversion problem in RTOS … Read more

Common MCU and CPU Architectures, Development Methods, and Toolchains

Common MCU and CPU Architectures, Development Methods, and Toolchains

Hello everyone, are you still confused by various MCU and CPU architectures? Are you struggling with whether to use bare metal programming or an RTOS? Don’t worry, today I will guide you through the common MCU and CPU architectures, development methods, and toolchains in embedded systems from scratch, ensuring that you will understand it all … Read more

MCU CPU Utilization Statistics in Embedded Development

MCU CPU Utilization Statistics in Embedded Development

In FreeRTOS, CPU utilization statistics are an important feature that helps you understand the performance of tasks and the system. This chapter will explain how to evaluate CPU utilization in FreeRTOS. Let’s learn together. First, let’s discuss what CPU utilization is. CPU utilization refers to the CPU resources occupied by the programs running on the … Read more

Advanced Embedded Development: Performance Optimization, Kernel Analysis, Secure Build, and Architecture Design

Advanced Embedded Development: Performance Optimization, Kernel Analysis, Secure Build, and Architecture Design

Source | Embedded Miscellany Today, I will share some commonly applicable skills for advanced embedded software development. Embedded Performance Optimization Cheng Kefe in “Embedded System Design” points out that system-level optimization is key to enhancing the competitiveness of embedded software, which should be approached from three dimensions: code efficiency, resource utilization, and real-time performance. Embedded … Read more