Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This approach won't always work. On some boards applying enough power to bring up the SPI will also power enough connected logic that it'll start generating SPI traffic and your read attempts will fail. On some boards the capacitance of unpowered logic will leave you miserable. It's definitely worth trying this as a first step in dumping SPI, but you need to be prepared to remove the chip and re-dump it. Also bear in mind that these things really aren't designed for multiple attach/detach cycles, so unless you want an IC with fewer legs than it started with you shouldn't plan on being able to repeatedly remove and reflash it without adding some sort of removable setup - sockets may not be practical for multiple reasons, but you might be able to get away with soldering a header onto the pads and then jumpering the chip onto that. But as a fallback: dump the chip after you remove it the first time, keep hold of that dump and buy some compatible parts that you can swap in if you kill it.


Or you could just lift the MOSI/MISO/SCK/CS pins off the board with an iron and tweezers and power it up normally. The pin pitch on this one is relatively big, shouldn't be too hard, definitely easier than removing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: