Stuck on Initializing buspirate spi programming

Bus Pirate support for the Flashrom project

Stuck on Initializing buspirate spi programming

Postby dam1inc » Tue May 15, 2018 1:15 am

please help a total noob


using BusPirate v4 firmware 7.0
ubuntu 16.04
flashrom v0.9.9

dam1inc@Tekbotz:~$ sudo flashrom -r ~/efi/read1.bin -V -p buspirate_spi:dev=/dev/ttyACM0
flashrom v0.9.9-rc1-r1942 on Linux 4.13.0-41-generic (x86_64)


flashrom was built with libpci 3.3.1, GCC 5.3.1 20160225, little endian
Command line (5 args): flashrom -r /home/dam1inc/efi/read1.bin -V -p buspirate_spi:dev=/dev/ttyACM0
Calibrating delay loop... OS timer resolution is 1 usecs, 3074M loops per second, 10 myus = 10 us, 100 myus = 101 us, 1000 myus = 1000 us, 10000 myus = 10092 us, 4 myus = 5 us, OK.
Initializing buspirate_spi programmer

i cant seem to figure out how to initialize spi programmer and am also having a hardtime finding flashrom commands and trouble shooting tips/guides.

any help would greatly be appreciated. thanks

EDIT: now i get this

dam1inc@Tekbotz:~$ sudo flashrom -r ~/efi/read1.bin -V -p buspirate_spi:dev=/dev/ttyACM1 -c MX25L6406E/MX25L6408E
flashrom v0.9.9-rc1-r1942 on Linux 4.13.0-41-generic (x86_64)


flashrom was built with libpci 3.3.1, GCC 5.3.1 20160225, little endian
Command line (7 args): flashrom -r /home/dam1inc/efi/read1.bin -V -p buspirate_spi:dev=/dev/ttyACM1 -c MX25L6406E/MX25L6408E
Calibrating delay loop... OS timer resolution is 1 usecs, 2397M loops per second, 10 myus = 10 us, 100 myus = 100 us, 1000 myus = 999 us, 10000 myus = 9984 us, 4 myus = 5 us, OK.
Initializing buspirate_spi programmer
Detected Bus Pirate hardware v4
Detected Bus Pirate firmware 7.0
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 Macronix MX25L6406E/MX25L6408E, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2 0x2017
Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on buspirate_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 detail

for some reason ACM0 didnt allow me to do anything but when i switched to ACM1 i was able to get a bit further


EDIT: now i get stuck at reading flash....

dam1inc@Tekbotz:~$ sudo flashrom -p buspirate_spi:dev=/dev/ttyACM1,spispeed=1M -c MX25L6406E/MX25L6408E -r 1.bin
flashrom v0.9.9-rc1-r1942 on Linux 4.13.0-41-generic (x86_64)


Calibrating delay loop... OK.
Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on buspirate_spi.
Reading flash...

LAST EDIT:

just needed to have patients and let it read lol
dam1inc
Newbie
Newbie
 
Posts: 1
Joined: Tue May 15, 2018 1:06 am

Return to Flashrom