From 246b8ea0f188d0bc9bb914c0049d55fc0416933d Mon Sep 17 00:00:00 2001 From: Andelf Date: Mon, 20 Feb 2023 09:02:20 +0800 Subject: [PATCH] chore: bump version --- CHANGELOG.md | 10 ++++++++-- Cargo.toml | 2 +- README.md | 11 ++++++++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 123e31f..8b173f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.2] - 2023-02-20 + +### [Added] + +- Enable 2-wire debug for ch57x, update default reset config reg values + ### Fixed - Hang on Linux caused by libusb timeout #22 ## [0.2.1] - 2023-01-28 -### [Added] +### Added - EEPROM erase support - EEPROM write support @@ -25,7 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.2.0] - 2022-11-13 -### [Added] +### Added - EEPROM dump support, fix #12 - Refactor all subcommands, using clap v4 diff --git a/Cargo.toml b/Cargo.toml index 8caba1e..1e063a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wchisp" -version = "0.2.1" +version = "0.2.2" edition = "2021" authors = ["Andelf "] repository = "https://github.com/ch32-rs/wchisp" diff --git a/README.md b/README.md index 0b10d36..dec4ba0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,12 @@ Command-line implementation of the WCHISPTool in Rust, by the ch32-rs team. This tool is a work in progress. +- **NOTE**: CH32V003 does not have a USB ISP interface, use WCH-Link to program +- **NOTE**: This tool is for USB ISP, not using with WCH-Link + - Currently I'm working on a WCH-Link implementation + ## TODOs + - [x] chip detection, identification - `wchisp probe` - `wchisp info` @@ -16,14 +21,14 @@ This tool is a work in progress. - [x] skip erasing, verifying, resetting - [x] chip config register dump - `wchisp config` - - works for most chips, but not all + - works for most chips, but not all. Issues and PRs are welcomed - [ ] write config registers - - [x] reset config registers to default(unprotected state) + - [x] reset config registers to default(unprotected, debug-enabled state) - [ ] write config with friendly register names? like `wchisp config set SRAM_CODE_MODE=1 ...` - [x] EEPROM dump - [x] EEPROM erase - [x] EEPROM write -- [x] select from multiple chips(using index) `wchisp -d 0 info` +- [x] select from multiple chips(using `-d` to select index) `wchisp -d 0 info` - [ ] ISP via UART or Net ## Usage