Hi list, I have some difficulties getting OpenOCD and a ns9360 based board working. The NS9360 has an Arm926EJS CPU.
One problem is, that OpenOCD detects an unknown EmbeddedICE version: Debug: 74 230 openocd.c:142 handle_init_command(): jtag init complete Debug: 75 235 embeddedice.c:206 embeddedice_build_reg_cache(): Embedded ICE version 0 Error: 76 235 embeddedice.c:270 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000000) Debug: 77 235 arm7_9_common.c:61 arm7_9_clear_watchpoints(): - Debug: 78 235 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000 Debug: 79 235 embeddedice.c:452 embeddedice_write_reg(): 20: 0x00000000 Not sure if that is the reason why "halt" is not working. Debug: 90 20725 target.c:2024 handle_halt_command(): - Debug: 91 20725 arm7_9_common.c:1326 arm7_9_halt(): target->state: running Debug: 92 20725 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000000 Debug: 93 20727 target.c:2003 target_wait_state(): waiting for target halted... Info : 95 21727 target.c:405 target_poll(): Halt timed out, wake up GDB. Debug: 96 21727 target.c:861 target_call_event_callbacks(): target event 4 (gdb-halt) Error: 105 25728 target.c:2014 target_wait_state(): timed out while waiting for target halted Debug: 106 25729 command.c:444 run_command(): Command failed with error code -4 My configuration is "basically" this (based on the ConnectCore Wi-9C config): jtag newtap ns9360 cpu -irlen 4 -ircapture 0x9 -irmask 0x0f -expected-id 0x09105031 target create ns9360.cpu arm926ejs -endian little -chain-position ns9360.cpu -variant arm926ejs reset_config trst_and_srst OpenOCD starts with this output: trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain Info : clock speed 6000 kHz Info : JTAG tap: ns9360.cpu tap/device found: 0x09105031 (mfg: 0x018, part: 0x9105, ver: 0x0) Error: unknown EmbeddedICE version (comms ctrl: 0x00000000) I tried version 0.1.0 and 0.2.0 and the latest GIT (0.3.0-dev-00345). The error is always the same. (btw: I'm using an Amontec JTAGkey, if that is of any relevance) I appreciate any help or hints, maybe it is just a tiny configuration problem after all? Thanks, Henry -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
