log when I try to issue "reset init" command:

Debug: 344 4446 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset init
Debug: 345 4446 command.c:145 script_debug(): command - reset ocd_reset init
Debug: 346 4446 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr =
0x00000000
Debug: 348 4446 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target names
Debug: 349 4446 command.c:145 script_debug(): command - ocd_target
ocd_target names
Debug: 350 4446 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu invoke-event reset-start
Debug: 351 4446 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu invoke-event reset-start
Debug: 352 4447 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag arp_init-reset
Debug: 353 4447 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
arp_init-reset
Debug: 354 4447 core.c:1523 jtag_init_reset(): Initializing with hard
TRST+SRST reset
Debug: 355 4447 ft2232.c:1403 jtagkey_reset(): trst: 1, srst: 0,
high_output: 0x08, high_direction: 0x0f
Debug: 356 4447 core.c:738 jtag_add_reset(): TRST line asserted
Debug: 357 4447 ft2232.c:1403 jtagkey_reset(): trst: 1, srst: 1,
high_output: 0x00, high_direction: 0x0f
Debug: 358 4447 core.c:715 jtag_add_reset(): SRST line asserted
Debug: 359 4447 ft2232.c:1403 jtagkey_reset(): trst: 0, srst: 1,
high_output: 0x04, high_direction: 0x0f
Debug: 360 4447 core.c:743 jtag_add_reset(): TRST line released
Debug: 361 4447 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 362 4447 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC
event: 0 (post-reset)
        action: runtest 100
Debug: 363 4447 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_runtest 100
Debug: 364 4447 command.c:145 script_debug(): command - runtest ocd_runtest 100
Debug: 366 4447 ft2232.c:1403 jtagkey_reset(): trst: 0, srst: 0,
high_output: 0x0c, high_direction: 0x0f
Debug: 367 4447 core.c:719 jtag_add_reset(): SRST line released
Debug: 368 4447 core.c:1415 jtag_init_inner(): Init JTAG chain
Debug: 369 4447 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 370 4447 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC
event: 0 (post-reset)
        action: runtest 100
Debug: 371 4447 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_runtest 100
Debug: 372 4447 command.c:145 script_debug(): command - runtest ocd_runtest 100
Debug: 374 4448 core.c:1048 jtag_examine_chain(): DR scan interrogation for
IDCODE/BYPASS
Debug: 375 4448 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 376 4448 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC
event: 0 (post-reset)
        action: runtest 100
Debug: 377 4448 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_runtest 100
Debug: 378 4448 command.c:145 script_debug(): command - runtest ocd_runtest 100
Info : 380 4448 core.c:951 jtag_examine_chain_display(): JTAG tap: imx51.DAP
tap/device found: 0x1ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x1)
Info : 381 4448 core.c:1069 jtag_examine_chain(): TAP imx51.SDMA does not
have IDCODE
Info : 382 4448 core.c:951 jtag_examine_chain_display(): JTAG tap: imx51.SJC
tap/device found: 0x1190c01d (mfg: 0x00e, part: 0x190c, ver: 0x1)
Debug: 383 4448 core.c:1208 jtag_validate_ircapture(): IR capture validation
scan
Debug: 384 4449 core.c:1265 jtag_validate_ircapture(): imx51.DAP: IR capture
0x01
Debug: 385 4449 core.c:1265 jtag_validate_ircapture(): imx51.SDMA: IR
capture 0x00
Debug: 386 4449 core.c:1265 jtag_validate_ircapture(): imx51.SJC: IR capture
0x01
Debug: 387 4449 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC
event: 1 (setup)
        action: jtag tapenable imx51.DAP
Debug: 388 4449 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag tapenable imx51.DAP
Debug: 389 4449 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
tapenable imx51.DAP
Warn : 390 4449 tcl.c:756 jim_jtag_tap_enabler(): failed to enable tap imx51.DAP
User : 391 4449 tcl.c:634 jtag_tap_handle_event(): Runtime Error:
embedded:startup.tcl:20: 
in procedure 'jtag' 
in procedure 'ocd_bouncer' 
at file "embedded:startup.tcl", line 20
Debug: 392 4449 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu cget -chain-position
Debug: 393 4449 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu cget -chain-position
Debug: 394 4450 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag tapisenabled imx51.DAP
Debug: 395 4450 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
tapisenabled imx51.DAP
Debug: 396 4450 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu invoke-event examine-start
Debug: 397 4450 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu invoke-event examine-start
Debug: 398 4450 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu arp_examine
Debug: 399 4450 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu arp_examine
Debug: 400 4450 cortex_a.c:173 cortex_a8_init_debug_access():  
Debug: 401 4461 adi_v5_jtag.c:271 jtagdp_transaction_endcheck(): jtag-dp:
CTRL/STAT error, 0xf0000003
Debug: 402 4461 adi_v5_jtag.c:291 jtagdp_transaction_endcheck(): MEM-AP
Cached values: ap_bank 0x10, ap_csw 0xa2000002, ap_tar 0x310
Error: 403 4461 adi_v5_jtag.c:295 jtagdp_transaction_endcheck(): JTAG-DP
OVERRUN - check clock, memaccess, or reduce jtag speed
Debug: 404 4463 adi_v5_jtag.c:315 jtagdp_transaction_endcheck(): jtag-dp:
CTRL/STAT 0xf0000001
Error: 405 4465 adi_v5_jtag.c:331 jtagdp_transaction_endcheck(): MEM_AP_CSW
0x80000042, MEM_AP_TAR 0xfb0
Debug: 406 4465 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu invoke-event reset-assert-pre
Debug: 407 4465 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu invoke-event reset-assert-pre
Debug: 408 4465 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu cget -chain-position
Debug: 409 4466 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu cget -chain-position
Debug: 410 4466 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag tapisenabled imx51.DAP
Debug: 411 4466 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
tapisenabled imx51.DAP
Debug: 412 4466 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu arp_reset assert 1
Debug: 413 4466 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu arp_reset assert 1
Debug: 414 4466 target.c:1682 target_free_all_working_areas_restore():
freeing all working areas
Debug: 415 4466 cortex_a.c:1732 cortex_a8_assert_reset():  
Debug: 416 4466 ft2232.c:1403 jtagkey_reset(): trst: 0, srst: 1,
high_output: 0x04, high_direction: 0x0f
Debug: 417 4466 core.c:715 jtag_add_reset(): SRST line asserted
Debug: 418 4466 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu invoke-event reset-assert-post
Debug: 419 4466 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu invoke-event reset-assert-post
Debug: 420 4466 target.c:3987 target_handle_event(): target: (0) imx51.cpu
(cortex_a) event: 10 (reset-assert-post) action: imx51_dbginit imx51.cpu
Debug: 421 4466 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_cortex_a dbginit
Debug: 422 4466 command.c:145 script_debug(): command - ocd_cortex_a
ocd_cortex_a dbginit
Debug: 424 4466 cortex_a.c:173 cortex_a8_init_debug_access():  
Warn : 425 5469 adi_v5_jtag.c:239 jtagdp_transaction_endcheck(): Timeout
(1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction - aborting
Warn : 426 6473 adi_v5_jtag.c:239 jtagdp_transaction_endcheck(): Timeout
(1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction - aborting
Debug: 427 6473 command.c:631 run_command(): Command failed with error code -107
User : 428 6473 command.c:549 command_print(): Runtime Error:
/usr/local/share/openocd/scripts/target/imx51.cfg:44: 
in procedure 'imx51_dbginit' 
in procedure 'cortex_a' called at file
"/usr/local/share/openocd/scripts/target/imx51.cfg", line 44

Debug: 429 6473 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu invoke-event reset-deassert-pre
Debug: 430 6473 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu invoke-event reset-deassert-pre
Debug: 431 6474 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu cget -chain-position
Debug: 432 6474 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu cget -chain-position
Debug: 433 6474 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag tapisenabled imx51.DAP
Debug: 434 6474 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
tapisenabled imx51.DAP
Debug: 435 6474 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_imx51.cpu arp_reset deassert 1
Debug: 436 6474 command.c:145 script_debug(): command - ocd_imx51.cpu
ocd_imx51.cpu arp_reset deassert 1
Debug: 437 6474 target.c:1682 target_free_all_working_areas_restore():
freeing all working areas
Debug: 438 6474 cortex_a.c:1761 cortex_a8_deassert_reset():  
Debug: 439 6474 ft2232.c:1403 jtagkey_reset(): trst: 0, srst: 0,
high_output: 0x0c, high_direction: 0x0f
Debug: 440 6475 core.c:719 jtag_add_reset(): SRST line released
Debug: 441 6485 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr =
0x00000000
Warn : 442 6485 cortex_a.c:1773 cortex_a8_deassert_reset(): imx51.cpu: ran
after reset and before halt ...
Debug: 443 6487 adi_v5_jtag.c:271 jtagdp_transaction_endcheck(): jtag-dp:
CTRL/STAT error, 0xf0000003
Debug: 444 6487 adi_v5_jtag.c:291 jtagdp_transaction_endcheck(): MEM-AP
Cached values: ap_bank 0x10, ap_csw 0xa2000002, ap_tar 0x90
Error: 445 6487 adi_v5_jtag.c:295 jtagdp_transaction_endcheck(): JTAG-DP
OVERRUN - check clock, memaccess, or reduce jtag speed
Debug: 446 6489 adi_v5_jtag.c:315 jtagdp_transaction_endcheck(): jtag-dp:
CTRL/STAT 0xf0000001
Error: 447 6491 adi_v5_jtag.c:331 jtagdp_transaction_endcheck(): MEM_AP_CSW
0x80000042, MEM_AP_TAR 0xfb0
User : 448 6491 command.c:549 command_print(): 

Debug: 449 6491 command.c:631 run_command(): Command failed with error code -4
User : 450 6491 command.c:669 command_run_line(): in procedure 'reset'


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to