I have a board that I'm reversing - and attempting to dump the image out of the NAND flash.
Board has a SAMSUNG s3c2440 SOC CPU, and there's a SAMSUNG k9f1g08u0d 128 MB NAND flash device.
I'm using a BusPirate through JTAG to connect. I am able to run OpenOCD and view the chip, dump registers, etc.
However, the whole setup is unstable. I'm running on a Linux host PC. Steps are:
- power up the target
- power up buspirate
- start openocd daemon
- start telnet into openocd daemon
- enable debug_level 3
- just watch the debug messages flow on the openocd daemon window.
the flow of messages stops after 15 seconds or so with the following error:
Error: 7399 146854 bus_pirate.c 1091 buspirate_serial_read() should have read = 15 actual size = 0 Error: 7399 146854 bus_pirate.c 1091 buspirate_serial_read() Error treading data timeout = 10, len = 0, size = 15
I have a Buspirate 3, with the latest version 6.1 firmware. Openocd is version 0.9.0
Any suggestions to get a setup to be more stable is welcomed.