Advanced Development of 51 Microcontroller (Part 1) – Microcontroller Programming Mindset

Advanced Development of 51 Microcontroller (Part 1) - Microcontroller Programming Mindset

Click the blue text above “Luomu Qingyun” to follow me! What mindset is required for microcontroller programming? It has been a long time since I updated my articles. This article was actually written a long time ago, but I only completed it today. I apologize for keeping those who are waiting for updates waiting! Looking … Read more

Fundamental Principles of Real-Time Operating Systems for Embedded Microcontrollers

Fundamental Principles of Real-Time Operating Systems for Embedded Microcontrollers

1. Program Execution Methods Polling System Refers to a method where all hardware is initialized first during program execution, followed by a main program that runs in an infinite loop, executing required functions in sequence. The polling system is a simple and reliable method, generally suitable for situations where tasks need to be executed in … Read more

FreeRTOS Part 1: Introduction to Real-Time Operating Systems

FreeRTOS Part 1: Introduction to Real-Time Operating Systems

This article lays the foundation for Bob’s new series on the open-source FreeRTOS, where he introduces the history of early multitasking real-time operating systems (RTOS) that allowed multiple tasks to run “simultaneously.” He uses FreeRTOS as an example to explain how multitasking RTOS works and its basic components. In 2019, as the world prepared to … Read more

FreeRTOS Part Two: Tasks

FreeRTOS Part Two: Tasks

FreeRTOS Tasks Let’s continue Bob’s open-source FreeRTOS series articles. The core of FreeRTOS is the task. In this second part, I will explore what a task is, what options are available to configure the Task Control Block (TCB), and what functionalities might be missing in the FreeRTOS TCB. As I grew up, I gradually discovered … Read more

FreeRTOS Multitasking Development: Building Efficient and Stable Embedded Systems

FreeRTOS Multitasking Development: Building Efficient and Stable Embedded Systems

1. FreeRTOS Multitasking Architecture 1.1 Overview of Task Model As a lightweight real-time operating system, the core of FreeRTOS is its multitasking capability. In FreeRTOS, applications are organized as a set of independent tasks, each executing in its own context (such as a separate stack space) without dependencies on each other. Each task can be … Read more

Using the VxWorks System in KUKA Robots

Using the VxWorks System in KUKA Robots

KPC – KUKA PC The central processing unit consists of two independent processor cores (Intel dual-core). In addition to running three other controller-related instance libraries on each processor core, it also runs an independent safety instance library. Core 1: VxWorks, Windows, Safe A Core 2: RC (Robot Control), Safe B Windows 7 operating system and … Read more

TaskScheduler: A Lightweight Cooperative Multitasking Scheduling Library for Arduino, ESPx, STM32, and Other Microcontrollers

TaskScheduler: A Lightweight Cooperative Multitasking Scheduling Library for Arduino, ESPx, STM32, and Other Microcontrollers

TaskScheduler is a lightweight cooperative multitasking scheduling library designed for Arduino, ESPx, STM32, and other microcontrollers. It provides a simpler and more user-friendly alternative to preemptive programming and frameworks like FreeRTOS, allowing you to easily implement multitasking without getting bogged down in the pitfalls of concurrent programming. 1. Advantages of Cooperative Multitasking TaskScheduler adopts a … Read more

Applications of C Language in Operating Systems: Processes and Threads

Applications of C Language in Operating Systems: Processes and Threads

Applications of C Language in Operating Systems: Processes and Threads In modern operating systems, processes and threads are two very important concepts. They are the foundation for achieving concurrent execution and improving program performance. In this article, we will delve into how the C language is used to create and manage processes and threads, demonstrating … Read more

Linux Kernel vs Windows Kernel

Linux Kernel vs Windows Kernel

Windows and Linux can be considered two of the most common operating systems. Windows has essentially dominated the PC market and has achieved significant commercial success, but it is not open source, so to access the source code, one must join the Windows development team. Most server operating systems are based on Linux, and the … 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