Greetings!
I was using flashrom to flash MX25L6445E chip with CH341A USB device. The chip
is read without errors, but once I try to write it says the following:
=====================================
> flashrom -p ch341a_spi -c "MX25L6436E/MX25L6445E/MX25L6465E" -w dump.202.bin
flashrom v1.7.0 (git:v1.7.0) on Linux 6.8.0-117-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Found Macronix flash chip "MX25L6436E/MX25L6445E/MX25L6465E" (8192 kB, SPI) on
ch341a_spi.
Reading old flash chip contents... done.
Updating flash chip contents...
cb_in: error: LIBUSB_TRANSFER_STALL
cb_out: error: LIBUSB_TRANSFER_STALL
ch341a_spi_spi_send_command: Failed to write 36 bytes
Register read failed!
Erase/write done from 0 to 7fffff
Write Failed!Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents...
cb_in: error: LIBUSB_TRANSFER_STALL
ch341a_spi_spi_send_command: Failed to read 4100 bytes
cb_in: error: LIBUSB_TRANSFER_STALL
read_flash: failed to read (00000000..0x7fffff).
Can't even read anymore!
Your flash chip is in an unknown state.
Please report this to the mailing list at [email protected] or
on chat (see https://flashrom.org/contact.html for details), thanks!
cb_in: error: LIBUSB_TRANSFER_STALL
cb_out: error: LIBUSB_TRANSFER_STALL
ch341a_spi_spi_send_command: Failed to write 36 bytes
Register read failed!
cb_out: error: LIBUSB_TRANSFER_STALL
enable_pins: Failed to write 4 bytes
Could not disable output pins.
=====================================
Sometimes the error is LIBUSB_TRANSFER_TIMEOUT.
The result is erased regions on the chip, which were to be written.
The error first appeared on v1.3.0, but thecompilation of v1.7.0 didn't solve
the problem. I tried different USB ports, USB hub with external power, other
laptop - nothing helps.
Please advise.
--
Sincerely, me...
_______________________________________________
flashrom mailing list -- [email protected]
To unsubscribe send an email to [email protected]