Hi, hoping to get some help on this as I believe the BIOS is the issue on this box.
I am able to see and pull down a copy of the existing code but I cannot write back as it says it is unable to unset the lock bits. I see in the documentation for the chip that it expects manipulation of the CS pin which I do not know if that is occurring but it is wired (when not wired it will not detect the chip).
Chip is AT25DF641-S3H
Using a Raspberry Pi (Original) with a stand-alone DC power supply to power the chip, requiring 3.5V or is not seen.
Last portion of the log:
Found Atmel flash chip "AT25DF641(A)" (8192 kB, SPI). Ignoring security lockdown (if present) Some block protection in effect, disabling... Need to disable the register lock first... Unsetting lock bit(s) failed. Reading old flash chip contents... done. Erasing and writing flash chip... Trying erase function 0... 0x000000-0x000fff:EFAILED at 0x00000010! Expected=0xff, Found=0x5a, failed byte count from 0x00000000-0x00000fff: 0xb4 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 1... 0x000000-0x007fff:S, 0x008000-0x00ffff:S, 0x010000-0x017fff:EFAILED at 0x00010000! Expected=0xff, Found=0x20, failed byte count from 0x00010000-0x00017fff: 0xa5 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 2... 0x000000-0x00ffff:EFAILED at 0x00000010! Expected=0xff, Found=0x5a, failed byte count from 0x00000000-0x0000ffff: 0xb6 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 3... 0x000000-0x7fffff:EFAILED at 0x00000010! Expected=0xff, Found=0x5a, failed byte count from 0x00000000-0x007fffff: 0x3f606d ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 4... 0x000000-0x7fffff:EFAILED at 0x00000010! Expected=0xff, Found=0x5a, failed byte count from 0x00000000-0x007fffff: 0x3f2b1c ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 5... not defined. No usable erase functions left. FAILED! Uh oh. Erase/write failed. Checking if anything has changed. Reading current flash chip contents... done. Apparently at least some data has changed. 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!
Thank you,
Eric