diff --git a/README.md b/README.md index ac1df59..8e57961 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,20 @@ Install [wchisp](https://github.com/ch32-rs/wchisp?tab=readme-ov-file#installing Download prebuilt binaries from [release](https://github.com/fossasia/badgemagic-firmware/releases) or [the latest development builds](https://github.com/fossasia/badgemagic-firmware/tree/bin). -Make sure the battery is disconnected. Press and hold KEY2 (the button near the -USB port) while plugging in the USB to enter the bootloader. Then run: +Make the chip enter bootloader mode (ISP mode) by power cycling the chip while +the boot pin is pulled down in one of two ways: + +- Disconnect the battery, press and hold KEY2 (the button near the USB port) + while plugging in the USB to enter the bootloader. +- Alternatively, connect the USB, press and hold KEY2, then short and release + the C3 capacitor. + +Then check `dmesg` if the chip has entered the ISP mode with idVendor=4348 and +idProduct=55e0. + +![c3](assets/burn-badge.svg) + +Then run: ```sh wchisp flash badgemagic-ch582.bin diff --git a/assets/burn-badge.svg b/assets/burn-badge.svg new file mode 100644 index 0000000..bef50d2 --- /dev/null +++ b/assets/burn-badge.svg @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +