bigbigmdm / IMSProg

IMSProg - software for CH341A-based programmers to work with I2C, SPI and MicroWire EEPROM/Flash chips
https://antenna-dvb-t2.ru/IMSProg.php
GNU General Public License v3.0
215 stars 38 forks source link

Error on Verify function #28

Closed VittorioBurani closed 8 months ago

VittorioBurani commented 8 months ago

Verify function on I2C EEPROMs fails when verifying files shorter than full EEPROM size because it searches for the dummy 0x00 used to pad the content by the Program function

Maybe adding some 0x00 padding also in the Verify function may solve the issue with hopefully low effort (in the virtual file content bytestring used to do the comparison you could pad accordingly to what happens during Program)

Issue find on Ubuntu 22.04 LTS, writing on the following IC:

bigbigmdm commented 8 months ago

Thanks, I'll look into it.

bigbigmdm commented 8 months ago

I fixed this error. Please test the new version.

bigbigmdm commented 8 months ago

I fixed this error. Please test the new version.

mrv96 commented 7 months ago

Issue not 100% fixed: https://github.com/bigbigmdm/IMSProg/pull/29#issuecomment-1871286177