Home - devanlai/DAPLink GitHub Wiki
This repository is a fork of the mbed DAPLink firmware repository adding experimental WebUSB support.
The firmware has an additional USB Device Firmware Upgrade interface that can be used to flash the target microcontroller instead of the mass-storage drag'n'drop interface.
The firmware reports descriptors for WebUSB support, allowing WebUSB-enabled pages to access the device. Currently, the only interface accessible is the new USB DFU interface, which can be used to reprogram the target directly from the browser.
In the future, CMSIS-DAP commands could be proxied through another USB interface to allow direct SWD debug access from the browser.
The primary development platform is the ST Nucleo F103RB development board. The DAPLink firmware has been ported to run on the embedded STLink/V2-1 present on all ST Nucleo boards.
See Installing Firmware for flashing instructions.
https://devanlai.github.io/webdfu/dfu-util/
A utility similar to dfu-util, but contained entirely in the browser.
https://devanlai.github.io/webdfu/mbed-download/
A proof-of-concept that uses the mbed remote compile API to build mbed programs and flash them with a single button press.