From 2bbecf2b3f77c0801f02d246aefeb5139d194283 Mon Sep 17 00:00:00 2001 From: Jhalak Upadhyay <89909502+Jhalakupadhyay@users.noreply.github.com> Date: Wed, 19 Mar 2025 15:54:49 +0530 Subject: [PATCH] chore: added the documentation for flashing firmware from windows. (#83) Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> Co-authored-by: Dien-Nhung Nguyen --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 38054fe..ac1df59 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Hardware details and information to build an open firmware for Bluetooth LED bad ## Installation +### Unix 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). @@ -15,6 +16,14 @@ USB port) while plugging in the USB to enter the bootloader. Then run: wchisp flash badgemagic-ch582.bin ``` +### Windows +Install and run [wchisp studio](https://www.wch-ic.com/downloads/WCHISPTool_Setup_exe.html) +Connect the badge via USB and enter bootloader mode. + +The device will automatically appear in the UI. + +Select the `badgemagic-ch582.bin` file and click 'Download'. + Where badgemagic-ch582.bin is the binary downloaded above, the .elf file also works.