A Comprehensive Guide to FreeRTOS Programming Methods

A Comprehensive Guide to FreeRTOS Programming Methods

Click on the blue text above to follow us. If you are interested, please check out the detailed FreeRTOS series column articles on CSDN. Among the current RTOS, there are mainly two popular programming methods. Next, I will explain these two programming methods through pseudo-code. 1 Initialize hardware and RTOS in the main function, create … Read more

Implementing Hardware and Software Watchdog Monitoring for Multitasking with STM32 and FreeRTOS

Implementing Hardware and Software Watchdog Monitoring for Multitasking with STM32 and FreeRTOS

Follow+Public Account Star, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column This is an old article, someone in the technical group was discussing this issue, so I am here to share it today. We all know the purpose of the hardware watchdog:it is used to monitor the system, prevent system … Read more

Understanding FreeRTOS Stack Management: A Comprehensive Guide

Understanding FreeRTOS Stack Management: A Comprehensive Guide

Previous Article: Understanding FreeRTOS Application Scenarios In this article, the term “stack” refers to the memory area accessed by the computer (including MCU) processor through the stack pointer register. Common access methods include Push/Pop, as well as indirect addressing based on the stack pointer register. Let’s first review how local variables are stored in C … Read more

Five Embedded Operating Systems You Must Know for Learning STM32

Five Embedded Operating Systems You Must Know for Learning STM32

Good news: New Year sale! The 2017 collection of “Microcontroller and Embedded System Applications” electronic journals is only 29.9! Welcome to the Embedded Fan Mall to purchase~ There are five operating systems based on the STM platform that meet real-time control requirements available for porting: μClinux, μC/OS-II, eCos, FreeRTOS, and RT-Thread. Below, we will introduce … Read more

Optimal Stack Size for RTOS Task Allocation

Optimal Stack Size for RTOS Task Allocation

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | strongerHuang Many students have such doubts: How much stack space should I allocate when creating a task? If one of my tasks has a larger code size, should I allocate more stack space? Below, I will describe the relevant … Read more

A Beginner’s Guide to Embedded Operating Systems: Master the Core of Embedded Systems

A Beginner's Guide to Embedded Operating Systems: Master the Core of Embedded Systems

Today, I would like to share a technical article:How to Get Started with Embedded Operating Systems! What is an Embedded Operating System? An Embedded Operating System (RTOS) is an operating system specifically designed for embedded systems, characterized by real-time capabilities, limited resources, and high reliability. Common RTOS examples include FreeRTOS, VxWorks, etc. 1) Characteristics of … Read more

How to Locate HardFault in FreeRTOS

How to Locate HardFault in FreeRTOS

Source: Official WeChat Account 【Osprey Talks Microcontrollers】 Author: Osprey ID :emOsprey Hello everyone, I am Osprey. Due to some matters, this update is a bit late. But I still strive for everyone to learn some practical technology from Osprey’s official account every time, improving their core competitiveness. Thank you all for your continued support of … Read more

Getting Started with FreeRTOS for Embedded Development

Getting Started with FreeRTOS for Embedded Development

Typically, microcontrollers are developed in a bare-metal mode, where a single while loop runs indefinitely. However, when there are multiple tasks to manage that need to switch back and forth rather than executing in a serial mode, an operating system must be assigned to the microcontroller. Common operating systems used for microcontrollers include UCOS, RTX, … Read more

Understanding FreeRTOSConfig.h Configuration File

Understanding FreeRTOSConfig.h Configuration File

Ⅰ Introduction In addition to the “General Configuration” in the FreeRTOSConfig.h configuration file, the content of other configurations is relatively less used by beginners and is also relatively difficult to understand. To give beginners a general understanding, this article continues to discuss the content of FreeRTOSConfig.h configuration, and further discussions will be combined with applications … Read more

How to Improve FreeRTOS Performance and Reduce RAM Usage

How to Improve FreeRTOS Performance and Reduce RAM Usage

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | Embedded Column Previously shared “What Features Have Been Updated in FreeRTOS V10.4.0?“, today we will detail one knowledge point: the direct task (message) notification of FreeRTOS, which aims to reduce RAM usage and speed up execution. Embedded Column 1 Introduction … Read more