How to Solve Runaway Phenomenon During STM32 Upgrade with IAP?

How to Solve Runaway Phenomenon During STM32 Upgrade with IAP?

During the firmware upgrade process of the STM32 microcontroller, many engineers choose the IAP technology, which allows firmware updates to the microcontroller via the host computer while the application is running. However, occasionally, there may be a low probability of encountering a runaway phenomenon. How to solve it? 1. Check Power Supply Voltage Ensure that … Read more

Comprehensive Embedded System Vocabulary Reference

Comprehensive Embedded System Vocabulary Reference

A ASIC (Application-Specific Integrated Circuit) – A piece of custom-designed hardware in a chip. address bus – A set of electrical lines connected to the processor and all of the peripherals with which it communicates. The address bus is used by the processor to select a specific memory location or register within a particular peripheral. … Read more

Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers: The STM32 microcontroller’s core (Cortex-M3) contains a hardware debugging module that supports various complex debugging operations. The hardware debugging module allows the core to halt when fetching addresses or accessing data—this is the assurance we have for online simulation during microcontroller development and debugging.When the core is halted, both its internal … Read more

HardFault Diagnosis Methods and Steps

HardFault Diagnosis Methods and Steps

1. Introduction to Cortex-M0 Processor Core Exception Interrupts The Cortex-M0 core is equipped with an exception response system that supports numerous system exceptions and external interrupts. Among them, numbers 1-15 correspond to system exceptions, while numbers greater than or equal to 16 are all external interrupts. The smaller the numerical value of the priority, the … Read more

How to Use KEIL MDK to Download Programs

How to Use KEIL MDK to Download Programs

1. Introduction to KEIL MDK RealView MDK development suite originates from Keil, Germany, and has been validated and used by over 100,000 embedded development engineers worldwide. It is the latest software development tool released by ARM for various embedded processors. RealView MDK integrates the most advanced technologies in the industry, combining the features and functions … Read more

Detailed Explanation and Precautions for H-JTAG Debugging

Detailed Explanation and Precautions for H-JTAG Debugging

1. Introduction to H-JTAG: H-JTAG is a simple and easy-to-use debugging proxy software, similar in functionality to the popular MULTI-ICE. H-JTAG includes three software tools: H-JTAG SERVER, H-FLASHER, and H-CONVERTER. Among them, H-JTAG SERVER implements the debugging proxy function, H-FLASHER implements the FLASH programming function, and H-CONVERTER is a simple file format conversion tool that … Read more

Building a Cross-Development Environment Based on ARM and Linux

Building a Cross-Development Environment Based on ARM and Linux

Abstract: The cross-development environment is the foundation of embedded Linux development. The subsequent development process is almost entirely based on this environment. ARM, as a high-performance, low-cost embedded RISC microprocessor, has become the most widely used embedded processor. This article includes the hardware structure of the 32-bit ARM920T core “GEC2410” development board and the concept … Read more

Gracefully Using ILA for FPGA Hardware Debugging

Gracefully Using ILA for FPGA Hardware Debugging

Vivado (Vitis) Version: 2020.2 FPGA Development Board: Microphase Z7-Lite 7020 Development Board FPGA Design Debugging Process FPGA development is an iterative process, and the general FPGA design process typically includes the following steps: Hardware architecture and algorithm verification: what modules are needed to implement the required functionality, how modules communicate and connect with each other; … Read more

How Does printf() Integrate with UART Driver Functions?

How Does printf() Integrate with UART Driver Functions?

This is definitely a good article. Printing with this function is sometimes more useful than any debugging tool, and the kernel’s prink is a true gem. But how does the printf function connect with the UART driver? This article will answer that for you. Like, share, and bookmark it for when you need it. Today, … Read more

I2C Protocol Application: Sensor Interface and Data Reading

I2C Protocol Application: Sensor Interface and Data Reading

I2C Protocol Application: Sensor Interface and Data Reading I2C Protocol Application: Sensor Interface and Data Reading Hello everyone, I am Daodao. Today, let’s talk about the I2C protocol, which many sensors use to communicate with microcontrollers. Although it only uses two wires, it can connect multiple devices, making it a master of saving wires. However, … Read more