webstlink
webstlink copied to clipboard
Javascript library to control ST-Link debuggers from the browser
webstlink
webstlink is a port of pystlink, using the WebUSB API as a backend to control ST-Link/V2 and ST-Link/V2-1 debug probes from the browser.
Check out the live demo online
Tested features
- Reading registers
- Reading memory
- Halt/step/run/reset
- Erasing/writing flash (tested on STM32F103 only)
Dependencies
webstlink depends on WebUSB and many ES6 features. For best results, test with Chrome 61 or newer.
Local testing
You can test locally with any webserver. For a one-liner, run:
python -m SimpleHTTPServer
and navigate to http://localhost:8000/demo/
Licensing
webstlink is available under the terms of the MIT license, the same as the pystlink project.