Hi,

I am testing OpenOCD on iMX31PDK using JLink interface, but I verified
it is not opening any gdb/telnet/tcl port to connection.

Please see my debug log below.

Using Axiom AXM0432 interface it is working fine. Unhappily I don't
have other interface model to test it here.

Best Regards,

Alan

# openocd -d3 -f interface/jlink.cfg -f target/imx31.cfg
Open On-Chip Debugger 1.0 (2009-01-14-17:09) svn:1318


BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS


$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
User : 5 1 command.c:494 command_run_line():
Debug: 6 1 configuration.c:88 find_file(): found
/usr/local/lib/openocd/interface/jlink.cfg
Debug: 8 1 command.c:91 script_command(): script_command - interface
Debug: 9 1 command.c:108 script_command(): script_command - interface,
argv[0]=ocd_interface
Debug: 10 1 command.c:108 script_command(): script_command -
interface, argv[1]=jlink
User : 11 1 command.c:494 command_run_line():
Debug: 12 1 configuration.c:88 find_file(): found
/usr/local/lib/openocd/target/imx31.cfg
Debug: 14 1 command.c:91 script_command(): script_command - reset_config
Debug: 15 1 command.c:108 script_command(): script_command -
reset_config, argv[0]=ocd_reset_config
Debug: 16 1 command.c:108 script_command(): script_command -
reset_config, argv[1]=trst_and_srst
Debug: 17 1 jtag.c:1892 jim_newtap_cmd(): Creating New Tap, Chip:
imx31, Tap: sjc, Dotted: imx31.sjc, 8 params
Debug: 18 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irlen
Debug: 19 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -ircapture
Debug: 20 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irmask
Debug: 21 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -expected-id
Debug: 22 1 jtag.c:2024 jim_newtap_cmd(): Created Tap: imx31.sjc @ abs
position 0, irlen 4, capture: 0x0 mask: 0x0
Debug: 23 1 jtag.c:1892 jim_newtap_cmd(): Creating New Tap, Chip:
imx31, Tap: cpu, Dotted: imx31.cpu, 8 params
Debug: 24 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irlen
Debug: 25 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -ircapture
Debug: 26 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irmask
Debug: 27 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -expected-id
Debug: 28 1 jtag.c:2024 jim_newtap_cmd(): Created Tap: imx31.cpu @ abs
position 1, irlen 5, capture: 0x1 mask: 0x1f
Debug: 29 1 jtag.c:1892 jim_newtap_cmd(): Creating New Tap, Chip:
imx31, Tap: whatchacallit, Dotted: imx31.whatchacallit, 8 params
Debug: 30 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irlen
Debug: 31 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -ircapture
Debug: 32 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irmask
Debug: 33 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -expected-id
Debug: 34 1 jtag.c:2024 jim_newtap_cmd(): Created Tap:
imx31.whatchacallit @ abs position 2, irlen 4, capture: 0x0 mask: 0xf
Debug: 35 1 jtag.c:1892 jim_newtap_cmd(): Creating New Tap, Chip:
imx31, Tap: smda, Dotted: imx31.smda, 8 params
Debug: 36 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irlen
Debug: 37 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -ircapture
Debug: 38 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -irmask
Debug: 39 1 jtag.c:1911 jim_newtap_cmd(): Processing option: -expected-id
Debug: 40 1 jtag.c:2024 jim_newtap_cmd(): Created Tap: imx31.smda @
abs position 3, irlen 5, capture: 0x1 mask: 0x1f
Debug: 41 1 target.c:3911 jim_target(): Target command params:
Debug: 42 1 target.c:3912 jim_target(): target create imx31.cpu arm11
-endian little -chain-position imx31.cpu
User : 43 1 command.c:494 command_run_line():
Debug: 45 1 command.c:91 script_command(): script_command - init
Debug: 46 1 command.c:108 script_command(): script_command - init,
argv[0]=ocd_init
Debug: 47 2 openocd.c:144 handle_init_command(): target init complete
Info : 48 279 jlink.c:528 jlink_get_version_info(): J-Link ARM V6
compiled Jul 30 2008 11:24:59
Info : 49 279 jlink.c:496 jlink_get_status(): Vref = 1.896 TCK = 1 TDI
= 0 TDO = 1 TMS = 0 SRST = 1 TRST = 1

Info : 50 279 jlink.c:317 jlink_init(): J-Link JTAG Interface ready
Debug: 51 279 jlink.c:446 jlink_reset(): trst: 0, srst: 0
Debug: 52 279 openocd.c:151 handle_init_command(): jtag interface init complete
Debug: 53 279 jtag.c:2240 jtag_init_inner(): Init JTAG chain
Debug: 54 279 jtag.c:434 jtag_call_event_callbacks(): jtag event: JTAG
controller reset (RESET or TRST)
Debug: 55 279 jtag.c:1487 jtag_reset_callback(): -
Debug: 56 279 jtag.c:1487 jtag_reset_callback(): -
Debug: 57 279 jtag.c:1487 jtag_reset_callback(): -
Debug: 58 279 jtag.c:1487 jtag_reset_callback(): -
Debug: 59 280 jtag.c:434 jtag_call_event_callbacks(): jtag event: JTAG
controller reset (RESET or TRST)
Debug: 60 280 jtag.c:1487 jtag_reset_callback(): -
Debug: 61 280 jtag.c:1487 jtag_reset_callback(): -
Debug: 62 280 jtag.c:1487 jtag_reset_callback(): -
Debug: 63 280 jtag.c:1487 jtag_reset_callback(): -
Info : 64 314 jtag.c:1607 jtag_examine_chain(): JTAG tap: imx31.sjc
tap/device found: 0x2b900f0f (Manufacturer: 0x787, Part: 0xb900,
Version: 0x2)
Info : 65 314 jtag.c:1645 jtag_examine_chain(): JTAG Tap/device matched
Info : 66 314 jtag.c:1607 jtag_examine_chain(): JTAG tap: imx31.cpu
tap/device found: 0x07b3601d (Manufacturer: 0x00e, Part: 0x7b36,
Version: 0x0)
Info : 67 314 jtag.c:1645 jtag_examine_chain(): JTAG Tap/device matched
Warn : 68 314 jtag.c:1560 jtag_examine_chain(): Tap/Device does not have IDCODE
Info : 69 314 jtag.c:1645 jtag_examine_chain(): JTAG Tap/device matched
Info : 70 314 jtag.c:1607 jtag_examine_chain(): JTAG tap: imx31.smda
tap/device found: 0x2190101d (Manufacturer: 0x00e, Part: 0x1901,
Version: 0x2)
Info : 71 314 jtag.c:1645 jtag_examine_chain(): JTAG Tap/device matched
Debug: 72 314 jtag.c:434 jtag_call_event_callbacks(): jtag event: JTAG
controller reset (RESET or TRST)
Debug: 73 314 jtag.c:1487 jtag_reset_callback(): -
Debug: 74 314 jtag.c:1487 jtag_reset_callback(): -
Debug: 75 314 jtag.c:1487 jtag_reset_callback(): -
Debug: 76 314 jtag.c:1487 jtag_reset_callback(): -
Error: 77 317 jtag.c:1718 jtag_validate_chain(): Could not validate
JTAG scan chain, IR mismatch, scan returned 0x0c2011.
tap=imx31.whatchacallit pos=9 expected 0x1 got 0
Warn : 78 317 jtag.c:2260 jtag_init_inner(): Could not validate JTAG
chain, continuing anyway...
Debug: 79 317 openocd.c:157 handle_init_command(): jtag init complete
Debug: 80 317 jtag.c:434 jtag_call_event_callbacks(): jtag event: JTAG
controller reset (RESET or TRST)
Debug: 81 317 jtag.c:1487 jtag_reset_callback(): -
Debug: 82 317 jtag.c:1487 jtag_reset_callback(): -
Debug: 83 317 jtag.c:1487 jtag_reset_callback(): -
Debug: 84 317 jtag.c:1487 jtag_reset_callback(): -
Info : 85 328 arm11.c:1595 arm11_examine(): found ARM1136
Debug: 86 328 arm11.c:1625 arm11_examine(): IDCODE 07b3601d
IMPLEMENTOR 41 DIDR 15110004
Debug: 87 334 arm11.c:328 arm11_check_init(): Bringing target into debug mode
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to