Hello,
flashrom reports an error and asked me to report it, so here goes:
------------ START ------------- flashrom -p buspirate_spi:dev=/dev/ttyUSB0,spispeed=128 -c "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" -w new.img flashrom v1.2 on Linux 5.15.0-71-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Invalid SPI speed, using default. Bus Pirate firmware 6.1 and older does not support SPI speeds above 2 MHz. Limiting speed to 2 MHz. It is recommended to upgrade to firmware 6.2 or newer. Found Macronix flash chip "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F" (8192 kB, SPI) on buspirate_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done. Verifying flash... FAILED at 0x005a1200! Expected=0x00, Found=0xff, failed byte count from 0x00000000-0x007fffff: 0x100 Your flash chip is in an unknown state. Please report this on IRC at chat.freenode.net (channel #flashrom) or mail flashrom@flashrom.org, thanks! ------------ END -------------
Background: I am currently flashing a few dozen Spansion MX25L64 roms using flashrom and BusPirate and it usually works fine. The above error happened ONCE, simply repeating the flashrom command resolved the issue, so it's probably not software related.
Just let me know if you need more info.
Finally, a big thank you for your work!
Best regards Gregor