Context: my own old router, in a drawer, and I want a copy of its firmware before I do anything silly. I connected a clip to the SPI flash chip, started a read, and got garbage, different every time.
The reason: the chip is not alone on the bus. When the board gets power, the main processor also wakes up and starts reading the same flash to boot. Two masters on one bus, so the data collides.
What worked for me:
- Power only the flash, not the whole board. Feed the chip's supply pin from the programmer, at the voltage the chip expects (check the datasheet: 3.3 V is common, but some chips are 1.8 V, and the wrong level can kill it).
- Or hold the processor in reset so it does not touch the bus.
- Even then, other parts on the supply rail may leak current through their pins and power up halfway. A little resistance in the right place, or lifting a pin, fixes it. I chose to read twice with different clip positions.
- Read at least twice and compare hashes. A flaky clip produces plausible but wrong dumps, and you only know by comparing.
First rule of this hobby: take a full read of the original, label it, and back it up before writing anything. Mine now has three copies.