Skip to main content
Topic: Bus Pirate SPI unusually slow (Read 1302 times) previous topic - next topic

Bus Pirate SPI unusually slow


I'm not sure, if I'm doing something wrong here, but hopefully I am because I'd hate to believe this is the best speed a BP4 can achieve (it's such a nifty gadget).

Anyway, I've been trying to dump the BIOS firmware from a SOIC8 Winbond flash chip on my laptop. The size of flash is 4 megs, and I've used Bus Pirate v4 with 6.3-beta1 firmware and flashrom v0.9.8-rc1-r1885 to perform the dump. I did manage to dump the contents, but the reading was extremely slow. It took well over 2 minutes to complete... which is a bit odd for a SPI even on higher frequencies that didn't seem to make a difference. And writing a SPI chip is supposedly even slower according to some comments from IRC. It was also mentioned that BeagleBone Black SPI is much much faster and stable than BP SPI.

So I was wondering... why is the speed so slow on BP and can anything be done to make it faster i.e. approach native SPI speeds?

Am I using the wrong command line?
$ flashrom -p buspirate_spi:dev=/dev/ttyACM0 -c "W25Q32.V" -r ./flash_L.bin