Building STM32 F103C8T6 System Board Download Circuit Tutorial

Building STM32 F103C8T6 System Board Download Circuit Tutorial

1. What is a Download Circuit The download circuit of a microcontroller refers to the hardware circuit used to download the written program (firmware) to the internal memory of the microcontroller. This process is often referred to as programming or flashing. The download circuit includes the debugging interface with the microcontroller and the corresponding circuit … 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

Troubleshooting a Nearly Scrapped Board: Finding the Cause After a Week

Troubleshooting a Nearly Scrapped Board: Finding the Cause After a Week

Documenting an Issue Related to ALTERA Device JTAG While reviewing previous blog posts, I found several published years ago related to JTAG, specifically: the first one discusses connecting multiple devices on a single JTAG chain: https://mbb.eet-china.com/blog/1010859-213144.html. The second one involves an interesting issue encountered during automatic detection (AUTO Detect) via JTAG interface with the download … Read more

Microcontroller Programming Download and Debugging Techniques

Microcontroller Programming Download and Debugging Techniques

Click the above to follow us! Microcontroller programming download and debugging techniques: ISP, JTAG and other download methods, the use of online debugging tools, making your development more efficient! In microcontroller programming development, downloading and debugging are indispensable steps. Mastering efficient program download methods and debugging techniques can make your development much more effective. This … Read more

Powerful JTAG Boundary Scan: Basic Principles

Powerful JTAG Boundary Scan: Basic Principles

Click the card below to follow Arm Technology Academy This article is authorized to be transferred from the WeChat public account “Electronic Circuit Development Learning”. This article mainly shares content related to JTAG boundary scan. How did I learn about boundary scan? This starts with my purchase of an FPGA board. Recently, I found an … Read more

Understanding JTAG: Interface Protocol and Boundary Scan

Understanding JTAG: Interface Protocol and Boundary Scan

This article mainly introduces the pin definitions, interface standards, boundary scan, and TAP controller of the JTAG bus. JTAG (Joint Test Action Group) is an international standard testing protocol (IEEE 1149.1 compatible), primarily used for internal chip testing. Most advanced devices now support the JTAG protocol, such as ARM, DSP, FPGA, etc. The standard JTAG … Read more

Detailed Usage Notes for Raspberry Pi JTAG

Detailed Usage Notes for Raspberry Pi JTAG

Detailed Usage Notes for Raspberry Pi JTAG 1. Introduction 2. Environment Setup 2.1 Hardware Connection 2.2 Software Preparation 3. Conclusion 1. Introduction Sometimes, when debugging code, hardware debugging tools are often used, and JTAG is a very good debugging tool. Below is a detailed introduction on how to use JTAG for debugging on the Raspberry … Read more

JTAG Interface Hardware Design for STM32

JTAG Interface Hardware Design for STM32

What is the JTAG Interface? Visually, the JTAG interface is the blue 20-pin connector shown in the image above. What is the Purpose of the JTAG Interface? To download programs to the microcontroller. To debug the microcontroller online, such as step debugging, power-off debugging, viewing register values, etc. Does the JTAG interface for STM32 need … Read more

Understanding the JTAG Protocol for ECU Debugging

Understanding the JTAG Protocol for ECU Debugging

In the ECU software development process, software debugging or testing often involves the JTAG interface, which is used through the JTAG protocol with emulators/debuggers such as JLink, ST-LINK, and Lauterbach for online debugging of software programs. Although many use it daily, not everyone is familiar with it. Therefore, this article intends to provide a brief … Read more

Debugging Protocol SWD as a Replacement for JTAG on ARM Architecture

Debugging Protocol SWD as a Replacement for JTAG on ARM Architecture

For embedded developers and hardware hackers, JTAG is the standard for debugging and accessing microprocessor registers. This protocol has been in use for many years and is still used today. The JTAG debugging interface requires VCC, GND power signals, and four debugging signals: TMS, TCK, TDI, and TDO. Additionally, TRST and RESET reset signals and … Read more