Skip to main content
Topic: BPv4: Multiple issues getting flashrom to work. (Read 1120 times) previous topic - next topic

BPv4: Multiple issues getting flashrom to work.

Issues:
  • Flashrom gets stuck on "Initializing buspirate_spi programmer" 90% of the time.
  • The times it gets past that and recognizes the chip, the verification always fails after the read.
  • It seems almost too slow, especially compared to my FT2232H, is 1M the recommended SPI bus speed?

Version info:
Code: [Select]
Bus Pirate v4
Community Firmware v7.1 -  [HiZ 1-WIRE UART I2C SPI 2WIRE 3WIRE KEYB PIC DIO]
DEVID:0x1019 REVID:0x0004 (24FJ256GB106 UNK)
AUX HIGH

Code: [Select]
sudo flashrom -p buspirate_spi:dev=/dev/buspirate,spispeed=1M -r bpm1.bin -V
flashrom  on Linux 4.19.0-4-amd64 (x86_64)
flashrom is free software, get the source code at

flashrom was built with libpci 3.5.2, GCC 8.2.0, little endian
Command line (5 args): flashrom -p buspirate_spi:dev=/dev/buspirate,spispeed=1M -r bpm1.bin -V
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing buspirate_spi programmer

Code: [Select]
sudo flashrom -p buspirate_spi:dev=/dev/buspirate,spispeed=1M -v dump.bin
flashrom  on Linux 4.19.0-4-amd64 (x86_64)
flashrom is free software, get the source code at

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on buspirate_spi.
Verifying flash... FAILED at 0x00004800! Expected=0x13, Found=0xad, failed byte count from 0x00000000-0x000fffff: 0x48ded

Quote
Edit: Removed links from post to avoid spam filter.

Re: BPv4: Multiple issues getting flashrom to work.

Reply #1
Hmmm, this looks too complicated to me. I'm new here and i'm trying to learn more things...