|
From: Diego R. <di...@ti...> - 2013-03-21 09:07:07
|
Hello, I'm trying to use openocd for debugging a intel sa1100 board (this one: http://www.lartmaker.nl/). Following the manual I've created the following configuration file: # -------------- interface parport parport_port 0 parport_cable triton adapter_khz 500 # reset_config trst_only jtag newtap cpu arm -expected-id 0x9108406b -irlen 5 target create sa1100 arm720t -chain-position cpu.arm # --------------- The cpu seems to be recognised: Open On-Chip Debugger 0.6.1 (2012-12-05-01:32) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Warn : Adapter driver 'parport' did not declare which transports it allows; assuming legacy JTAG-only Info : only one transport option; autoselect 'jtag' parport port = 0x0 adapter speed: 500 kHz sa1100 Info : clock speed 500 kHz Info : JTAG tap: cpu.arm tap/device found: 0x9108406b (mfg: 0x035, part: 0x1084, ver: 0x9) Info : Embedded ICE version 0 Error: unknown EmbeddedICE version (comms ctrl: 0x00000000) Info : sa1100: hardware has 2 breakpoint/watchpoint units Info : accepting 'telnet' connection from 4444 But I can't halt the cpu or reset it: > halt Halt timed out, wake up GDB. timed out while waiting for target halted in procedure 'halt' Debug: 84 216140 command.c:145 script_debug(): command - halt ocd_halt Debug: 86 216140 target.c:2467 handle_halt_command(): - Debug: 87 216140 arm7_9_common.c:1182 arm7_9_halt(): target->state: running Debug: 88 216140 embeddedice.c:501 embeddedice_write_reg(): 9: 0xffffffff Debug: 89 216140 embeddedice.c:501 embeddedice_write_reg(): 11: 0xffffffff Debug: 90 216140 embeddedice.c:501 embeddedice_write_reg(): 12: 0x00000100 Debug: 91 216140 embeddedice.c:501 embeddedice_write_reg(): 13: 0x000000f7 Debug: 92 216141 target.c:2449 target_wait_state(): waiting for target halted... Info : 94 217141 target.c:453 target_poll(): Halt timed out, wake up GDB. Debug: 95 217141 target.c:1299 target_call_event_callbacks(): target event 0 (gdb-halt) Error: 104 221142 target.c:2457 target_wait_state(): timed out while waiting for target halted > reset halt JTAG tap: cpu.arm tap/device found: 0x9108406b (mfg: 0x035, part: 0x1084, ver: 0x9) sa1100: how to reset? in procedure 'reset' Any suggestion? Thanks in advance, Diego. |