FreeRTOS Development: How to Create Tasks

FreeRTOS Development: How to Create Tasks

1. Task-Related APIs Function Purpose xTaskCreate() Create a task vTaskDelete() Delete a task (NULL can be passed to delete itself) vTaskSuspend() Suspend a task (NULL can be passed to suspend itself) vTaskResume() Resume a task vTaskDelay() Delay (block the task for a period) vTaskDelayUntil() Periodic delay (ensure constant period) uxTaskPriorityGet() Get task priority vTaskPrioritySet() Set … Read more

Is There Any Meaning in Running RTOS on an 8-bit MCU?

Is There Any Meaning in Running RTOS on an 8-bit MCU?

Most people start learning about microcontrollers with the most basic 8-bit MCUs. Generally, the most common 8-bit microcontroller series are: the 51 series, AVR series, and PIC series.Recently, there was a discussion in a group about a question: Is there any meaning in running RTOS on a 51 microcontroller? Regarding this question, everyone has their … Read more

Benefits of Using Memory Protection Units (MPU) in Embedded RTOS Systems

Benefits of Using Memory Protection Units (MPU) in Embedded RTOS Systems

Follow+Star Public Account Number, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | strongerHuang First, let’s clarify what MPU means. MPU has many meanings, the most common ones are: MPU: Memory Protection Unit, which is the focus of this article; MPU: Microprocessor Unit; Additionally, some may associate it with modules like … Read more

Is an Embedded Real-Time Operating System Truly Real-Time?

Is an Embedded Real-Time Operating System Truly Real-Time?

We often refer to RTOS (Real Time Operating System) as a real-time operating system, but what exactly is a real-time operating system? Is it truly real-time?This question is likely to be on the minds of many beginners. Brief Overview of RTOS RTOS: Real Time Operating System, which means real-time operating system. According to Baidu Encyclopedia: … Read more

An Analysis of Real-Time Operating Systems (RTOS) in Embedded Development: Why You Need It?

An Analysis of Real-Time Operating Systems (RTOS) in Embedded Development: Why You Need It?

Follow★Star the public account to get information first Today, let’s talk about something that is super important in embedded development but often overlooked—Real-Time Operating Systems (RTOS). If you are new to embedded development, this article is a must-read. What is RTOS? RTOS, or Real-Time Operating System, refers to an operating system that must complete specific … Read more

Dynamic Memory Allocation in C: malloc and free

Dynamic Memory Allocation in C: malloc and free

Dynamic Memory Allocation in C: malloc and free In C programming, dynamic memory allocation is an important concept. It allows programs to request and release memory as needed during runtime. <span>malloc</span> and <span>free</span> are the two most commonly used functions for dynamic memory management. In this article, we will provide a detailed introduction to the … Read more

Urgent Warning: Multiple Critical Vulnerabilities in RTOS VxWorks

Urgent Warning: Multiple Critical Vulnerabilities in RTOS VxWorks

0x00 Background Researchers at Armis have discovered 11 zero-day vulnerabilities in VxWorks, the most popular real-time operating system (RTOS), used by over 2 billion devices, including critical mission devices in industrial, medical, and enterprise settings. These vulnerabilities, referred to as ‘URGENT / 11′, exist in IPnet, VxWorks’ TCP/IP stack, affecting versions released over the past … Read more

Porting FreeRTOS

Porting FreeRTOS

Introduction I wrote this porting guide because a colleague from my WeChat public account asked me to write a tutorial on porting, so I wrote this article at their request. Preparation Before porting, we first need to obtain the official source package of FreeRTOS. Here are two download links: One is the official website: http://www.freertos.org/ … Read more

IAR for Amazon FreeRTOS Released: A New Era for IoT Studios

IAR for Amazon FreeRTOS Released: A New Era for IoT Studios

Description: 1. In recent years, IoT Studios have become popular, such as Mbed Studio, Zerynth Studio, DK IoT Studio, etc. 2. Amazon is not falling behind and has directly partnered with IAR to release a new version, IAR for AWS. This provides a comprehensive service for Amazon cloud development. 3. Currently, there is no download … Read more