Protecting Critical Sections in Cortex-M Bare Metal Environments

Protecting Critical Sections in Cortex-M Bare Metal Environments

Today I will share with youthree implementations of critical section protection in Cortex-M bare metal environments. If you have worked with embedded systems and RTOS, you must be familiar with the function codes OS_ENTER_CRITICAL() and OS_EXIT_CRITICAL(). In RTOS, there are often multiple tasks (processes), and in some cases, certain special operations (such as Flash erase … Read more

Implementation of MCU Serial Console Control

Implementation of MCU Serial Console Control

Follow+Star public number, don’t miss wonderful content Source | CSDN 1. Introduction Friends who have played with Linux, are you envious of the Linux omnipotent serial port Shell command console? If the low-end MCU of STM32F series that you made also has this control interaction capability, how many troubles would it save for debugging/maintenance and … Read more

Why Are There No Effective Domestic IDEs for Microcontroller Development?

Why Are There No Effective Domestic IDEs for Microcontroller Development?

Follow+Star Public Account Number, do not miss wonderful content Source | Zhihu Compilation | strongerHuang Have you noticed that many products we buy have a “made in china” label, and even some foreign brands we purchase also have a “made in china” label. So the question arises:Why is there no effective domestic IDE for microcontroller … Read more

Choosing the Right Operating System for Microcontrollers

Choosing the Right Operating System for Microcontrollers

When programming microcontrollers, we know there are two basic operations: bare metal and operating systems. Bare metal refers to a large loop that executes repeatedly. Today, we will discuss several commonly used operating systems. A Real-time Operating System (RTOS) is designed to run tasks in a sorted manner, manage system resources, and provide a consistent … Read more

Understanding the Principles and Mechanisms of Microcontroller Message Queues

Understanding the Principles and Mechanisms of Microcontroller Message Queues

Follow+Star Public Account Number, don’t miss exciting content Author | strongerHuang WeChat Public Account | Embedded Column During the development process of microcontrollers, “message queues” are often used, and there are various methods of implementation.This article shares the principles and mechanisms of queue implementation. First, I would like to recommend a platform for embedded job … Read more

Differences Between MCU Development and Linux Development

Differences Between MCU Development and Linux Development

Click on the top“Big Fish Robot”, select“Pin/Star Official Account” Welfare and dry goods, delivered at the first time! The development of ARM-Linux programs is mainly divided into three categories: application development, driver development, and system kernel development. Different types of software development have their own characteristics. Today, let’s take a look at the differences between … Read more

Can Microcontrollers Replace PLCs?

Can Microcontrollers Replace PLCs?

Follow us onStar Public Account Number, don’t miss out on exciting content Material Source: Internet Editor: strongerHuang Can microcontrollers replace PLCs? This question is like asking if flour can replace noodles, the answer is no. The first time you hear this answer, many people may have questions, microcontrollers are obviously so powerful and feature-rich, why … Read more