From 8e497a6b9ad648e9f6e1220b5153fb9962098c64 Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Sun, 14 Jan 2024 21:15:48 +0100 Subject: update CH582 bootloader instructions --- CH582.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'CH582.md') diff --git a/CH582.md b/CH582.md index 2fb36b7..e6143eb 100644 --- a/CH582.md +++ b/CH582.md @@ -1,7 +1,7 @@ # CH582 * Chip is read protected for code sections -* Bootloader is active +* Bootloader is active. * BLE update seems deactivated ## Hardware Details @@ -20,6 +20,17 @@ TBD TBD +### Bootloader + +To enter bootloader, you have to press the bottom button when plugging USB. + +The bootloader will remain active for few seconds, waiting for upload. + +Important: Because the badge reassigns the bootloader pin as GPIO after boot, +it is impossible to switch to bootloader as long as the battery is connected +to the board (the board is always powered and does not reset). To be able to +access the bootloader you must then desolder the battery. + ## Development Hardware * [WCH Link Debugger](https://www.aliexpress.us/item/3256803507003815.html) @@ -32,5 +43,5 @@ TBD * [CH583 Evaluation Board SDK](https://github.com/openwch/ch583) -* [Open Source Toolchain for CH582/CH583](https://github.com/cjacker/opensource-toolchain-ch32vĂ  +* [Open Source Toolchain for CH582/CH583](https://github.com/cjacker/opensource-toolchain-ch32v) -- cgit v1.2.3