Hello,
i´ve a problem with openocd connected to an arm7 board (ethernut3) via amontec jtagkey.
when i start openocd i get
Warning: jtag.c:986 jtag_read_buffer(): value captured during scan didn’t pass the requested check: captured: 0f check_value: 01 check_mask: 0f
after that i use telnet to test some things
poll
soft_reset_halt
then openocd hangs
i used the tutorial from michael fischer.
i can see nice patterns with my logicanalyzer, but i don´t know to read them.
with the amontec test prog all seems to be well - i´ve contacted amontec for this.
this is the first part of the log (rc78)
Debug: jtag.c:1150 jtag_init():
Debug: ftd2xx.c:887 ftd2xx_init(): current latency timer: 2
Debug: ftd2xx.c:977 jtagkey_init(): 80 08 1b
Debug: ftd2xx.c:1034 jtagkey_init(): 82 09 0f
Debug: ftd2xx.c:143 ftd2xx_speed(): 86 02 00
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 1
Debug: jtag.c:1044 jtag_reset_callback():
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 1
Debug: jtag.c:1044 jtag_reset_callback():
Debug: openocd.c:98 main(): jtag init complete
Debug: arm7_9_common.c:649 arm7_9_assert_reset(): target->state: unknown
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 0
Debug: jtag.c:1044 jtag_reset_callback():
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 1
Debug: jtag.c:1044 jtag_reset_callback():
Warning: arm7_9_common.c:673 arm7_9_assert_reset(): srst resets test logic, too
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 0
Debug: jtag.c:1044 jtag_reset_callback():
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 1
Debug: jtag.c:1044 jtag_reset_callback():
Debug: ftd2xx.c:614 jtagkey_reset(): trst: 0, srst: 1, high_output: 0x01, high_direction: 0x0f
Debug: ftd2xx.c:614 jtagkey_reset(): trst: 0, srst: 1, high_output: 0x01, high_direction: 0x0f
Debug: arm7_9_common.c:712 arm7_9_deassert_reset(): target->state: reset
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 2
Debug: jtag.c:1044 jtag_reset_callback():
Debug: ftd2xx.c:614 jtagkey_reset(): trst: 0, srst: 0, high_output: 0x09, high_direction: 0x0f
Debug: openocd.c:102 main(): target init complete
Debug: openocd.c:106 main(): flash init complete
Debug: gdb_server.c:1093 gdb_init(): gdb service for target arm7tdmi at port 3333
Debug: embeddedice.c:155 embeddedice_read_reg_w_check(): 1
Debug: jtag.c:234 jtag_call_event_callbacks(): jtag event: 3
Debug: jtag.c:1044 jtag_reset_callback():
Warning: jtag.c:986 jtag_read_buffer(): value captured during scan didn’t pass the requested check: captured: 0f check_value: 01 check_mask: 0f
Warning: jtag.c:986 jtag_read_buffer(): value captured during scan didn’t pass the requested check: captured: 0f check_value: 01 check_mask: 0f
Debug: arm7_9_common.c:613 arm7_9_poll(): DBGACK set, dbg_state->value: 0xffffffff
Debug: embeddedice.c:251 embeddedice_write_reg(): 0: 0x00000005
Debug: embeddedice.c:251 embeddedice_write_reg(): 12: 0x00000000
Debug: arm7_9_common.c:899 arm7_9_debug_entry(): target entered debug from Thumb state
Warning: jtag.c:986 jtag_read_buffer(): value captured during scan didn’t pass the requested check: captured: 0f check_value: 01 check_mask: 0f
Warning: jtag.c:986 jtag_read_buffer(): value captured during scan didn’t pass the requested check: captured: 0f check_value: 01 check_mask: 0f
Debug: arm7_9_common.c:903 arm7_9_debug_entry(): r0_thumb: 0xffffffff, pc_thumb: 0xfffffff5
Debug: arm7_9_common.c:926 arm7_9_debug_entry(): target entered debug state in System mode
Debug: arm7_9_common.c:937 arm7_9_debug_entry(): thumb state, applying fixups
Debug: arm7_9_common.c:967 arm7_9_debug_entry(): entered debug state at PC 0xffffffef
Debug: target.c:439 target_call_event_callbacks(): target event 0
Debug: arm7_9_common.c:775 arm7_9_halt(): target->state: halted
Warning: arm7_9_common.c:779 arm7_9_halt(): target was already halted
Info: server.c:67 add_connection(): accepted ‘telnet’ connection from 0
Debug: embeddedice.c:155 embeddedice_read_reg_w_check(): 1
Warning: jtag.c:986 jtag_read_buffer(): value captured during scan didn’t pass the requested check: captured: 0f check_value: 01 check_mask: 0f
Debug: embeddedice.c:155 embeddedice_read_reg_w_check(): 1
Debug: embeddedice.c:155 embeddedice_read_reg_w_check(): 1
Debug: embeddedice.c:155 embeddedice_read_reg_w_check(): 1
Debug: embeddedice.c:155 embeddedice_read_reg_w_check(): 1
Debug: embeddedice.c:155 embeddedice_read_reg_w_check(): 1
…
i tried other speed values, pullup / pulldown res.
rc62 and rc78 version
nothing changes.
thanks fo any hints