【Open Source Tool Sharing】MCU Debugging Assistant (Oscilloscope/Modify/Log) - LinkScope

Reason for development

When debugging single-chip microcomputers (especially debugging control systems), friends may often have the need to draw real-time variables , and now there are software such as J-SCOPE and STM-STUDIO to achieve this function. But one of their disadvantages is that they only support specific types of debuggers or chip types, but for many debuggers (such as CMSIS-DAP, etc.), they have not found software that can support them.

However, as we all know, OpenOCD is a powerful open source on-chip debugging program, which can support a large number of debuggers and chip types, and supports GDB connection, so I tried to develop this program based on it, and realized such a relatively general debugging assistant LinkScope . Share this with everyone.


Software introduction

software interface

The main function

  1. View and modify variable values ​​in real time
  2. Variable value waveform real-time drawing
  3. Sample data export to CSV table
  4. format log output

main features

  1. Support a variety of debuggers (ST-Link, J-Link, CMSIS-DAP, etc.) and a variety of target chips (such as the full range of STM32)
  2. The fastest sampling speed is about 100Hz (the number of variables may decrease a little)
  3. The variable to be viewed can be a C language expression (you can add four operations, address operations, etc. to the variable name)
  4. When the log function is used, the log is output by the lower computer, and four types of logs can be output : information, debugging, warning, and error . The log does not conflict with other functions, and can be used at the same time (it will reduce some sampling speed), and a small program needs to be transplanted to the lower computer
  5. Support serial port connection, you can use serial port instead of hardware debugger , all functions are exactly the same, you need to transplant a small program to the lower computer, can support various chips that cannot use debugger (such as Arduino, etc.), and can also use transparent transmission module to realize Wireless connections

Animation presentation

Operation demonstration (detailed instructions can be viewed in the software help or warehouse homepage)

Log printing effect

 


software download

Release download

If you just need to download and use, you can directly download the latest release version, and you can use it after decompression

LinkScope Releases - Gitee.com icon-default.png?t=M3C8https://gitee.com/skythinker/link-scope/releases

Warehouse Address

Friends who think it is easy to use remember to order a star~

LinkScope: Online debugging software that supports multiple hardware debuggers and hardware chips icon-default.png?t=M3C8https://gitee.com/skythinker/link-scope/


PS : I don't have too many devices to test at present, please forgive me if you encounter compatibility problems, if readers find bugs or have suggestions for improvement, please leave a message in the comment area

by skythinker

2022.4.21

Guess you like

Origin blog.csdn.net/skythinker616/article/details/124316346