- Joined
- Jan 1, 2020
- Messages
- 616
- Motherboard
- MSI Z490 MPG Gaming Edge Wifi
- CPU
- i5-10600K
- Graphics
- RX 6600 XT
- Mac
Hi @CaseySJ@Elias64Fr,
With PD_RESET_1 jumper in "floating" state (pins 2-3 connected) or removed, the flash ROM cannot be detected:
Code:% sudo flashrom -p ch341a_spi -r asrock5.bin flashrom v1.3.0 on Darwin 23.5.0 (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically.
With RTD3 jumper connected to pins 1-2 instead of default 3-4, the flash ROM also cannot be detected.
With PD_RESET_1 and RTD3 in their default state, flash ROM is detectable with Force_PWR1 on or off. But the chip is sometimes detected as a generic device:
Code:Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on ch341a_spi.
And very occasionally as Macronix:
Code:% sudo flashrom -p ch341a_spi -r asrock5.bin flashrom v1.3.0 on Darwin 23.5.0 (x86_64) flashrom is free software, get the source code at https://flashrom.org Calibrating delay loop... OK. libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device Found Macronix flash chip "MX25L8005/MX25L8006E/MX25L8008E/MX25V8005" (1024 kB, SPI) on ch341a_spi. === This flash part has status UNTESTED for operations: WP The test status of this chip may have been updated in the latest development version of flashrom. If you are running the latest development version, please email a report to [email protected] if any of the above operations work correctly for you with this flash chip. Please include the flashrom log file for all operations you tested (see the man page for details), and mention which mainboard or programmer you tested in the subject line. Thanks for your help! Reading flash... done.
No errors were reported this time, but the resulting file is gibberish.
Spoiler below contains additional attempts...
** Attempt #1 **
% sudo flashrom -p ch341a_spi -r asrock2.bin
flashrom v1.3.0 on Darwin 23.5.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Read is not working on this chip. Aborting.
** Attempt #2 **
% sudo flashrom -p ch341a_spi -r asrock2.bin
flashrom v1.3.0 on Darwin 23.5.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Read is not working on this chip. Aborting.
** Attempt #3 **
% sudo flashrom -p ch341a_spi -r asrock2.bin
flashrom v1.3.0 on Darwin 23.5.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Read is not working on this chip. Aborting.
** Attempt #4 **
% sudo flashrom -p ch341a_spi -r asrock2.bin
flashrom v1.3.0 on Darwin 23.5.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Read is not working on this chip. Aborting.
** Attempt #5 **
% sudo flashrom -p ch341a_spi -r asrock2.bin
flashrom v1.3.0 on Darwin 23.5.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device
Found Macronix flash chip "MX25L8005/MX25L8006E/MX25L8008E/MX25V8005" (1024 kB, SPI) on ch341a_spi.
spi_get_erasefn_from_opcode: unknown erase opcode (0xc6). Please report this at [email protected]
===
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to [email protected] if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Block protection could not be disabled!
Reading flash... done.
... but the data in file is corrupt.
I'll try using Raspberry Pi over the weekend because we can usespispeed
parameter to change the read/write frequency in MHz. I'll try using a reduced frequency.
I use same common CH341A programmer as ori69 on last screenshot of his post .
Daily use jumpers position is Force_PWR1 on 1-2 (ON, left position), PD_RESET_1 on 1-2 (ON, left position) and RTD3 on 3-4 (right position).
From this jumpers configuration, I connect SOIC8 connector on Flash component of board then plug USB connector of programmer. Red LED switch ON and orange RUN LED blink one time.
I use the following command :
sudo flashrom -p ch341a_spi -c MX25L8005/MX25L8006E/MX25L8008E/MX25V8005 -r ASROCK_Thunderbolt4_AIC_Last1.bin
For the first attempt, I have an error related to Programmer initialization
then after a second attempt I have an Error detection of Flash componentFailed to claim interface 0: 'LIBUSB_ERROR_NOT_FOUND'
Error: Programmer initialization failed.
From this state, I only have to remove PD_RESET_1 jumper with programmer still powered and plugged. After this, all read/write attempts are working.No EEPROM/flash device found.
sudo flashrom -p ch341a_spi -c MX25L8005/MX25L8006E/MX25L8008E/MX25V8005 -w ASROCK_Thunderbolt4_AIC_Last1mod.bin
After success flashing, plug back PD_RESET_1 jumper on daily use position (1-2).
Last edited: