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 to monitor some parameters or need to input some data during debugging or operation, we can use SEGGER’s RTT technology to connect with the MCU through the J-LINK tool, achieving real-time data interaction through the SWD interface; it is a new technology for user input and output interaction in embedded applications, with the software for interaction with the host computer being SEGGER RTT Viewer; using RTT functionality allows you to print output information from the MCU and input information data into the MCU, with a very high transmission rate that does not affect the real-time operation of the MCU.

Open Source Project Collection for N32G45x MCU Using JLINK

RTT Viewer Debug Print Using JLINK Based on Guomin N32G45x Series MCU

https://bbs.21ic.com/icview-3261898-1-1.html

This time, we are using RTT in Guomin Technology N32G457XXXX series, theoretically, using JLINK debugging should be able to utilize RTT. This compensates for the hardware and software constraints brought by the serial port in debugging.

Using J-Scope Oscilloscope Based on Guomin N32G45x Series MCU with JLINK

https://bbs.21ic.com/icview-3262116-1-1.html

During embedded development, if you need to view certain real-time changing variables, we typically enter DEBUG mode in MDK to observe visually, which is not very user-friendly and can easily miss many details. Therefore, I introduce a tool that can print the variables you need to observe graphically to the computer for real-time observation.

RTT VIEWER Based on Guomin N32G45x Series MCU Using JLINK

https://bbs.21ic.com/icview-3256414-1-1.html

J-Link RTT Viewer supports sending user inputs to RTT Down Channel 0, and the target application can read these inputs using SEGGER_RTT_GetKey() and SEGGER_RTT_read().

You can enter input in the text box at the bottom of the terminal tab.

J-Link RTT Viewer can be configured to send each character directly as you type or buffer it until you press the Enter key (menu input-> send…).

In stand-alone mode, if the target input buffer is full, J-Link RTT Viewer can retry sending inputs until all data can be sent through input-> send…-> block to the target.

RTT Viewer/logger/Client Component Tools Based on Guomin N32G45x Series MCU Using JLINK

https://bbs.21ic.com/icview-3264286-1-1.html

J-Link RTT Viewer, J-Link RTT Client, and J-Link RTT Logger are components in the J-LINK toolkit that rely on RTT functionality for use in different scenarios.

J-Scope Component Tool Based on Guomin N32G45x Series MCU Using JLINK

https://bbs.21ic.com/icview-3264292-1-1.html

J-Scope is one of the functions of J-link. After connecting the MCU with Jlink, it can analyze data in real-time and display it graphically while the target MCU is running. J-Scope can display the values of multiple variables in a manner similar to an oscilloscope. It reads elf or axf files and allows the selection of multiple variables for visualization.

GDB Server Component Tool Based on Guomin N32G45x Series MCU Using JLINK

https://bbs.21ic.com/icview-3264294-1-1.html

J-LINK GDBServer is generally used in conjunction with IDEs, such as common RT-Thread Studio, eclipse, VS code, etc. J-LINK GDBServer is divided into J-LINK GDBServer and J-LINK GDBServer CL.

SWO Viewer Component Tool Based on Guomin N32G45x Series MCU Using JLINK

https://bbs.21ic.com/icview-3264298-1-1.html

I have used the SWO function on other chips before, and it was relatively simple to use, but using the SWO function on N32G4XX has indeed been a bit troublesome.

You can read more open-source works on the Guomin Technology MCU Forum in the original text.

Open Source Project Collection for N32G45x MCU Using JLINK

Click “Read Original” to view the summary post

Leave a Comment