Testing Short Circuit Current of STM32 Microcontroller I/O Ports

Testing Short Circuit Current of STM32 Microcontroller I/O Ports

1. Introduction   This is the test circuit board made for the STM32 microcontroller. The main purpose is to verify whether the software development tools are functioning normally in the newly installed computer. The microcontroller software can now be downloaded via probe clips. Below, using this test circuit board, we will perform a hazardous measurement. We … Read more

STM32 Firmware Dump Tutorial: A Comprehensive Guide

STM32 Firmware Dump Tutorial: A Comprehensive Guide

Background Finally, with some rare free time and a long-lost passion, I quickly got to work. This is also a preliminary experience, so the goal is simply to dump the program and perform basic disassembly. Toolset Introduction Software Part OpenOCD Open On-Chip Debugger, a well-known open-source hardware debugger. Supports various debuggers like (St-link) and (jlink) … Read more

Learning STM32 Made Simple: A Comprehensive Guide

Learning STM32 Made Simple: A Comprehensive Guide

Follow and star our official account to access exciting content 1. If you find it simple, it means ST has succeeded. How did STM32 stand out among many microcontrollers back then? Because of the library functions. Before this, microcontrollers like 51, AVR, PIC, MSP430 required searching for others’ code to “borrow” when writing a UART … Read more

How to Self-Learn STM32 Microcontrollers

How to Self-Learn STM32 Microcontrollers

Continuing to post my answer. First, you need a development board. If you are just starting in the field of microcontrollers, I recommend starting with videos. At the very least, you should have a book on C programming for reference on C language concepts. When you first start learning, focus on videos. For concepts that … Read more

Understanding Zero Division Operations in STM32 Microcontrollers

Understanding Zero Division Operations in STM32 Microcontrollers

This issue’s topic: As is well known, in C language, dividing a number by 0 will lead to a division operation exception, causing the program to crash. To avoid program crashes, we need to include checks for 0 in the code. However, when running C program code that performs division by zero on STM32 microcontrollers, … Read more

Mastering STM32: A Comprehensive Guide for Beginners

Mastering STM32: A Comprehensive Guide for Beginners

Learning microcontrollers just for the sake of it is not the correct approach. You may ask: How to systematically start learning STM32? This is fundamentally a wrong question. If you know how to use the 8051 and can write C, then there is no need to deliberately learn STM32. What you should consider is what … Read more

Pros and Cons of Popular Development Environments for STM32

Pros and Cons of Popular Development Environments for STM32

Many beginners are asking: Which development tool should I use to learn STM32? First, let me share my opinion: 1. There is no best, only what is suitable; what suits you is the best. 2. There are many development tools, each with its own characteristics, and with advantages, there are also disadvantages. Today, let’s talk … Read more

Detailed Process of Porting Modbus on STM32 Bare Metal

Detailed Process of Porting Modbus on STM32 Bare Metal

Follow+Star public number, don’t miss wonderful content Source | Wenxin Yiyan Modbus has many application scenarios and is an essential skill for embedded practitioners. We don’t need to understand it in depth, but it’s necessary to grasp the basic principles. Today, I would like to share the detailed process of porting Modbus on STM32 bare … Read more

Will ESP32 Replace STM32 in the Embedded Market?

Will ESP32 Replace STM32 in the Embedded Market?

Click the blue font above to follow us ESP32 and STM32 have significant differences in hardware characteristics, market positioning, and development ecosystems. STM32 has a strong position in the embedded control field due to its industrial control and real-time requirements, while ESP32 excels in the IoT field with its wireless communication capabilities and cost-effectiveness. In … Read more

Developing STM32 on Linux: Compiling BIN and HEX Files with GCC ARM None EABI Toolchain

Developing STM32 on Linux: Compiling BIN and HEX Files with GCC ARM None EABI Toolchain

1. Why Not GCC When developing STM32, the compilation toolchain must use gcc-arm-none-eabi. Why not GCC?This relates to cross-compilation in Linux, as we need to compile programs that can run on ARM from a PC. Using GCC will compile programs that run on the PC, so we need to use gcc-arm-none-eabi for cross-compilation~ 2. Introduction … Read more