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.

2.2 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Dump CSRs using regs subcommand
  • Show firmware size info when flashing
  • Add a progress bar when flashing

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