Debugging RK3399 Processor and Linux Kernel with CodeViser (Part 1)

Debugging RK3399 Processor and Linux Kernel with CodeViser (Part 1)

Friendly Reminder: This article is lengthy, the reading time is about 10 minutes. CodeViser is a JTAG emulator developed by J&D Tech, supporting CPUs like ARM and RISC-V. The accompanying CVD debugging software provides an efficient and stable debugging environment, supporting source-level debugging and powerful script commands. This article discusses the process of using CodeViser … Read more

Xilinx FPGA Power-Up Configuration Process

Xilinx FPGA Power-Up Configuration Process

Welcome FPGA engineers to join the official WeChat technical group. Clickthe blue textto follow us at FPGA Home – the best and largest pure FPGA engineer community in China. In summary, the power-up modes of Xilinx FPGA can be divided into the following 4 types: Master Mode Slave Mode JTAG Mode (Debug Mode) System Mode … Read more

Discussion on Various Debug Interfaces (JTAG, SWD, RDI, Jlink, Ulink, STlink)

Discussion on Various Debug Interfaces (JTAG, SWD, RDI, Jlink, Ulink, STlink)

1. JTAG Protocol JTAG (Joint Test Action Group) is an international standard testing protocol (IEEE 1149.1 compliant) primarily used for internal chip testing. Most advanced devices today support the JTAG protocol, such as ARM, DSP, and FPGA devices. The standard JTAG interface consists of 4 lines: TMS, TCK, TDI, and TDO, which are mode select, … Read more

Differences Between JTAG, SWD, JLINK, ST-LINK, and ULINK

Differences Between JTAG, SWD, JLINK, ST-LINK, and ULINK

What is a download debugger? In simple terms, a download debugger is a device that converts commands sent from a PC (for example, via USB protocol) into a language that the MCU (which manages the MCU’s internal peripherals) can understand (such as SWD or JTAG protocol), loads code, and precisely controls execution.What is a standard? … Read more

Jlink Virtual Serial Port Usage Tips

Jlink Virtual Serial Port Usage Tips

USB to Serial is a small tool often used for debugging microcontroller programs. The Jlink version V9 and above provides a virtual serial port function, which can be used for serial transmission and reception testing. The interface is defined as follows: pin 5 is Jlink-TX, and pin 17 is Jlink-RX. It is important to note … Read more

J-Link Usage Tips: J-Scope Virtual Oscilloscope Function

J-Link Usage Tips: J-Scope Virtual Oscilloscope Function

Introduction to J-Link J-Link is a JTAG emulator launched by SEGGER to support emulation of ARM core chips. Simply put, it is a JTAG protocol converter. It connects to the computer via USB, while still using the JTAG protocol to connect to the target board, completing the conversion from software to hardware. It supports emulation … Read more

Understanding ARM Debug Interface: SWD

Understanding ARM Debug Interface: SWD

0. Introduction The documentation from ARM is already very good, but it still lacks clarity on what to do immediately after powering on, which caused me some trouble during my first use. Today, I will provide a detailed overview to help more friends. By the way, the ARM_Cortex-M0/3 DesignStart series will continue to be updated, … Read more

Who Is Preventing Access to User Space

Who Is Preventing Access to User Space

Recently, a new feature was added to NDB to allow it to access user space. However, on the ARM platform, a problem was encountered: if the CPU interrupt occurs in kernel space, any access to user space addresses fails. The basic symptom of failure is a series of question marks printed in the debugger. Meanwhile, … Read more

Understanding STM32 Debugging Techniques

Understanding STM32 Debugging Techniques

When learning STM32 development, the debugging step is essential。This article will guide you through the knowledge related to debugging. This article takes STM32F1 and Cortex-M3 as examples; the principles are the same or similar for other series chips or cores. 1Overview In STM32, there are many debugging components. Using them, various debugging functions can be … Read more

Essential Knowledge for Debugging STM32

Essential Knowledge for Debugging STM32

Learning STM32 development inevitably involves the step of debugging. This article will help you understand the knowledge related to debugging. This article takes STM32F1 and Cortex-M3 as examples; the principles are the same or similar for other series of chips or cores. 1Overview In STM32, there are many debugging components. Using them allows for various … Read more