Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - liketolearn

1
Bus Pirate Support / Bus Pirate v3b SPI
Hi all,

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.V
of 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

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01182258216session_write_close ( )...(null):0
20.01212389816ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01212390592Database_MySQL->query( ).../DatabaseHandler.php:119
40.05662529328Database_MySQL->error( ).../Db-mysql.class.php:273