Hi,
I encountered a flash chip that is not known to flashrom. I built flashrom from git, HEAD 153359935aa5. Write reported a fail, the other operations suceeded. Command line was:
LD_LIBRARY_PATH=/home/arne/libftdi/build/src/libftdi.so.2 /home/arne/flashrom/flashrom -p ft2232_spi:type=2232H,port=A -w rv901_orig_rom.bin
on arch linux (i needed build libftdi from source due to missing symbols in libusb).
The datasheet for the chip is probably
https://semic-boutique.com/wp-content/uploads/2016/05/ZB25VQ32.pdf
Attached are the -VV logs for id, erase, write and read.
Repeating write always fail in different places.
-Arne