carlossless / sinowealth-kb-tool

A utility for reading and writing flash contents on Sinowealth 8051-based HID devices through the commonly found ISP bootloader
MIT License
54 stars 15 forks source link

corrected ISP behaviour, documented commands #22

Closed carlossless closed 7 months ago

carlossless commented 8 months ago

Changes here clean up all of the various ISP commands, remove the unused and not needed command arguments, remove unneeded firmware fixups (pre-read and pre-write), and document ISP behavior.

Thanks to @gashtaan for providing details from his analysis of the bootloader code!

This also renames the --flash_size arg to --firmware_size.