Skip to content

Instantly share code, notes, and snippets.

@ipatch
Created January 24, 2020 17:44
Show Gist options
  • Select an option

  • Save ipatch/5a62665c2d1294f05c33c076a95eda63 to your computer and use it in GitHub Desktop.

Select an option

Save ipatch/5a62665c2d1294f05c33c076a95eda63 to your computer and use it in GitHub Desktop.
flashrom dump W25Q64.V
─λ time flashrom -VV -p buspirate_spi:dev=/dev/tty.usbserial-A700dzDq -c W25Q64.V -r dump04.bin; say "dump complete"; should-You | 0 < 11:40:31
flashrom v1.0.1 on Darwin 17.7.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
flashrom was built with LLVM Clang 10.0.0 (clang-1000.11.45.5), little endian
Command line (7 args): flashrom -VV -p buspirate_spi:dev=/dev/tty.usbserial-A700dzDq -c W25Q64.V -r dump04.bin
Calibrating delay loop... OS timer resolution is 1 usecs, 2203M loops per second, delay more than 10% too short (got 81% of expected delay), recalculating... 2432M loops per second, delay more than 10% too short (got 89% of expected delay), recalculating... 2410M loops per second, delay more than 10% too short (got 89% of expected delay), recalculating... 2417M loops per second, delay more than 10% too short (got 89% of expected delay), recalculating... 2417M loops per second, delay loop is unreliable, trying to continue 10 myus = 9 us, 100 myus = 103 us, 1000 myus = 1053 us, 10000 myus = 10888 us, 4 myus = 4 us, OK.
Initializing buspirate_spi programmer
Detected Bus Pirate hardware v3.a
Detected Bus Pirate firmware 7.1 ("v7.1")
Using SPI command set v2.
SPI speed is 8MHz
Raw bitbang mode version 1
Raw SPI mode version 1
The following protocols are supported: SPI.
Probing for Winbond W25Q64.V, 8192 kB: probe_spi_rdid_generic: id1 0xef, id2 0x4017
Found Winbond flash chip "W25Q64.V" (8192 kB, SPI) on buspirate_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).
Block protection is disabled.
Reading flash...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment