You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
2.7 KiB

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Add `--watch-serial` for `flash` subcommand, #36
- Add `-o/--out` for `dump` sumcommand, #38
- BREAKING CHANGE: Refactor
- Add Windows native driver support, #39
- Use loaded memory address from ELF file or ihex file
### Changed
- No erase by default when flashing
## [0.0.7] - 2023-11-04
### Added
- Dump CSRs using `regs` subcommand
- Show firmware size info when flashing
- Add a progress bar when flashing
- New chip: CH641, a RV32EC chip almost the same as CH32V003
- SDI print support, #34
- Add serial number field to probe
### Fixed
- Bypass attach chip when using special erase in #32
## [0.0.6] - 2023-10-07
### Added
- Add `--speed` option to specify protocol speed
- Add `erase --method power-off` option to support erase with power off
- Add `erase --method pin-rst` option to support erase with RST pin, close #26
- Add a simple chip ID db, now wlink can identify chip type automatically
### Fixed
- Regression in `flash` command
- Use chip type from the protocol, close #25
- Support 2.10 (aka. v30) firmware, close #27
- Fix `--no-detach` option is not working
- Use DMI to read memory, avoid using probe commands
### Changed
- Allow underscore `_` in number literals in command line
- Refine protocol naming
- Add a simple DMI algorithm skeleton
## [0.0.5] - 2023-07-31
### Added
- Support WCH-LinkW, a CH32V208 flasher with wireless connection
- Support WCH-Link firmware 2.9, some raw commands are changed
- Support Flash protect and unprotect (#14)
- Fix stuck for CH5xx devices, due to unsppported read ram rom split command
- Add `--chip` option to specify chip type
- Check probe type when doing mode-switch
- Add support for CH32X035
- Add support for CH59X
### Fixed
- Constraint regs for riscv32ec variant
- Wrong 0x0c command interpretation, this should be a set chip speed command
- Cannot flash CH32V003 (#23). Now wlink won't get info when attaching chip
### Changed
- Refine error messages
- `--address` for flash is now optional, default to device flash start address
## [0.0.4] - 2023-07-01
### Added
- Add `mode-switch` subcommand to switch between RV mode and DAP mode (#3)
- Add `hex`, `ihex` and `elf` format support for `flash` subcommand
### Fixed
- Fix communication parity error of abstractcs register (#16)
- Do not halt when read register
### Changed
- Refine attach chip logic, more robust now
- Refine docs
## [0.0.3] - 2023-03-01
### Added
- Everything just works