Nick: risk E-mail: none Board: FM25Q128 Contents: flashrom v2.0.0-devel (git:v1.8.0-9-g9abe42a3) on Linux 6.18.35-0-rpi (armv7l) flashrom is free software, get the source code at https://flashrom.org flashrom was built with GCC 15.2.0, little endian Command line (7 args): flashrom -c FM25Q128 -p linux_spi:dev=/dev/spidev0.0,spispeed=10000 -w rom_16MB.bin -VV Initializing linux_spi programmer Using device /dev/spidev0.0 Using 10000kHz clock get_max_kernel_buf_size: Using value from /sys/module/spidev/parameters/bufsiz as max buffer size. linux_spi_init: max_kernel_buf_size: 4096 The following protocols are supported: SPI. Probing for Fudan FM25Q128, 16384 kB: compare_id: id1 0xa1, id2 0x4018 Added layout entry 00000000 - 00ffffff named complete flash Found Fudan flash chip "FM25Q128" (16384 kB, SPI) on linux_spi. Chip status register is 0x20. Chip status register: Block Protect Write Disable (BPL) is not set Chip status register: Bit 6 is not set Chip status register: Top/Bottom (TB) is bottom Chip status register: Block Protect 2 (BP2) is not set Chip status register: Block Protect 1 (BP1) is not set Chip status register: Block Protect 0 (BP0) is not set Chip status register: Write Enable Latch (WEL) is not set Chip status register: Write In Progress (WIP/BUSY) is not set This chip may contain one-time programmable memory. flashrom cannot read and may never be able to write it, hence it may not be able to completely clone the contents of this chip (see man page for details). === This flash part has status UNTESTED for operations: ERASE WRITE 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! Block protection is disabled. Reading old flash chip contents... read_flash: region (00000000..0xffffff) is readable, reading range (00000000..0xffffff). done. Updating flash chip contents... erase_write: region (00000000..0xffffff) is writable, erasing range (00000000..0xffffff). 000000..0x0fff verify_range: Verifying region (00000000..0xffffff) read_flash: region (00000000..0xffffff) is readable, reading range (00000000..0x000fff). FAILED at 0x00000000! Expected=0xff, Found=0x28, failed byte count from 0x00000000-0x00000fff: 0xc09 ERASE FAILED! Erase/write done from 0 to ffffff Write Failed!Uh oh. Erase/write failed. Checking if anything has changed. Reading current flash chip contents... read_flash: region (00000000..0xffffff) is readable, reading range (00000000..0xffffff). 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 to the mailing list at flashrom@flashrom.org or on chat (see https://flashrom.org/contact.html for details), thanks! Runtime from programmer init to shutdown: 0min29sec