Skip to main content
Topic: Error with flashrom (Read 3790 times) previous topic - next topic

Error with flashrom

I have been testing flashrom (latest build) on my bus pirate hooked up to my raspberry pi but i keep getting this error message.

Code: [Select]
pi@raspberrypi:~ $ flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -w test.bin
flashrom v0.9.9-unknown on Linux 4.1.13+ (armv6l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Macronix flash chip "MX25L4005(A/C)/MX25L4006E" (512 kB, SPI) on buspirate                                                                            _spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x0                                                                            0, failed byte count from 0x00000000-0x00000fff: 0x800
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000200! Expected=0xff, Found=0x00, failed byte count from 0x000000                                                                            00-0x0000ffff: 0x8413
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x000000                                                                            00-0x0000ffff: 0x841b
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000100! Expected=0xff, Found=0x00, failed byte count from 0x000000                                                                            00-0x0007ffff: 0x3f400
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x000000                                                                            00-0x0007ffff: 0x42dcc
ERASE FAILED!
Looking for another erase function.
No usable erase functions left.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Apparently at least some data has changed.
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom@flashrom.org, thanks!

Re: Error with flashrom

Reply #1
You haven't really given any detail of how things are connected, nor what you're trying to do. Those would be useful. You may also be better off using their IRC or email address than posting here.

Re: Error with flashrom

Reply #2
I have got it working now there was a break in one of my test leads

thanks Nikki