Hi,
thanks for working on flashrom which seems to be great!
I tried to use it in order to flash an NVidia GTX780M to put it in a iMac 2010 which has graphic issue today.
I tried to flash it using a CH341A module.
I was able to save rom in a file using flashrom on MacOS X.
But I have a problem trying to write a new rom on that card.
This is the result I got... Do you know if I must change jumpers or something on my CH341A controller. Or do you think this can be a plug issue on the chip ?
Tell me if you want a more verbose log maybe...
Thanks à lot!
Ced
flashrom -p ch341a_spi -w ~/Downloads/780M_BR2.rom
flashrom v1.2 on Darwin 19.6.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
Found PMC flash chip "Pm25LD020(C)" (256 kB, SPI) on ch341a_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x4e, failed byte count from 0x00000000-0x00000fff: 0xf85
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x4e, failed byte count from 0x00000000-0x00000fff: 0xf85
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x4e, failed byte count from 0x00000000-0x0000ffff: 0xf6c3
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
libusb: warning [darwin_transfer_status] transfer error: timed out
cb_in: error: LIBUSB_TRANSFER_TIMED_OUT
ch341a_spi_spi_send_command: Failed to read 4100 bytes
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 1
Verification impossible because read failed at 0x0 (len 0x40000)
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x4e, failed byte count from 0x00000000-0x0003ffff: 0x27c8d
ERASE FAILED!
Reading current flash chip contents... libusb: warning [darwin_transfer_status] transfer error: timed out
cb_in: error: LIBUSB_TRANSFER_TIMED_OUT
ch341a_spi_spi_send_command: Failed to read 4100 bytes
libusb: warning [darwin_abort_transfers] aborting all transactions on interface 0 pipe 1
Can't read anymore! Aborting.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Good, writing to the flash chip apparently didn't do anything.
Please check the connections (especially those to write protection pins) between
the programmer and the flash chip. If you think the error is caused by flashrom
please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom@flashrom.org, thanks!