Programming GD32 with JLink and JFlash

Programming GD32 with JLink and JFlash

1. Open JFlash, select Create new Project, and click Start J-Flash2. Click…3. In the position shown in the image, enter the GD32 microcontroller model. For example, GD32F350G8, and click OK4. Click OK5. Click Target -> Connect. This allows you to check if JLINK and GD32 are connected properly.6. Click File -> Open data file…, and … Read more

Unveiling Two-Wire CJTAG: From Jlink Waveforms to IEEE 1149.7 Standard Interpretation

Unveiling Two-Wire CJTAG: From Jlink Waveforms to IEEE 1149.7 Standard Interpretation

1. Introduction Recently, I have developed an interest in Two-Wire CJTAG. This article mainly records some of my insights on Two-Wire CJTAG. There are many debugging interfaces, with SWD and JTAG being the most commonly used. For articles related to SWD and JTAG on this public account, you can refer to this series – “Making … Read more

JLink: Building a Lightweight Java Runtime

JLink: Building a Lightweight Java Runtime

1. Background and Issues The traditional JDK/JRE installation packages are large (hundreds of MB), containing many modules that are not needed by applications. For example, a small application that only depends on java.base and java.sql must carry the entire Java runtime, which not only wastes storage but also affects the distribution and startup speed of … Read more

Jlink Usage Tips Series Tutorial Index

Jlink Usage Tips Series Tutorial Index

Jlink Usage Tips Series Articles: Below are the links to each article; click directly to read. Jlink Usage Tips for Merging Programming Files Jlink Usage Tips for Programming SPI Flash Memory Chips Jlink Usage Tips for Virtual Serial Port Functionality Jlink Usage Tips for Reading the Program Inside STM32 Jlink Usage Tips for Downloading HEX … 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

Open Source Project Collection for N32G45x MCU Using JLINK

Open Source Project Collection for N32G45x MCU Using JLINK

Guomin Technology MCU Forum: https://bbs.21ic.com/iclist-1098-1.html *Reading Instructions: The following is a brief summary; for detailed project descriptions and related source code, please click the original link to view. Development Component Tools Using JLINK Based on Guomin N32G45x Series MCU: RTT Viewer Application Note https://bbs.21ic.com/icview-3264404-1-1.html In projects where no serial port is reserved, if you want … Read more

Step-by-Step Guide to Using JLink as a Serial Debugging Tool

Step-by-Step Guide to Using JLink as a Serial Debugging Tool

I’m not sure how everyone prints debugging information during microcontroller development, but most likely, it’s done through serial debugging. In most cases, a serial port is reserved for debugging during board design and coding. But what if you haven’t reserved a serial port during actual development? Actually, our downloader can be used as a debugging … Read more

Solutions for Jlink-OB Download Failures Using Keil MDK

Solutions for Jlink-OB Download Failures Using Keil MDK

Recently, I switched from Windows 10 to Windows 7, so I had to reinstall various EDA software that I had previously installed. While developing a program for a Cortex-M3 core MCU using Keil, I encountered a problem: I cannot download the program using Jlink-OB. When I switched back to the previous Windows 10 system, it … Read more

Extracting JLink Firmware from DLL

Extracting JLink Firmware from DLL

Old readers should know that the Osprey has been using a homemade STlink in the lab. This time, the Osprey wants to make a J-LINK and found an article that everyone can learn from. (If I have time, I can provide ST-link and J-link firmware; these can basically be found online.) Source: https://www.jianshu.com/p/0cd3a513f1b1 The board … Read more

Impact of Debug Mailbox on JLink Debugging in i.MXRT600

Impact of Debug Mailbox on JLink Debugging in i.MXRT600

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will introduce the impact of Debug Mailbox implementation in i.MXRT600 on JLink debugging. The story begins with my colleague, Ms. Kerry, who likes to dig deep into problems. She has been researching the i.MXRT600 chip and found that when connected to the … Read more