This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
Releases: jmaselbas/wch-isp
Releases · jmaselbas/wch-isp
v0.4.0
notable changes:
- New device family "CH32V30x" (0x17)
- Dynamically read code flash size config on certain devices
-d
option can also select a device by its index, if the uid didn't mach anything- if no commands are passed then list all detected devices by default
changlog v0.3.0...v0.4.0 :
- Update manpage and README
- Properly add "list" to the command list
- Allow to select a device by its index
- Set a fallback flash size if nothing is in the device db
- Sort devices lists by ids
- Add more devices to the 0x17 family
- Remove package information from device name
- Fix incorrect device list for 0x17 family
- Update arg.h
- Verify command early and list device by default
- Create a function to print device information
- Add a code flash/sram config look-up table to device db
- Redefine a macro for reading the user conf
- Rename macro SZ_UNDEFINE to SZ_FROM_CONF
- Add MCU CH32V307VCT6 with variable flash memory size
- Add missing newline at the end of error msg
v0.3.0
changelog
in v0.3.0:
- Add LICENSE file
- Fix documentation for fmtb()
- Add error message when unknown option is passed
- Typo fix in usage
- Coding-style cleanup
- Add usage help text to README.md
- Print device information before setup isp key
- Rework the workaround for device CH569
- Add message at the end of the command execution
- Add example to the README and the man page
in v0.2.5:
- Rename function that send commands to start with isp_cmd_*
- Rename function that execute user command to start with cmd_*
- Put all commands in an array
- Move cmd functions around
- Directly call exit instead of empty die("") call
- Add printf format attribute to die
- Fix format warning
- Prevent division by zero in progress_bar
- Add const qualifier for data arg in dbg_isp_cmd
- Add bound check in read_btver
- Update man page
in v0.2.4:
- Add -D debug option
- Add proper error check after cmd_erase
- Use sizeof instead of strlen in progress_bar
- Do not fail when writing an empty file
- Catch invalid command
- Add the erase command
- Add remove-wp command
- Update usage information
in v0.2.3:
- Do not define {CPP,C,LD}FLAGS in the Makefile
- Add short help option
- Fix some sign-compare warnings
- Document fmtb function and minor cleanup
- Add streq function to compare strings
- Add a bunch of const and static
- Add family name to device db
- Fix comment typo
- Rework config command to be redefined per device family
in v0.2.2:
- Fix fopen for non-unix
- Fix comment spelling
in v0.2.1:
- Minor tweaks in the manpage
- Fix
--
handled by arg.h - Group device info by familly
- Fix warning in arg.h
v0.2
changelog:
- can detect and list connected wch-isp compatible devices
- can select a given device by its UID
- initial support for dumping the non-volatile register, with
additional decoding only for CH596 - verification is now done by default after writing into flash
v0.1.1
change log:
- two new commands added: verify and reset
- new man page has been added
- udev rules example file and target to install the rules has been added
- improved compatibility with windows (drop the use of mmap in favor of standard C file operations)
- the README has been updated