:~# /usr/local/sbin/flashrom -p ch341a_spi -w /home/ssss/SMT_X10IPMI_400_REDFISH.bin
flashrom 1.4.0-devel (git:v1.2-1414-g2a5d2920) on Linux 5.15.0-102-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Macronix flash chip "MX25L25635F/MX25L25645G" (32768 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 flashrom@flashrom.org 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.
You can also try to follow the instructions here:
https://www.flashrom.org/contrib_howtos/how_to_mark_chip_tested.html
Thanks for your help!
Unsetting lock bit(s) failed.
Reading old flash chip contents... done.
FAILED at 0x0044f004! Expected=0xff, Found=0xc1, failed byte count from 0x0044f000-0x0044ffff: 0x7
ERASE FAILED!
Erase/write done from 0 to 1ffffff
Write Failed!Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Apparently at least some data has changed.
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!