here is the log :
sudo flashrom --programmer linux_spi:dev=/dev/spidev0.0 -c MX25L3239E -w flash_F.bin flashrom 1.4.0-devel (git:v1.2-1438-g0f2128d7) on Linux 5.15.61-v7+ (armv7l) flashrom is free software, get the source code at https://flashrom.org
Using default 2000kHz clock. Use 'spispeed' parameter to override. Found Macronix flash chip "MX25L3239E" (4096 kB, SPI) on linux_spi. Reading old flash chip contents... done. Erase/write done from 0 to 3fffff Verifying flash... FAILED at 0x00000500! Expected=0x2b, Found=0xff, failed byte count from 0x00000000-0x003fffff: 0x404d8 Your flash chip is in an unknown state. Please report this to the mailing list at flashrom@flashrom.org or on IRC (see https://www.flashrom.org/Contact for details), thanks!
best regards
Imed ________________________________ From: Imed Hanchour Sent: Thursday, 16 May 2024 09:35 To: flashrom@flashrom.org flashrom@flashrom.org Subject: Issue with Flashrom: Failed Erase Operation
I am writing to report an issue I encountered while attempting to use Flashrom on my system. I am currently using Flashrom version 1.4.0-devel on a Raspberry Pi running Linux 5.15.61-v7+ (armv7l). When trying to perform an erase operation on a Macronix flash chip "MX25U3235E/F" (4096 kB, SPI) using the linux_spi interface, I encountered the following error:
FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x003fffff: 0x3b5631 ERASE FAILED! Erase/write done from 0 to 3fffff Erase FailedYour flash chip is in an unknown state.
I have attempted to troubleshoot the issue by ensuring proper connections and trying the operation multiple times without success. I have also verified that the flash chip is supported by Flashrom. Could you please provide guidance on how to resolve this issue or any additional troubleshooting steps I can take? I am eager to contribute to resolving this problem and willing to provide any further information or logs that may be needed. Thank you for your attention to this matter. I appreciate your support and assistance.
Best regards Imed