Step-by-Step Guide to Jlink Serial Printing Techniques

Step-by-Step Guide to Jlink Serial Printing Techniques

When debugging microcontroller programs, serial printing is a common method. Sometimes, when the hardware does not reserve a serial port, other methods are needed for printing and debugging.1. Jlink SEGGER RTTJlink SEGGER RTT is a very useful method that allows you to achieve printf-like functionality simply by using the SWD or JTAG interface of Jlink, … 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

Practical Example of J-Scope Virtual Oscilloscope with Jlink

Practical Example of J-Scope Virtual Oscilloscope with Jlink

Requirement Imagine you are facing a scenario where the MCU code has the following snippet, and you need to see the values of the variables in real-time sin_o cos_o automatically plotted, which is essentially a virtual oscilloscope (what a clever name)! #include <math.h> float x = 0; double sin_o = 0; double cos_o = 0; … Read more