Go bindings for the libjaylink library.
Segger makes J-Link devices. These are USB or network connected JTAG/SWD interfaces.
Devices: https://www.segger.com/products/debug-probes/j-link/
libjaylink is a C-based library providing an API for controlling J-Link devices. This package provides a Go wrapper for the C-library API so the library can be called from Go programs.
- libjaylink (https://gitlab.zapb.de/zapb/libjaylink/)
- libusb-1.0 (https://libusb.info/)
All C-API functions have Go wrappers. The public interface of this package is a 1-1 mapping from the C-API to a Go style function prototypes. There are a couple of novel functions added as helper routines, but in general any C usage of the library has a simple mapping to Go.
- Some testing has been done, mostly using USB based J-Link devices.
- Version 0.2.0 of the libjaylink library has been tested.