On Mon, 17 Oct 2011 19:25:47 -0200 Marcos Felipe Rasia de Mello marcosfrm@gmail.com wrote:
Tested using hot swap in this board http://www.flashrom.org/pipermail/flashrom/2011-September/007986.html already reported.
Erase works (I compared the chip content before and after), but the write process fails. I can easily test if you need, because I have a backup BIOS chip.
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...
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