1
Bus Pirate Support / Bus Pirate v3b SPI
I am just trying to get my mind around Bus Pirate and SPI. I removed a Winbond 25Q1280VS0 SPI Flash Chip from a PCB (IP Camera). Datasheet if anyone is interested here.
Where I am trying to get my head around is two things:
1. I can write via bus pirate via SPI to the chip and I can read the written values from the chip via SPI.
After closing the terminal to the bus pirate I use flashrom (Ubuntu) and try and do a simple command:
Code: [Select]
flashrom -p buspirate_spi:dev=/dev/ttyS3 -c W25Q32.Vof which the chip specified is the Winbond in question.
However it returns no No EEPROM/flash device found.
Now context, I clobbered the U-Boot bootloader via RS232 i.e. I manged to erase the bank that the bootloader was in.
What I was trying to do (and I am learning her) was to connect directly to the SPI flash to try and reload uBoot bootloader.
Question(s):
- Am I completely off the mark using Bus Pirate to check the SPI chip (see if i can write and read - checking if the chip is still "working"
- With my tests I can read and write, what I was trying to do is use flashrom then to flash a bootloader specifically uBoot
I am just trying to figure out if I am on the write track here or completely off, just learning here.
Would appreciate the help