james1236 / microbit-webusb-flash-and-serial

A minimal tool for flashing a micro:bit v2 over WebUSB and communicating using Serial.

Repository from Github https://github.comjames1236/microbit-webusb-flash-and-serialRepository from Github https://github.comjames1236/microbit-webusb-flash-and-serial

micro:bit WebUSB Flash and Serial

A minimal tool for flashing a micro:bit v2 over WebUSB and communicating using Serial.

Created as I couldn't find an open-source micro:bit WebUSB flasher that wasn't mixed with other code from a bigger website.

Currently fails for large hex files.

Usage

Run make, or manually run python3 -m http.server 8080

Don't run the HTML file directly as it won't be able to access MICROBIT.hex.

Instead, visit the page at localhost:8080/webusb.html,

Compatibility

Device Notes
micro:bit v2 Works, but fails with large hex files
micro:bit v1 Unknown

Dependencies

The following required files have been put in the repository:

About

A minimal tool for flashing a micro:bit v2 over WebUSB and communicating using Serial.


Languages

Language:JavaScript 84.1%Language:HTML 15.9%Language:Makefile 0.1%