I’ve got flashrom v1.1 (via brew on MacOS X) and a Buspirate v4 running the 
v7.0 community firmware. I’ve hooked it up to a Winbond W25Q64FV. I’m fairly 
confident that it’s hooked up correctly, because if I use a terminal program to 
talk to the BP, I can set it into SPI mode, turn on the power and manually 
perform a 0x90 command and I get back 0xEF 0x16, which is what the manual tells 
me is supposed to be a W25Q64FV’s ID. I’ve also manually written a few bytes 
into the chip and erased them, so I generally have an expectation that the chip 
is wired up properly and operating correctly.

But there are a couple of issues with flashrom. First, every time I use 
flashrom, if I then do not reset the buspirate, subsequent runs of flashrom 
just hang. So flashrom isn’t putting the BP back into a mode where it can be 
recognized, apparently. Secondly, the probe always results in

% flashrom --programmer 
buspirate_spi:dev=/dev/tty.usbmodem000000011,spispeed=30k
flashrom v1.1 on Darwin 18.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Warning: given baudrate 2000000 rounded down to 230400.
Found Winbond flash chip "unknown Winbond (ex Nexcom) SPI chip" (0 kB, SPI) on 
buspirate_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
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 [email protected] 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.
Thanks for your help!
No operations were specified.

Adding -V -V gives one interesting extra line:

Probing for Winbond W25Q64.V, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2 
0x7017

Now, the manual says that there’s supposed to be a 0xef 0x6017 result for 0x9f, 
but the bus pirate gets back 0x7017, even when I perform a 0x9f manually.

So in short, does flashrom 1.1 work properly with the buspirate v4 with 
firmware v7?
_______________________________________________
flashrom mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to