Writing a Real-Time Embedded Operating System Kernel in C

Writing a Real-Time Embedded Operating System Kernel in C

Creating content is not easy, if convenient, please follow, thank you This article is based on a thorough review of authoritative literature and materials, forming professional and reliable content. All data in the full text can be referenced and traced back. Special note: Data and materials have been authorized. This article does not involve any … Read more

Advantages of Running RTOS on MCU Compared to Bare Metal

Advantages of Running RTOS on MCU Compared to Bare Metal

Follow+Star Public Account, don’t miss the wonderful content Compiled by | strongerHuang WeChat Official Account | Embedded Column Readers often ask questions about RTOS, such as:Should I learn RTOS now?What are the benefits of learning RTOS?Should my project run on RTOS? The root of these questions is actually a lack of understanding of RTOS and … Read more

How to Learn an Embedded System?

How to Learn an Embedded System?

This is a document I found online, where the author’s goal is to design a simple embedded operating system that implements a basic task scheduler. As the author mentioned, although it cannot be called an operating system, it embodies the essence of a small embedded operating system. This serves as excellent learning material for us, … Read more

FreeRTOS Task States and Switching: A Comprehensive Guide

FreeRTOS Task States and Switching: A Comprehensive Guide

EEWORLD Electronic News Sharp Interpretation Technical Dry Goods Updated Daily Recommended by: cruelfox If you are also willing to become an EEWorld WeChat Recommender, please participate: EEWorld WeChat is in your hands, recommend casually to earn red envelopes! FreeRTOS tasks have the following states: Running Running Ready Ready Blocked Blocked Suspended Suspended Except for the … Read more

Designing Embedded Software Architecture: Task Scheduling

Designing Embedded Software Architecture: Task Scheduling

WeChat Official Account: Follow Orange Crazy Embedded to learn more practical skills in embedded programming. If you have any questions or suggestions, please leave a message on the official account; If you find this article helpful, feel free to like and follow. 1. Introduction In the process of embedded MCU software development, the architecture of … Read more

Creating a Microsecond Resolution Task Scheduling Solution in ThreadX

Creating a Microsecond Resolution Task Scheduling Solution in ThreadX

Explanation:1. In general applications, we usually set the task RTOS system clock tick (heartbeat) to 1ms, but if we directly set the RTOS system clock tick to 1us, the system burden is very high, and many RTOS cannot switch tasks every 1us at a 100MHz main frequency, resulting in the RTOS not having time to … Read more

Understanding the Causes of FreeRTOS Task Scheduling Failures

Understanding the Causes of FreeRTOS Task Scheduling Failures

Recently, a friend and I discussed some strange aspects of the FreeRTOS code generated by STM32CubeMX. void LED01Tog(void const * argument){ /* USER CODE BEGIN LED01Tog */ /* Infinite loop */ for(;;) { HAL_GPIO_TogglePin(GPIOF,GPIO_PIN_10); osDelay(500); } /* USER CODE END LED01Tog */} We added two LED toggle functions, compiled our code, and found that the … Read more

Introduction to FreeRTOS Tasks

Introduction to FreeRTOS Tasks

1. Uses of FreeRTOS FreeRTOS is generally used in hardware designs where there are certain limitations on RAM size (cost, resources, performance-to-power ratio, etc.). It is one of the most widely used real-time operating systems today. Choosing FreeRTOS for project applications generally considers the following aspects: Real-time (time constraints): Like most RTOS, at each clock … Read more

The Importance of Learning RTOS in Embedded Systems

The Importance of Learning RTOS in Embedded Systems

Follow andstar the public account so as not to miss wonderful content Editor: Huang Source: McTai Technology Readers have been asking questions about RTOS, such as:Should I learn RTOS now?What are the benefits of learning RTOS?Should my project run RTOS? ······ Other questions about RTOS essentially stem from insufficient understanding of RTOS and lack of … Read more

Understanding RTOS Scheduling from a Bare-Metal Perspective

Understanding RTOS Scheduling from a Bare-Metal Perspective

Follow+Star Public Account Number, don’t miss the wonderful content Author | strongerHuang WeChat Public Account | strongerHuang Many embedded developers start from bare-metal programming and then move to RTOS. This article shares the basic principles of RTOS scheduling. During the job-hunting season in March and April, here are some embedded-related positions to recommend: It’s normal … Read more