I found hundreds of messages on internet talking about that problem, but it never has a clean solution. In my case, it occurs when I try to transfer an uImage file of about 3.6MB (I suppose that the problem is with big images). It not always happen, but in most cases. Here the last lines of the log file:
Debug: 30969 73243 cortex_a.c:221 cortex_a8_exec_opcode(): exec opcode 0xee070f35 Debug: 30970 73246 cortex_a.c:464 cortex_a8_write_dcc(): write DCC 0x8025c080 Debug: 30971 73246 cortex_a.c:221 cortex_a8_exec_opcode(): exec opcode 0xee100e15 Debug: 30972 73247 cortex_a.c:221 cortex_a8_exec_opcode(): exec opcode 0xee070f35 Error: 30973 77247 ft2232.c:592 ft2232_read(): couldn't read enough bytes from FT2232 device (0 < 12) Error: 30974 77247 ft2232.c:844 ft2232_send_and_recv(): couldn't read from FT2232 Error: 30975 77247 cortex_a.c:248 cortex_a8_exec_opcode(): Could not read DSCR register Debug: 30976 77248 command.c:631 run_command(): Command failed with error code -104 User : 30977 77248 command.c:669 command_run_line(): Runtime Error: program_sdram.cfg:39: in procedure 'script' at file "embedded:startup.tcl", line 58 in procedure 'load_image' called at file "program_sdram.cfg", line 39 I am using openocd 0.6.1 under Debian Squeeze. I tried with libftdi 0.20 and the error persist. The board is Panda rev A4 (I added the necessary ID in the cfg file). Finally, I am using a cable called opendous, but is not the supported in openocd previously. Is another one based on ft2232H. Any idea? Thanks in advance. -- Ing. Rodrigo Alejandro Melo<[email protected]> INTI- Electrónica e Informática Av. Gral. Paz 5445, CC157, (CP B1650WAB) San Martín, Bs. As., Argentina Te:+54 011 4724-6315 0800 444 4004 | www.inti.gob.ar ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
