SPI flash read command appear to be crash

I am trying to read an oncurcit chip using buspirate 5 i can probe the chip and manually read the chip but if i use flash read command it just print start of the progress and exit.

1 Like

Thank you for the bug report.

What is the command you use to dump the chip? I will try to replicate.

1 Like

flash read -f test.bin

okay i found the problem, by adding debug print, it seem the file is failed to write on the disk. may i know how to solve it.
image

1 Like

solve it by formatting the storage flash

1 Like

now i am getting no storaged mounted

1 Like

There is an ongoing discussion on this topic:

I would suggest to try to read the chip using binmode added by @Dreg and flashrom program on your Kali:

Read here. Its already merged in main

I am also trying to read it via flashrom as well, i have read it before but right now, i am getting only 0xff read via flash rom but if i read it from SPI i am getting data.

image

Make sure to enter binmode before running flashrom command. Binmode is separate from being in SPI to note

yeah the first picture is binmode with debugging enabled, second is in spi mode, i am just showing the spi mode can detect the chip, but flashrom is not detecting the chip and getting only 0xff data.
image

Try with this version of firmware:

When it was introduced. If it works then there is some regression. I tested it just after adding but lots of stuff changed since then

I’m looking into this now, thank you @AreYouLoco for making the connection with the disk IO errors. Sorry for the delay, I’d like to get this fully sorted this week.

1 Like

flash read -f test.bin

I was able to run a chip dump to file and chip verify without issues. Latest firmware, windows, Teraterm.

Will start a new post to gather all the treads on this.

May I ask how you formatted the flash storage? Using your OS or using the format command in the terminal?

i used OS, that was my bad i didn’t notice the format command in the buspirate until it become corrupted.

Does using the format command in the Bus Pirate fix the storage issue?

i did try it after i see the command as well but same result as now, i think the file system is corrupted.

Thanks for the follow up. I will send you a personal message to get your order number and we’ll send you a replacement.