chore: update readme for shorting instruction
This commit is contained in:
16
README.md
16
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).
|
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
|
Make the chip enter bootloader mode (ISP mode) by power cycling the chip while
|
||||||
USB port) while plugging in the USB to enter the bootloader. Then run:
|
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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Then run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wchisp flash badgemagic-ch582.bin
|
wchisp flash badgemagic-ch582.bin
|
||||||
|
|||||||
532
assets/burn-badge.svg
Normal file
532
assets/burn-badge.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 9.1 MiB |
Reference in New Issue
Block a user