> Failed to receiving data from debug handler after 1000 attempts
> time out writing RX register
> time out writing RX register
> Remote connection closed
> Any idea why this may be happening?

Are you running at too high clock rate?

One problem is that jtag_khz can have a "soft fail"
region. To illustrate a chip may be *stable* at 1MHz, but
kinda work up to 8MHz and fail communicating completely
beyond that.

If you run at 2MHz, then you'll get occasional weird errors...

Try running a test like:

for {set i 0} {$i < 100} {set i [expr $i+1]} {reset init ; load_image
foo.elf; verify_image foo.elf}

Precisely what test to run 100x is hard to say, but something
involving reset init and reading/writing memory to/from the
target for sure...

-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to