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

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

Renesas RA0E1 Development Board Review | ThreadX RTOS Serial Echo Test

Renesas RA0E1 Development Board Review | ThreadX RTOS Serial Echo Test

Renesas RA0E1 Development Board Review | Renesas RA0 Development Board Evaluation Report SPI-OLED First, I would like to thank Jialichuang for providing the Renesas development board evaluation activity. RA0E1 Block Diagram RA0E1 Features 32MHz Arm Cortex-M23 core Up to 64KB Flash and 12KB SRAM 1KB Data Flash (100,000 P/E cycles) 16-pin and 32-pin package options … Read more

Introduction to Bare-Metal Programming with STM32

Introduction to Bare-Metal Programming with STM32

This series will introduce the basic knowledge of bare-metal programming with STM32 to better understand how frameworks and IDEs like STM32Cube and Keil work. This guide starts completely from scratch, requiring only a compiler and the chip’s datasheet, without relying on any other software tools or frameworks. This series covers the following topics: Memory and … Read more

Unexpected Reasons for JLINK Programming Failure

Unexpected Reasons for JLINK Programming Failure

When we write programs, we usually use JLINK to complete the operation. It must be said that JLINK is one of the most important tools in the embedded microcontroller industry. However, we sometimes encounter situations where programming fails. Not long ago, I faced a situation where programming could not be completed. The specific situation is … 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

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

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