My changes:
- Demo of master branch directly hosted on github pages, so you can run it directly from here, you need to enable github pages on the root folder if you fork this repository
- Simplified the demo to only connect, display memory and flash
- Added support for AT32F403RCT6 chip from Artery which is a faster clone of STM32F103RCT6
To do:
- Flashing sometimes fails, but succeeds the next time, check the latest fixes in pystlink
- Test if unlock also works on various chips
- Should we be able to set option bytes ? It can be a problem on GD32 chips because of the hardware watchdog (see Openocd comments)
- How to keep eeprom emulation data unchanged when flashing ? (eg. erase only before 0x08010000 ? )
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
- Reading registers
- Reading memory
- Halt/step/run/reset
- Erasing/writing flash (tested on STM32F103 only)
webstlink depends on WebUSB and many ES6 features. For best results, test with Chrome 61 or newer.
You can test locally with any webserver. For a one-liner, run:
python -m SimpleHTTPServer
and navigate to http://localhost:8000/demo/
webstlink is available under the terms of the MIT license, the same as the pystlink project.