Bug #609
openDediprog SF100 reads incorrectly with MX77U51250F and W25Q256JV_Q
0%
Description
When programming with the DediProg SF100 firmware versions 5.5.03 and 6.5.03 on a Macronix MX77U51250F there are errors with reading. For each byte read, bits at BP 5, 4, 3, and 1 are always read as 1 which causes reading to be inaccurate and writing to fail due to failed verification. This error was also found with Winbond W25Q256JV_Q chip as well, but different bits always set high.
The Windows DediPro app sends CMD_SET_IO_LED commands to the MX77U51250F with the IO1 and IO4 bits set which when applied to flashrom's code fixes the issue and reading is done correctly.
Because of the wide range of DediProg programmer versions and chips, I cannot test this change sufficiently enough to guarantee that it does not produce an error on a chip where there was not one or does not fix reading errors on others. This has been tested on the following chips with DediProg SF100 programmers at versions 5.5.03 and 6.5.03 and everything worked well. The W25Q256JV_Q and MX77U51250F have reading issues with the current version which were not present with setting IO bits. The others were working properly and continued to work.
- MX77U51250F
- MX25L12835F
- MT25QL512
- MT25QL02GC
- W25Q128.V
- W25Q256JV_Q
See the diff below for the change which allegedly fixes the bug. This needs more testing to verify setting the IO1 and IO4 bits fixes issues with all chips and does not create new problems, or maybe there is another solution to fixing these reading errors.
Files