Simulating Linux Kernel Automatic Initialization on STM32

Simulating Linux Kernel Automatic Initialization on STM32

Hello everyone, I would like to recommend an article by my friend, the mixed bag master. There are many programming ideas to learn in Linux, and many experts apply these ideas and mechanisms to microcontroller programming. For example: cola_os introduced in the Embedded Mixed Bag Weekly | Issue 4, and the well-known RT-Thread. Also, the … Read more

Building the STM32 Debug Output and Time System with Embedded Zorb Framework

Building the STM32 Debug Output and Time System with Embedded Zorb Framework

1 Zorb Introduction Zorb Framework is a lightweight embedded framework built on the principles of object-oriented programming. The purpose of building the Zorb Framework is to enable rapid application development on chips that cannot run Linux, avoiding the need to reinvent the wheel repeatedly. The initial design features of the Zorb Framework include: Time system … Read more

Five Major Embedded Systems in STM32 Development

Five Major Embedded Systems in STM32 Development

Technology often updates very quickly, and it always makes us feel that learning is difficult and somewhat confusing. However, it’s okay; we enthusiasts focus on learning with joy. To learn about STM32, we first need to understand the five major embedded operating systems: μClinux, μC/OS-II, eCos, FreeRTOS, and RT-thread. μClinux μClinux is an excellent version … Read more

Selected Compilation | Embedded Software Design and Development

Selected Compilation | Embedded Software Design and Development

Follow+Star public number, don’t miss wonderful content Author | strongerHuang WeChat public account | Embedded Column In order to facilitate everyone to review and check articles on public transportation, subways, and going out, I have carefully selected and categorized some articles: Embedded Software Architecture Design Layering Ideas Common “Safety” Operations of EEPROM in Projects Ideas … Read more

Understanding the Debugging Interfaces of STM32 Cortex-M Cores

Understanding the Debugging Interfaces of STM32 Cortex-M Cores

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column When learning MCU development, debugging is definitely an essential step. This article discusses the debugging interfaces related knowledge using STM32F1 and Cortex-M3 as examples (the principles are similar for other series chips/cores). 1 Overview In STM32, there … Read more

Transforming the NumWorks Calculator with Raspberry Pi

Transforming the NumWorks Calculator with Raspberry Pi

MAKER:Zardam/ Translated by:Endless Fun This time we will use the Raspberry Pi Zero to study STM32, focusing mainly on DMA and interrupt aspects, to modify the NumWorks calculator.Since the NumWorks calculator is powered by the STM32F412, why not try to combine them and see what happens? If you want to experience the features of NumWorks … Read more

Accurate Measurement of 200 Sheets of Paper: A Comprehensive Analysis

Accurate Measurement of 200 Sheets of Paper: A Comprehensive Analysis

Here is another group sharing for Problem F:Re-testing the first place of this group! We are the team from Hunan Normal University (Major: Applied Electronic Technology), and we won the national first prize for Problem F in the 2019 Electric Competition. We measured 135 sheets and are very happy to be invited by Darlwen 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

Why C++ is Not Recommended for Microcontroller Programming

Why C++ is Not Recommended for Microcontroller Programming

Generally speaking, when programming on microcontrollers, it is either assembly or C language, and it is rare to develop with C++, so why is it not recommended to develop microcontrollers with C++? Below, I will combine Keil and STM32 to explain the content of writing a running light program in C++, to see why C++ … Read more