diff mbox series

W25Q256JV_Q is checked

Message ID 5f540de10445ae419ce3e49b860603cd@veghelyiattila.hu
State New
Headers show
Series W25Q256JV_Q is checked | expand

Commit Message

works@veghelyiattila.hu April 14, 2025, 12:59 p.m. UTC
hi,

I checked the PROBE - READ - ERASE - WRITE operations of the W25Q256JV_Q 
flash with J-Link and CH341 spi writers.
the flashrom version was the newest development release at 2025-04-14 
(#4d4688ccf132c580107b013d2d929a0816aa89c1)
I made a little modification in the 'jlink_spi.c' source, because I use 
the power supply from the J-Link device pin 19.
this power is 5V, I put a 3.3V LDO (HT7333) after it, and this LDO (and 
decoupling capacitors) need more time to fix output voltage.
I attached the patch file.
[ I tried to ask merge request via Jenkins, but it was too complicated 
for modify one char in the source ;-) ]

my flash type was Winbond 25Q256JVEQ, which recognized by flashrom to 
W25Q256JV_Q or W25Q256FV, both type probed, read, wrote, erased, both 
modality worked fine.

regards,

Attila
flashrom v1.6.0-devel (git:v1.5.0-48-g8e881fe2) on Linux 6.1.0-32-amd64 (x86_64)
flashrom was built with GCC 12.2.0, little endian
Command line (9 args): flashrom -V -c W25Q256JV_Q --progress -p jlink_spi:cs=tms,power=on -E -o W25Q256JV_Q_flashrom_erase.log
Initializing jlink_spi programmer
Using TMS/CS as chip select signal.
No device selected, using first device.
Firmware: J-Link V9 compiled May  7 2021 16:26:12
S/N: 59411025
VTarget: 3.348 V
Maximum SPI speed: 15000 kHz
SPI speed not specified, using 15000 kHz.
SPI speed: 15000 kHz
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 jlink_spi.
Chip status register is 0x00.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set
Chip status register: Bit 6 is not set
Chip status register: Block Protect 3 (BP3) is not set
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: PROBE READ 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!
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
erase_write:  region (00000000..0x1ffffff) is writable, erasing range (00000000..0x1ffffff).
000000..0x1ffffff verify_range: Verifying  region (00000000..0x1ffffff)
read_flash:  region (00000000..0x1ffffff) is readable, reading range (00000000..0x1ffffff).
[READ:  1%]...                                                [READ:  2%]...                                                [READ:  3%]...                                                [READ:  4%]...                                                [READ:  5%]...                                                [READ:  6%]...                                                [READ:  7%]...                                                [READ:  8%]...                                                [READ:  9%]...                                                [READ: 10%]...                                                [READ: 11%]...                                                [READ: 12%]...                                                [READ: 13%]...                                                [READ: 14%]...                                                [READ: 15%]...                                                [READ: 16%]...                                                [READ: 17%]...                                                [READ: 18%]...                                                [READ: 19%]...                                                [READ: 20%]...                                                [READ: 21%]...                                                [READ: 22%]...                                                [READ: 23%]...                                                [READ: 24%]...                                                [READ: 25%]...                                                [READ: 26%]...                                                [READ: 27%]...                                                [READ: 28%]...                                                [READ: 29%]...                                                [READ: 30%]...                                                [READ: 31%]...                                                [READ: 32%]...                                                [READ: 33%]...                                                [READ: 34%]...                                                [READ: 35%]...                                                [READ: 36%]...                                                [READ: 37%]...                                                [READ: 38%]...                                                [READ: 39%]...                                                [READ: 40%]...                                                [READ: 41%]...                                                [READ: 42%]...                                                [READ: 43%]...                                                [READ: 44%]...                                                [READ: 45%]...                                                [READ: 46%]...                                                [READ: 47%]...                                                [READ: 48%]...                                                [READ: 49%]...                                                [READ: 50%]...                                                [READ: 51%]...                                                [READ: 52%]...                                                [READ: 53%]...                                                [READ: 54%]...                                                [READ: 55%]...                                                [READ: 56%]...                                                [READ: 57%]...                                                [READ: 58%]...                                                [READ: 59%]...                                                [READ: 60%]...                                                [READ: 61%]...                                                [READ: 62%]...                                                [READ: 63%]...                                                [READ: 64%]...                                                [READ: 65%]...                                                [READ: 66%]...                                                [READ: 67%]...                                                [READ: 68%]...                                                [READ: 69%]...                                                [READ: 70%]...                                                [READ: 71%]...                                                [READ: 72%]...                                                [READ: 73%]...                                                [READ: 74%]...                                                [READ: 75%]...                                                [READ: 76%]...                                                [READ: 77%]...                                                [READ: 78%]...                                                [READ: 79%]...                                                [READ: 80%]...                                                [READ: 81%]...                                                [READ: 82%]...                                                [READ: 83%]...                                                [READ: 84%]...                                                [READ: 85%]...                                                [READ: 86%]...                                                [READ: 87%]...                                                [READ: 88%]...                                                [READ: 89%]...                                                [READ: 90%]...                                                [READ: 91%]...                                                [READ: 92%]...                                                [READ: 93%]...                                                [READ: 94%]...                                                [READ: 95%]...                                                [READ: 96%]...                                                [READ: 97%]...                                                [READ: 98%]...                                                [READ: 99%]...                                                [READ: 100%]...                                                [READ: 100%][ERASE: 100%]...E(0:1ffffff)Erase/write done from 0 to 1ffffff
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
flashrom v1.6.0-devel (git:v1.5.0-48-g8e881fe2) on Linux 6.1.0-32-amd64 (x86_64)
flashrom was built with GCC 12.2.0, little endian
Command line (10 args): flashrom -V -c W25Q256JV_Q --progress -p jlink_spi:cs=tms,power=on -w flash-image.bin -o W25Q256JV_Q-flashrom_wite-read.log
Initializing jlink_spi programmer
Using TMS/CS as chip select signal.
No device selected, using first device.
Firmware: J-Link V9 compiled May  7 2021 16:26:12
S/N: 59411025
VTarget: 3.341 V
Maximum SPI speed: 15000 kHz
SPI speed not specified, using 15000 kHz.
SPI speed: 15000 kHz
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 jlink_spi.
Chip status register is 0x00.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set
Chip status register: Bit 6 is not set
Chip status register: Block Protect 3 (BP3) is not set
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: PROBE READ 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!
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
Reading old flash chip contents... 
read_flash:  region (00000000..0x1ffffff) is readable, reading range (00000000..0x1ffffff).
[READ:  1%]...                                                [READ:  2%]...                                                [READ:  3%]...                                                [READ:  4%]...                                                [READ:  5%]...                                                [READ:  6%]...                                                [READ:  7%]...                                                [READ:  8%]...                                                [READ:  9%]...                                                [READ: 10%]...                                                [READ: 11%]...                                                [READ: 12%]...                                                [READ: 13%]...                                                [READ: 14%]...                                                [READ: 15%]...                                                [READ: 16%]...                                                [READ: 17%]...                                                [READ: 18%]...                                                [READ: 19%]...                                                [READ: 20%]...                                                [READ: 21%]...                                                [READ: 22%]...                                                [READ: 23%]...                                                [READ: 24%]...                                                [READ: 25%]...                                                [READ: 26%]...                                                [READ: 27%]...                                                [READ: 28%]...                                                [READ: 29%]...                                                [READ: 30%]...                                                [READ: 31%]...                                                [READ: 32%]...                                                [READ: 33%]...                                                [READ: 34%]...                                                [READ: 35%]...                                                [READ: 36%]...                                                [READ: 37%]...                                                [READ: 38%]...                                                [READ: 39%]...                                                [READ: 40%]...                                                [READ: 41%]...                                                [READ: 42%]...                                                [READ: 43%]...                                                [READ: 44%]...                                                [READ: 45%]...                                                [READ: 46%]...                                                [READ: 47%]...                                                [READ: 48%]...                                                [READ: 49%]...                                                [READ: 50%]...                                                [READ: 51%]...                                                [READ: 52%]...                                                [READ: 53%]...                                                [READ: 54%]...                                                [READ: 55%]...                                                [READ: 56%]...                                                [READ: 57%]...                                                [READ: 58%]...                                                [READ: 59%]...                                                [READ: 60%]...                                                [READ: 61%]...                                                [READ: 62%]...                                                [READ: 63%]...                                                [READ: 64%]...                                                [READ: 65%]...                                                [READ: 66%]...                                                [READ: 67%]...                                                [READ: 68%]...                                                [READ: 69%]...                                                [READ: 70%]...                                                [READ: 71%]...                                                [READ: 72%]...                                                [READ: 73%]...                                                [READ: 74%]...                                                [READ: 75%]...                                                [READ: 76%]...                                                [READ: 77%]...                                                [READ: 78%]...                                                [READ: 79%]...                                                [READ: 80%]...                                                [READ: 81%]...                                                [READ: 82%]...                                                [READ: 83%]...                                                [READ: 84%]...                                                [READ: 85%]...                                                [READ: 86%]...                                                [READ: 87%]...                                                [READ: 88%]...                                                [READ: 89%]...                                                [READ: 90%]...                                                [READ: 91%]...                                                [READ: 92%]...                                                [READ: 93%]...                                                [READ: 94%]...                                                [READ: 95%]...                                                [READ: 96%]...                                                [READ: 97%]...                                                [READ: 98%]...                                                [READ: 99%]...                                                [READ: 100%]...done.
Updating flash chip contents... 
erase_write:  region (00000000..0x1ffffff) is writable, erasing range (00000000..0x1ffffff).
write_flash:  region (00000000..0x1ffffff) is writable, writing range (00000000..0x005fff).
W(0:5fff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x008000..0x03f2ff).
[WRITE:  1%]...W(8000:3f2ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x040000..0x0406ff).
W(40000:406ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x043000..0x06c4ff).
[WRITE:  2%]...                                                [WRITE:  3%]...W(43000:6c4ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x0e0000..0x0e5dff).
W(e0000:e5dff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x100000..0x4594ff).
[WRITE:  4%]...                                                [WRITE:  5%]...                                                [WRITE:  6%]...                                                [WRITE:  7%]...                                                [WRITE:  8%]...                                                [WRITE:  9%]...                                                [WRITE: 10%]...                                                [WRITE: 11%]...                                                [WRITE: 12%]...                                                [WRITE: 13%]...                                                [WRITE: 14%]...                                                [WRITE: 15%]...                                                [WRITE: 16%]...                                                [WRITE: 17%]...                                                [WRITE: 18%]...                                                [WRITE: 19%]...                                                [WRITE: 20%]...                                                [WRITE: 21%]...                                                [WRITE: 22%]...                                                [WRITE: 23%]...                                                [WRITE: 24%]...                                                [WRITE: 25%]...                                                [WRITE: 26%]...                                                [WRITE: 27%]...                                                [WRITE: 28%]...                                                [WRITE: 29%]...                                                [WRITE: 30%]...W(100000:4594ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x700000..0x7155ff).
[WRITE: 31%]...W(700000:7155ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x800000..0xd8bfff).
[WRITE: 32%]...                                                [WRITE: 33%]...                                                [WRITE: 34%]...                                                [WRITE: 35%]...                                                [WRITE: 36%]...                                                [WRITE: 37%]...                                                [WRITE: 38%]...                                                [WRITE: 39%]...                                                [WRITE: 40%]...                                                [WRITE: 41%]...                                                [WRITE: 42%]...                                                [WRITE: 43%]...                                                [WRITE: 44%]...                                                [WRITE: 45%]...                                                [WRITE: 46%]...                                                [WRITE: 47%]...                                                [WRITE: 48%]...                                                [WRITE: 49%]...                                                [WRITE: 50%]...                                                [WRITE: 51%]...                                                [WRITE: 52%]...                                                [WRITE: 53%]...                                                [WRITE: 54%]...                                                [WRITE: 55%]...                                                [WRITE: 56%]...                                                [WRITE: 57%]...                                                [WRITE: 58%]...                                                [WRITE: 59%]...                                                [WRITE: 60%]...                                                [WRITE: 61%]...                                                [WRITE: 62%]...                                                [WRITE: 63%]...                                                [WRITE: 64%]...                                                [WRITE: 65%]...                                                [WRITE: 66%]...                                                [WRITE: 67%]...                                                [WRITE: 68%]...                                                [WRITE: 69%]...                                                [WRITE: 70%]...                                                [WRITE: 71%]...                                                [WRITE: 72%]...                                                [WRITE: 73%]...                                                [WRITE: 74%]...                                                [WRITE: 75%]...                                                [WRITE: 76%]...W(800000:d8bfff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x1000000..0x1170fff).
[WRITE: 77%]...                                                [WRITE: 78%]...                                                [WRITE: 79%]...                                                [WRITE: 80%]...                                                [WRITE: 81%]...                                                [WRITE: 82%]...                                                [WRITE: 83%]...                                                [WRITE: 84%]...                                                [WRITE: 85%]...                                                [WRITE: 86%]...                                                [WRITE: 87%]...                                                [WRITE: 88%]...W(1000000:1170fff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x1800000..0x1970fff).
[WRITE: 89%]...                                                [WRITE: 90%]...                                                [WRITE: 91%]...                                                [WRITE: 92%]...                                                [WRITE: 93%]...                                                [WRITE: 94%]...                                                [WRITE: 95%]...                                                [WRITE: 96%]...                                                [WRITE: 97%]...                                                [WRITE: 98%]...                                                [WRITE: 99%]...                                                [WRITE: 100%]...W(1800000:1970fff)Erase/write done from 0 to 1ffffff
Verifying flash... 
read_flash:  region (00000000..0x1ffffff) is readable, reading range (00000000..0x1ffffff).
[READ:  1%]...                                                [READ:  2%]...                                                [READ:  3%]...                                                [READ:  4%]...                                                [READ:  5%]...                                                [READ:  6%]...                                                [READ:  7%]...                                                [READ:  8%]...                                                [READ:  9%]...                                                [READ: 10%]...                                                [READ: 11%]...                                                [READ: 12%]...                                                [READ: 13%]...                                                [READ: 14%]...                                                [READ: 15%]...                                                [READ: 16%]...                                                [READ: 17%]...                                                [READ: 18%]...                                                [READ: 19%]...                                                [READ: 20%]...                                                [READ: 21%]...                                                [READ: 22%]...                                                [READ: 23%]...                                                [READ: 24%]...                                                [READ: 25%]...                                                [READ: 26%]...                                                [READ: 27%]...                                                [READ: 28%]...                                                [READ: 29%]...                                                [READ: 30%]...                                                [READ: 31%]...                                                [READ: 32%]...                                                [READ: 33%]...                                                [READ: 34%]...                                                [READ: 35%]...                                                [READ: 36%]...                                                [READ: 37%]...                                                [READ: 38%]...                                                [READ: 39%]...                                                [READ: 40%]...                                                [READ: 41%]...                                                [READ: 42%]...                                                [READ: 43%]...                                                [READ: 44%]...                                                [READ: 45%]...                                                [READ: 46%]...                                                [READ: 47%]...                                                [READ: 48%]...                                                [READ: 49%]...                                                [READ: 50%]...                                                [READ: 51%]...                                                [READ: 52%]...                                                [READ: 53%]...                                                [READ: 54%]...                                                [READ: 55%]...                                                [READ: 56%]...                                                [READ: 57%]...                                                [READ: 58%]...                                                [READ: 59%]...                                                [READ: 60%]...                                                [READ: 61%]...                                                [READ: 62%]...                                                [READ: 63%]...                                                [READ: 64%]...                                                [READ: 65%]...                                                [READ: 66%]...                                                [READ: 67%]...                                                [READ: 68%]...                                                [READ: 69%]...                                                [READ: 70%]...                                                [READ: 71%]...                                                [READ: 72%]...                                                [READ: 73%]...                                                [READ: 74%]...                                                [READ: 75%]...                                                [READ: 76%]...                                                [READ: 77%]...                                                [READ: 78%]...                                                [READ: 79%]...                                                [READ: 80%]...                                                [READ: 81%]...                                                [READ: 82%]...                                                [READ: 83%]...                                                [READ: 84%]...                                                [READ: 85%]...                                                [READ: 86%]...                                                [READ: 87%]...                                                [READ: 88%]...                                                [READ: 89%]...                                                [READ: 90%]...                                                [READ: 91%]...                                                [READ: 92%]...                                                [READ: 93%]...                                                [READ: 94%]...                                                [READ: 95%]...                                                [READ: 96%]...                                                [READ: 97%]...                                                [READ: 98%]...                                                [READ: 99%]...                                                [READ: 100%]...VERIFIED.
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
flashrom v1.6.0-devel (git:v1.5.0-44-g4d4688cc) on Linux 6.1.0-32-amd64 (x86_64)
flashrom was built with GCC 12.2.0, little endian
Command line (9 args): flashrom -V -c W25Q256JV_Q --progress -p ch341a_spi -E -o W25Q256JV_Q_sh341-flashrom_erase.log
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.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set
Chip status register: Bit 6 is not set
Chip status register: Block Protect 3 (BP3) is not set
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: PROBE READ 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!
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
erase_write:  region (00000000..0x1ffffff) is writable, erasing range (00000000..0x1ffffff).
000000..0x1ffffff verify_range: Verifying  region (00000000..0x1ffffff)
read_flash:  region (00000000..0x1ffffff) is readable, reading range (00000000..0x1ffffff).
[READ:  1%]...                                                [READ:  2%]...                                                [READ:  3%]...                                                [READ:  4%]...                                                [READ:  5%]...                                                [READ:  6%]...                                                [READ:  7%]...                                                [READ:  8%]...                                                [READ:  9%]...                                                [READ: 10%]...                                                [READ: 11%]...                                                [READ: 12%]...                                                [READ: 13%]...                                                [READ: 14%]...                                                [READ: 15%]...                                                [READ: 16%]...                                                [READ: 17%]...                                                [READ: 18%]...                                                [READ: 19%]...                                                [READ: 20%]...                                                [READ: 21%]...                                                [READ: 22%]...                                                [READ: 23%]...                                                [READ: 24%]...                                                [READ: 25%]...                                                [READ: 26%]...                                                [READ: 27%]...                                                [READ: 28%]...                                                [READ: 29%]...                                                [READ: 30%]...                                                [READ: 31%]...                                                [READ: 32%]...                                                [READ: 33%]...                                                [READ: 34%]...                                                [READ: 35%]...                                                [READ: 36%]...                                                [READ: 37%]...                                                [READ: 38%]...                                                [READ: 39%]...                                                [READ: 40%]...                                                [READ: 41%]...                                                [READ: 42%]...                                                [READ: 43%]...                                                [READ: 44%]...                                                [READ: 45%]...                                                [READ: 46%]...                                                [READ: 47%]...                                                [READ: 48%]...                                                [READ: 49%]...                                                [READ: 50%]...                                                [READ: 51%]...                                                [READ: 52%]...                                                [READ: 53%]...                                                [READ: 54%]...                                                [READ: 55%]...                                                [READ: 56%]...                                                [READ: 57%]...                                                [READ: 58%]...                                                [READ: 59%]...                                                [READ: 60%]...                                                [READ: 61%]...                                                [READ: 62%]...                                                [READ: 63%]...                                                [READ: 64%]...                                                [READ: 65%]...                                                [READ: 66%]...                                                [READ: 67%]...                                                [READ: 68%]...                                                [READ: 69%]...                                                [READ: 70%]...                                                [READ: 71%]...                                                [READ: 72%]...                                                [READ: 73%]...                                                [READ: 74%]...                                                [READ: 75%]...                                                [READ: 76%]...                                                [READ: 77%]...                                                [READ: 78%]...                                                [READ: 79%]...                                                [READ: 80%]...                                                [READ: 81%]...                                                [READ: 82%]...                                                [READ: 83%]...                                                [READ: 84%]...                                                [READ: 85%]...                                                [READ: 86%]...                                                [READ: 87%]...                                                [READ: 88%]...                                                [READ: 89%]...                                                [READ: 90%]...                                                [READ: 91%]...                                                [READ: 92%]...                                                [READ: 93%]...                                                [READ: 94%]...                                                [READ: 95%]...                                                [READ: 96%]...                                                [READ: 97%]...                                                [READ: 98%]...                                                [READ: 99%]...                                                [READ: 100%]...                                                [READ: 100%][ERASE: 100%]...E(0:1ffffff)Erase/write done from 0 to 1ffffff
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
flashrom v1.6.0-devel (git:v1.5.0-44-g4d4688cc) on Linux 6.1.0-32-amd64 (x86_64)
flashrom was built with GCC 12.2.0, little endian
Command line (10 args): flashrom -V -c W25Q256JV_Q --progress -p ch341a_spi -w flash-image.bin -o W25Q256JV_Q_sh341-flashrom_write-read.log
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.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set
Chip status register: Bit 6 is not set
Chip status register: Block Protect 3 (BP3) is not set
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: PROBE READ 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!
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
Reading old flash chip contents... 
read_flash:  region (00000000..0x1ffffff) is readable, reading range (00000000..0x1ffffff).
[READ:  1%]...                                                [READ:  2%]...                                                [READ:  3%]...                                                [READ:  4%]...                                                [READ:  5%]...                                                [READ:  6%]...                                                [READ:  7%]...                                                [READ:  8%]...                                                [READ:  9%]...                                                [READ: 10%]...                                                [READ: 11%]...                                                [READ: 12%]...                                                [READ: 13%]...                                                [READ: 14%]...                                                [READ: 15%]...                                                [READ: 16%]...                                                [READ: 17%]...                                                [READ: 18%]...                                                [READ: 19%]...                                                [READ: 20%]...                                                [READ: 21%]...                                                [READ: 22%]...                                                [READ: 23%]...                                                [READ: 24%]...                                                [READ: 25%]...                                                [READ: 26%]...                                                [READ: 27%]...                                                [READ: 28%]...                                                [READ: 29%]...                                                [READ: 30%]...                                                [READ: 31%]...                                                [READ: 32%]...                                                [READ: 33%]...                                                [READ: 34%]...                                                [READ: 35%]...                                                [READ: 36%]...                                                [READ: 37%]...                                                [READ: 38%]...                                                [READ: 39%]...                                                [READ: 40%]...                                                [READ: 41%]...                                                [READ: 42%]...                                                [READ: 43%]...                                                [READ: 44%]...                                                [READ: 45%]...                                                [READ: 46%]...                                                [READ: 47%]...                                                [READ: 48%]...                                                [READ: 49%]...                                                [READ: 50%]...                                                [READ: 51%]...                                                [READ: 52%]...                                                [READ: 53%]...                                                [READ: 54%]...                                                [READ: 55%]...                                                [READ: 56%]...                                                [READ: 57%]...                                                [READ: 58%]...                                                [READ: 59%]...                                                [READ: 60%]...                                                [READ: 61%]...                                                [READ: 62%]...                                                [READ: 63%]...                                                [READ: 64%]...                                                [READ: 65%]...                                                [READ: 66%]...                                                [READ: 67%]...                                                [READ: 68%]...                                                [READ: 69%]...                                                [READ: 70%]...                                                [READ: 71%]...                                                [READ: 72%]...                                                [READ: 73%]...                                                [READ: 74%]...                                                [READ: 75%]...                                                [READ: 76%]...                                                [READ: 77%]...                                                [READ: 78%]...                                                [READ: 79%]...                                                [READ: 80%]...                                                [READ: 81%]...                                                [READ: 82%]...                                                [READ: 83%]...                                                [READ: 84%]...                                                [READ: 85%]...                                                [READ: 86%]...                                                [READ: 87%]...                                                [READ: 88%]...                                                [READ: 89%]...                                                [READ: 90%]...                                                [READ: 91%]...                                                [READ: 92%]...                                                [READ: 93%]...                                                [READ: 94%]...                                                [READ: 95%]...                                                [READ: 96%]...                                                [READ: 97%]...                                                [READ: 98%]...                                                [READ: 99%]...                                                [READ: 100%]...done.
Updating flash chip contents... 
erase_write:  region (00000000..0x1ffffff) is writable, erasing range (00000000..0x1ffffff).
write_flash:  region (00000000..0x1ffffff) is writable, writing range (00000000..0x005fff).
W(0:5fff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x008000..0x03f2ff).
[WRITE:  1%]...W(8000:3f2ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x040000..0x0406ff).
W(40000:406ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x043000..0x06c4ff).
[WRITE:  2%]...                                                [WRITE:  3%]...W(43000:6c4ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x0e0000..0x0e5dff).
W(e0000:e5dff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x100000..0x4594ff).
[WRITE:  4%]...                                                [WRITE:  5%]...                                                [WRITE:  6%]...                                                [WRITE:  7%]...                                                [WRITE:  8%]...                                                [WRITE:  9%]...                                                [WRITE: 10%]...                                                [WRITE: 11%]...                                                [WRITE: 12%]...                                                [WRITE: 13%]...                                                [WRITE: 14%]...                                                [WRITE: 15%]...                                                [WRITE: 16%]...                                                [WRITE: 17%]...                                                [WRITE: 18%]...                                                [WRITE: 19%]...                                                [WRITE: 20%]...                                                [WRITE: 21%]...                                                [WRITE: 22%]...                                                [WRITE: 23%]...                                                [WRITE: 24%]...                                                [WRITE: 25%]...                                                [WRITE: 26%]...                                                [WRITE: 27%]...                                                [WRITE: 28%]...                                                [WRITE: 29%]...                                                [WRITE: 30%]...W(100000:4594ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x700000..0x7155ff).
[WRITE: 31%]...W(700000:7155ff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x800000..0xd8bfff).
[WRITE: 32%]...                                                [WRITE: 33%]...                                                [WRITE: 34%]...                                                [WRITE: 35%]...                                                [WRITE: 36%]...                                                [WRITE: 37%]...                                                [WRITE: 38%]...                                                [WRITE: 39%]...                                                [WRITE: 40%]...                                                [WRITE: 41%]...                                                [WRITE: 42%]...                                                [WRITE: 43%]...                                                [WRITE: 44%]...                                                [WRITE: 45%]...                                                [WRITE: 46%]...                                                [WRITE: 47%]...                                                [WRITE: 48%]...                                                [WRITE: 49%]...                                                [WRITE: 50%]...                                                [WRITE: 51%]...                                                [WRITE: 52%]...                                                [WRITE: 53%]...                                                [WRITE: 54%]...                                                [WRITE: 55%]...                                                [WRITE: 56%]...                                                [WRITE: 57%]...                                                [WRITE: 58%]...                                                [WRITE: 59%]...                                                [WRITE: 60%]...                                                [WRITE: 61%]...                                                [WRITE: 62%]...                                                [WRITE: 63%]...                                                [WRITE: 64%]...                                                [WRITE: 65%]...                                                [WRITE: 66%]...                                                [WRITE: 67%]...                                                [WRITE: 68%]...                                                [WRITE: 69%]...                                                [WRITE: 70%]...                                                [WRITE: 71%]...                                                [WRITE: 72%]...                                                [WRITE: 73%]...                                                [WRITE: 74%]...                                                [WRITE: 75%]...                                                [WRITE: 76%]...W(800000:d8bfff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x1000000..0x1170fff).
[WRITE: 77%]...                                                [WRITE: 78%]...                                                [WRITE: 79%]...                                                [WRITE: 80%]...                                                [WRITE: 81%]...                                                [WRITE: 82%]...                                                [WRITE: 83%]...                                                [WRITE: 84%]...                                                [WRITE: 85%]...                                                [WRITE: 86%]...                                                [WRITE: 87%]...                                                [WRITE: 88%]...W(1000000:1170fff)write_flash:  region (00000000..0x1ffffff) is writable, writing range (0x1800000..0x1970fff).
[WRITE: 89%]...                                                [WRITE: 90%]...                                                [WRITE: 91%]...                                                [WRITE: 92%]...                                                [WRITE: 93%]...                                                [WRITE: 94%]...                                                [WRITE: 95%]...                                                [WRITE: 96%]...                                                [WRITE: 97%]...                                                [WRITE: 98%]...                                                [WRITE: 99%]...                                                [WRITE: 100%]...W(1800000:1970fff)Erase/write done from 0 to 1ffffff
Verifying flash... 
read_flash:  region (00000000..0x1ffffff) is readable, reading range (00000000..0x1ffffff).
[READ:  1%]...                                                [READ:  2%]...                                                [READ:  3%]...                                                [READ:  4%]...                                                [READ:  5%]...                                                [READ:  6%]...                                                [READ:  7%]...                                                [READ:  8%]...                                                [READ:  9%]...                                                [READ: 10%]...                                                [READ: 11%]...                                                [READ: 12%]...                                                [READ: 13%]...                                                [READ: 14%]...                                                [READ: 15%]...                                                [READ: 16%]...                                                [READ: 17%]...                                                [READ: 18%]...                                                [READ: 19%]...                                                [READ: 20%]...                                                [READ: 21%]...                                                [READ: 22%]...                                                [READ: 23%]...                                                [READ: 24%]...                                                [READ: 25%]...                                                [READ: 26%]...                                                [READ: 27%]...                                                [READ: 28%]...                                                [READ: 29%]...                                                [READ: 30%]...                                                [READ: 31%]...                                                [READ: 32%]...                                                [READ: 33%]...                                                [READ: 34%]...                                                [READ: 35%]...                                                [READ: 36%]...                                                [READ: 37%]...                                                [READ: 38%]...                                                [READ: 39%]...                                                [READ: 40%]...                                                [READ: 41%]...                                                [READ: 42%]...                                                [READ: 43%]...                                                [READ: 44%]...                                                [READ: 45%]...                                                [READ: 46%]...                                                [READ: 47%]...                                                [READ: 48%]...                                                [READ: 49%]...                                                [READ: 50%]...                                                [READ: 51%]...                                                [READ: 52%]...                                                [READ: 53%]...                                                [READ: 54%]...                                                [READ: 55%]...                                                [READ: 56%]...                                                [READ: 57%]...                                                [READ: 58%]...                                                [READ: 59%]...                                                [READ: 60%]...                                                [READ: 61%]...                                                [READ: 62%]...                                                [READ: 63%]...                                                [READ: 64%]...                                                [READ: 65%]...                                                [READ: 66%]...                                                [READ: 67%]...                                                [READ: 68%]...                                                [READ: 69%]...                                                [READ: 70%]...                                                [READ: 71%]...                                                [READ: 72%]...                                                [READ: 73%]...                                                [READ: 74%]...                                                [READ: 75%]...                                                [READ: 76%]...                                                [READ: 77%]...                                                [READ: 78%]...                                                [READ: 79%]...                                                [READ: 80%]...                                                [READ: 81%]...                                                [READ: 82%]...                                                [READ: 83%]...                                                [READ: 84%]...                                                [READ: 85%]...                                                [READ: 86%]...                                                [READ: 87%]...                                                [READ: 88%]...                                                [READ: 89%]...                                                [READ: 90%]...                                                [READ: 91%]...                                                [READ: 92%]...                                                [READ: 93%]...                                                [READ: 94%]...                                                [READ: 95%]...                                                [READ: 96%]...                                                [READ: 97%]...                                                [READ: 98%]...                                                [READ: 99%]...                                                [READ: 100%]...VERIFIED.
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2
write_wp_bits: wp_verify reg:1 value:0x0
write_wp_bits: wp_verify reg:2 value:0x2

Comments

Anastasia Klimchuk April 26, 2025, 10:30 a.m. UTC | #1
Hello Attila,

Thank you so much for reporting all the testing details and logs, this
is very useful!

Is this your patch that you sent some time ago
https://review.coreboot.org/c/flashrom/+/86085 ? I was wondering why
you disappear after sending the patch :)

There are two things in your message:

1) You have successfully tested W25Q256JV_Q which previously has
untested status. I updated the test status of this chip and added a
Tested-by tag with your name, are you alright with that? Hopefully
yes, if you could +1 the patch
https://review.coreboot.org/c/flashrom/+/87459 it would be great! I
copied your name and email from your patch that you sent earlier, see
below:

2) About your earlier patch
https://review.coreboot.org/c/flashrom/+/86085 what do you think can
it be useful for other people (flashrom users) too? I understand that
you needed a longer delay in your setup, this could be a programmer
param to customise the delay - depending on how unique or common this
setup is.

> [ I tried to ask merge request via Jenkins, but it was too complicated
> for modify one char in the source ;-) ]

You created the patch successfully! :) But then, we always have code
reviews and sometimes a patch can be modified in the process of
review.

On Fri, Apr 25, 2025 at 8:32 PM <works@veghelyiattila.hu> wrote:
>
> hi,
>
> I checked the PROBE - READ - ERASE - WRITE operations of the W25Q256JV_Q
> flash with J-Link and CH341 spi writers.
> the flashrom version was the newest development release at 2025-04-14
> (#4d4688ccf132c580107b013d2d929a0816aa89c1)
> I made a little modification in the 'jlink_spi.c' source, because I use
> the power supply from the J-Link device pin 19.
> this power is 5V, I put a 3.3V LDO (HT7333) after it, and this LDO (and
> decoupling capacitors) need more time to fix output voltage.
> I attached the patch file.
> [ I tried to ask merge request via Jenkins, but it was too complicated
> for modify one char in the source ;-) ]
>
> my flash type was Winbond 25Q256JVEQ, which recognized by flashrom to
> W25Q256JV_Q or W25Q256FV, both type probed, read, wrote, erased, both
> modality worked fine.
>
> regards,
>
> Attila_______________________________________________
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-leave@flashrom.org
diff mbox series

Patch

diff --git a/jlink_spi.c b/jlink_spi.c
index 6c5a5249..d970cdfb 100644
--- a/jlink_spi.c
+++ b/jlink_spi.c
@@ -465,7 +465,7 @@  static int jlink_spi_init(const struct programmer_cfg *cfg)
 		}
 
 		/* Wait some time until the target is powered up. */
-		internal_sleep(10000);
+		internal_sleep(100000);
 	}
 
 	struct jaylink_hardware_status hwstat;