Hello team, I would like to confirm... the flashrom 3.0 / ch341a_spi (power patch 3.3V) function with Winbond 25Q256JVEQ; read, write, verify , delete works, tested several times and compared with "diff". Thanks for programming. Flashrom version 3.0 compiled with option ch341a_spi.
greetings Mike
sudo flashrom13_ch341a -r original3.bin -p ch341a_spi -c W25Q256JV_Q -V flashrom v1.3.0 on Linux 5.15.0-69-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). flashrom was built with GCC 11.3.0, little endian Command line (7 args): flashrom13_ch341a -r original3.bin -p ch341a_spi -c W25Q256JV_Q -V Initializing ch341a_spi programmer Device revision is 3.0.4 The following protocols are supported: SPI. Probing for Winbond W25Q256JV_Q, 32768 kB: compare_id: id1 0xef, id2 0x4019 Added layout entry 00000000 - 01ffffff named complete flash Found Winbond flash chip "W25Q256JV_Q" (32768 kB, SPI) on ch341a_spi. Chip status register is 0x00. 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). ===
sometimes, after restart:
sudo flashrom13_ch341a -r original3.bin -p ch341a_spi -c W25Q256JV_Q flashrom v1.3.0 on Linux 5.15.0-69-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).
cb_out: error: LIBUSB_TRANSFER_TIMED_OUT config_stream: Failed to write 3 bytes Could not configure stream interface. Error: Programmer initialization failed.
after repluging, flasher works fine