当前位置:网站首页>[open source tool sharing] MCU debugging assistant (oscillograph / modification / log) - linkscope

[open source tool sharing] MCU debugging assistant (oscillograph / modification / log) - linkscope

2022-04-23 15:46:00 skythinker616

Development reasons

Debugging MCU ( Especially debugging the control system ) When , Small partners may often have to test variables Real time drawing The needs of , Now there are also things like J-SCOPE and STM-STUDIO Such software realizes this function . But their big disadvantage is that they only support the specified type of debugger or chip type , And for many debuggers ( Such as CMSIS-DAP etc. ) But I haven't found any software that can support .

But as we all know OpenOCD Is a powerful open source on-chip debugging program , It can support a large number of debuggers and chip types , Support GDB Connect , So I try to develop this program based on it , It realizes such a general debugging assistant LinkScope, Let's share with you .


The software is introduced

software interface

The main function

  1. real time see and modify A variable's value
  2. A variable's value Real time waveform rendering
  3. sampling Export data To CSV form
  4. format Log output

The main features

  1. Support Multiple debuggers (ST-Link、J-Link、CMSIS-DAP etc. ) as well as Multiple target chips ( Such as STM32 A full range )
  2. The fastest sampling speed is about 100Hz( The number of variables may decrease a little )
  3. The variables added to view can be C Language expressions ( You can add four operations to the variable name 、 Addressing operation, etc )
  4. When using the log function, the log is output by the lower computer , Can output Information 、 debugging 、 Warning 、 error There are four types of logs . Logging does not conflict with other functions , Can be used at the same time ( It will reduce some sampling speed ), Need to transplant a small program to the lower computer
  5. Support serial port connection , Sure Use serial port instead of hardware debugger , All functions are completely consistent , Need to transplant a small program to the lower computer , It can support various chips that cannot use the debugger ( Such as Arduino etc. ), It can also use transparent transmission module to realize wireless connection

Dynamic diagram demonstration

Operation demo ( The detailed instructions can be viewed in the software help or the warehouse home page )

Log printing effect

 


Software download

Distribution download

You can download the latest release directly if you need to download it , After decompression, it can be used

LinkScope Distribution version - Gitee.comicon-default.png?t=M3C8https://gitee.com/skythinker/link-scope/releases

Warehouse address

If you think it's easy to use, remember to order star ah ~

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


PS: At present, I don't have much equipment to test , If you encounter compatibility problems, please forgive me , If the reader finds out bug Or if you have any suggestions for improvement, please leave a message in the comment area

by skythinker

2022.4.21

版权声明
本文为[skythinker616]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231542488375.html