klonyyy / STMViewer

Real-time STM32 variable & trace viewer
GNU General Public License v3.0
556 stars 62 forks source link

WIP: Support Jlink debug probe #23

Closed kmeinhar closed 6 months ago

kmeinhar commented 9 months ago

Closes #22

This is only a WIP prototype of reading memory from Jlink debug probe.

This PR add a JLinkHandler to this great project.

It uses the shared library supplied by Segger to access a Jlink debug Probe. Since there are no open source headers it is inspired by pylink.

Known issues:

There is also some changes in here that were required to build this tool on my machine (Manjaro Linux):

Image 1 (J-Link warning) image

Image 2 (Showcase working prototype for 500ms counter) image

kmeinhar commented 9 months ago

I will probably not be able to finish this draft quickly. If someone wants to implement this properly I am happy to assist!

Another approach of implementing this could also be using pylink directly so that their functionality does not have to be re-implemented.

klonyyy commented 6 months ago

Closing due to completed #36