Newbie to OpenOCD, Issues

Hardware:

New Olimex ARM-USB-OCD

Keil LPC2140 Eval Board

I am running the “Blinky” example included on the CD after installing the included toolset.

The OpenOCD connects ok, no errors, but when I go to debug I get the following messages:

Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)

Warning: arm7_9_common.c:842 arm7_9_halt(): target was already halted

Info: server.c:67 add_connection(): accepted ‘gdb’ connection from 0

Error: arm7_9_common.c:561 arm7_9_execute_sys_speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 0

Error: arm7_9_common.c:561 arm7_9_execute_sys_speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 0

Warning: gdb_server.c:195 gdb_put_packet(): negative reply, retrying

Warning: gdb_server.c:195 gdb_put_packet(): negative reply, retrying

Warning: gdb_server.c:195 gdb_put_packet(): negative reply, retrying

Error: gdb_server.c:213 gdb_put_packet(): unknown character 0x24 in reply, dropping connection

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x71

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x53

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x79

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x6d

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x62

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x6f

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x6c

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x3a

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x3a

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x23

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x35

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x62

Warning: gdb_server.c:246 gdb_get_packet(): acknowledgment received, but no packet pending

Warning: gdb_server.c:246 gdb_get_packet(): acknowledgment received, but no packet pending

Warning: gdb_server.c:246 gdb_get_packet(): acknowledgment received, but no packet pending

Warning: gdb_server.c:246 gdb_get_packet(): acknowledgment received, but no packet pending

Error: gdb_server.c:213 gdb_put_packet(): unknown character 0x24 in reply, dropping connection

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x71

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x52

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x63

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x6d

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x64

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x2c

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x63

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x31

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x37

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x33

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x38

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x32

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x30

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x37

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x30

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x37

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x32

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x66

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x32

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x36

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x35

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x32

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x30

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x33

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x30

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x23

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x63

Warning: gdb_server.c:256 gdb_get_packet(): ignoring character 0x64

Warning: gdb_server.c:246 gdb_get_packet(): acknowledgment received, but no packet pending

Warning: gdb_server.c:246 gdb_get_packet(): acknowledgment received, but no packet pending

Error: arm7_9_common.c:561 arm7_9_execute_sys_speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 0

Warning: gdb_server.c:195 gdb_put_packet(): negative reply, retrying

Warning: gdb_server.c:195 gdb_put_packet(): negative reply, retrying

Warning: gdb_server.c:195 gdb_put_packet(): negative reply, retrying

Error: gdb_server.c:213 gdb_put_packet(): unknown character 0x24 in reply, dropping connection

Info: server.c:367 server_loop(): dropped ‘gdb’ connection

I would appreciate any clues you may have.

Rich

Hi,

please use a current version of the OpenOCD and other tools, not the old version provided by Olimex. You can get precompiled binaries for Windows at Michael Fischer’s www.yagarto.de website.

Regards,

Dominic