2011/10/17 Stefan Tauner stefan.tauner@student.tuwien.ac.at:
hi and thanks for your report!
to me it looks like erase is also failing. your -VE log shows:
Erasing and writing flash chip... Trying erase function 0... 0x000000-0x01ffff:E, 0x020000-0x037fff:E, 0x038000-0x039fff:E, 0x03a000-0x03bfff:EERASE FAILED at 0x0003a705! Expected=0xff, Read=0xfd, failed byte count from 0x0003a000-0x0003bfff: 0x39 ERASE FAILED! Reading current flash chip contents... done. Looking for another erase function. Trying erase function 1... 0x000000-0x03ffff:EERASE FAILED at 0x0003a737! Expected=0xff, Read=0xfe, failed byte count from 0x00000000-0x0003ffff: 0x1b ERASE FAILED! Looking for another erase function. No usable erase functions left. FAILED!
then writing will fail too of course...
Sorry, I didn't notice that. It's strange, because I ran the following sequence: flashrom -r before.bin, flashrom -VE, flashrom -r after.bin. The chip had a previous BIOS from another board (before.bin) and after flashrom -VE the file after.bin is empty. I checked both in a hex editor.
Marcos