Does anyone successfully download the firmware to QCA4020/SX-ULPGN-BTZ EVK with JTAG/OpenOCD?
I got error when I run flash_openocd.bat of quarts\demo\Helloworld_demo as shown below.
I'm using Windows 10 Pro but planing to migrate to Ubuntu Linux after knowing working setup.
===== Debug output =====
C:\Users\tnakase\work\qca4020-dev\QCA4020.OR.3.0_00011.1\target\quartz\demo\Helloworld_demo\build\gcc>flash_openocd.bat
Licensed under GNU GPL v2
For bug reports, read
User : 13 0 E:\projects\sysprogs-github\openocd\src\helper\command.c:544 command_print(): debug_level: 3
Debug: 14 0 E:\projects\sysprogs-github\openocd\src\helper\options.c:181 add_default_dirs(): bindir=../../bin
Debug: 15 16 E:\projects\sysprogs-github\openocd\src\helper\options.c:182 add_default_dirs(): pkgdatadir=.
Debug: 16 16 E:\projects\sysprogs-github\openocd\src\helper\options.c:183 add_default_dirs(): exepath=C:/Users/tnakase/work/qca4020-dev/openocd/bin
Debug: 17 16 E:\projects\sysprogs-github\openocd\src\helper\options.c:184 add_default_dirs(): bin2data=../../../.
Debug: 18 16 E:\projects\sysprogs-github\openocd\src\helper\configuration.c:42 add_script_search_dir(): adding C:\Users\tnakase\AppData\Roaming/OpenOCD
Debug: 19 31 E:\projects\sysprogs-github\openocd\src\helper\configuration.c:42 add_script_search_dir(): adding C:/Users/tnakase/work/qca4020-dev/openocd/bin/../../.././site
Debug: 20 31 E:\projects\sysprogs-github\openocd\src\helper\configuration.c:42 add_script_search_dir(): adding C:/Users/tnakase/work/qca4020-dev/openocd/bin/../../.././scripts
Debug: 21 143 E:\projects\sysprogs-github\openocd\src\helper\configuration.c:82 find_file(): found qca402x_openocd.cfg
Debug: 22 148 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 23 153 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - interface ocd_interface ftdi
Debug: 25 157 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 26 162 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 27 166 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 28 171 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 29 176 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 30 185 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 31 191 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_get_signal'...
Debug: 32 202 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Debug: 33 208 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ftdi_tdo_sample_edge'...
Debug: 34 219 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 35 227 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 37 235 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_ftdi_channel 0
Debug: 38 243 E:\projects\sysprogs-github\opCould Not Find C:\Users\tnakase\work\qca4020-dev\QCA4020.OR.3.0_00011.1\target\quartz\demo\Helloworld_demo\build\gcc\output\firmware_table.bin
enocd\src\helCould Not Find C:\Users\tnakase\work\qca4020-dev\QCA4020.OR.3.0_00011.1\target\quartz\demo\Helloworld_demo\build\gcc\output\generated_partition_table.xml
per\command.Could Not Find C:\Users\tnakase\work\qca4020-dev\QCA4020.OR.3.0_00011.1\target\quartz\demo\Helloworld_demo\build\gcc\output\generated_fwd_table.xml
c:143 script_debug(): command - ftdi_channel ocd_ftdi_channel 0
Debug: 40 250 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x0008 0x00fb
Debug: 41 256 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x0008 0x00fb
Debug: 43 261 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select jtag
Debug: 44 268 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_transport ocd_transport select jtag
Debug: 45 272 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
Debug: 46 277 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag_rclk'...
Debug: 47 282 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
Debug: 48 287 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
Debug: 49 292 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_scan_chain'...
Debug: 50 301 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag_reset'...
Debug: 51 307 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_runtest'...
Debug: 52 318 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_irscan'...
Debug: 53 323 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_verify_ircapture'...
Debug: 54 327 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_verify_jtag'...
Debug: 55 332 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_tms_sequence'...
Debug: 56 337 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_wait_srst_deassert'...
Debug: 57 342 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 58 350 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 59 354 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 60 358 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 61 363 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 62 367 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 63 372 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 64 376 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 65 381 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 66 385 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 67 389 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 68 393 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 69 398 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 70 402 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_svf'...
Debug: 71 406 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_xsvf'...
Debug: 72 410 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 5000
Debug: 73 415 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 5000
Debug: 75 419 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1631 jtag_config_khz(): handle jtag khz
Debug: 76 422 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 77 427 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 78 434 E:\projects\sysprogs-github\openocd\src\helper\command.c:544 command_print(): adapter speed: 5000 kHz
Debug: 79 437 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap QM4 cpu -irlen 4 -expected-id 0x4ba00477
Debug: 80 449 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_jtag ocd_jtag newtap QM4 cpu -irlen 4 -expected-id 0x4ba00477
Debug: 81 455 E:\projects\sysprogs-github\openocd\src\jtag\tcl.c:549 jim_newtap_cmd(): Creating New Tap, Chip: QM4, Tap: cpu, Dotted: QM4.cpu, 4 params
Debug: 82 459 E:\projects\sysprogs-github\openocd\src\jtag\tcl.c:573 jim_newtap_cmd(): Processing option: -irlen
Debug: 83 467 E:\projects\sysprogs-github\openocd\src\jtag\tcl.c:573 jim_newtap_cmd(): Processing option: -expected-id
Debug: 84 471 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1304 jtag_tap_init(): Created Tap: QM4.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0x3
Debug: 85 476 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create QM4.cpu cortex_m -chain-position QM4.cpu
Debug: 86 485 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_target ocd_target create QM4.cpu cortex_m -chain-position QM4.cpu
Debug: 87 490 E:\projects\sysprogs-github\openocd\src\target\target.c:1927 target_free_all_working_areas_restore(): freeing all working areas
Debug: 88 495 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 89 499 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 90 503 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 91 507 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 92 511 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 93 515 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 94 519 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 95 524 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 96 528 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 97 532 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 98 536 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 99 540 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 100 544 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 101 548 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 102 552 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dap'...
Debug: 103 556 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_tpiu'...
Debug: 104 561 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_itm'...
Debug: 105 565 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_itm'...
Debug: 106 569 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 107 573 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 108 577 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_cortex_m'...
Debug: 109 582 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 110 586 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 111 591 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 112 600 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 113 605 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 114 609 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 115 613 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 116 617 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 117 622 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 118 626 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 119 630 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 120 634 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 121 639 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 122 643 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 123 648 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 124 652 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 125 656 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 126 660 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 127 665 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 128 669 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 129 673 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 130 677 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 131 682 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 132 686 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 133 690 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 134 694 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 135 699 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 136 703 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 137 707 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 138 717 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 139 722 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 140 727 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 141 731 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 142 736 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 143 740 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 144 745 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 145 749 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 146 754 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 147 759 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 148 766 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 149 770 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 150 775 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 151 779 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 152 786 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 153 791 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 154 801 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 155 806 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_QM4.cpu'...
Debug: 156 811 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu configure -endian little
Debug: 157 816 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu configure -endian little
Debug: 158 822 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0
Debug: 159 831 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu configure -work-area-phys 0x20000000 -work-area-size 0x1000 -work-area-backup 0
Debug: 160 841 E:\projects\sysprogs-github\openocd\src\target\target.c:1927 target_free_all_working_areas_restore(): freeing all working areas
Debug: 161 848 E:\projects\sysprogs-github\openocd\src\target\target.c:1927 target_free_all_working_areas_restore(): freeing all working areas
Debug: 162 855 E:\projects\sysprogs-github\openocd\src\target\target.c:1927 target_free_all_working_areas_restore(): freeing all working areas
Debug: 163 862 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_targets QM4.cpu
Debug: 164 870 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - targets ocd_targets QM4.cpu
Debug: 167 876 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 168 883 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - init ocd_init
Debug: 170 888 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 171 898 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_target ocd_target init
Debug: 173 903 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 174 911 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_target ocd_target names
Debug: 175 919 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu cget -event gdb-flash-erase-start
Debug: 176 927 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu cget -event gdb-flash-erase-start
Debug: 177 936 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu configure -event gdb-flash-erase-start reset init
Debug: 178 945 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu configure -event gdb-flash-erase-start reset init
Debug: 179 954 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu cget -event gdb-flash-write-end
Debug: 180 962 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu cget -event gdb-flash-write-end
Debug: 181 969 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu configure -event gdb-flash-write-end reset halt
Debug: 182 978 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu configure -event gdb-flash-write-end reset halt
Debug: 183 986 E:\projects\sysprogs-github\openocd\src\target\target.c:1336 handle_target_init_command(): Initializing targets...
Debug: 184 991 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_target_request'...
Debug: 185 1001 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 186 1006 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 187 1011 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 188 1016 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_fast_load'...
Debug: 189 1020 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_profile'...
Debug: 190 1025 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 191 1034 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_reg'...
Debug: 192 1039 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_poll'...
Debug: 193 1045 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 194 1052 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_halt'...
Debug: 195 1059 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_resume'...
Debug: 196 1066 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_reset'...
Debug: 197 1071 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 198 1076 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_step'...
Debug: 199 1083 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mdd'...
Debug: 200 1088 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mdw'...
Debug: 201 1093 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mdh'...
Debug: 202 1097 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mdb'...
Debug: 203 1102 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mwd'...
Debug: 204 1106 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mww'...
Debug: 205 1111 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mwh'...
Debug: 206 1117 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_mwb'...
Debug: 207 1123 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_bp'...
Debug: 208 1128 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_rbp'...
Debug: 209 1135 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_wp'...
Debug: 210 1141 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_rwp'...
Debug: 211 1152 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_load_image'...
Debug: 212 1158 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_dump_image'...
Debug: 213 1168 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'...
Debug: 214 1175 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_verify_image'...
Debug: 215 1185 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_test_image'...
Debug: 216 1192 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 217 1201 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_ps'...
Debug: 218 1208 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 219 1219 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_report_flash_progress'...
Debug: 220 1226 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_run_until_stop_fast'...
Debug: 221 1235 E:\projects\sysprogs-github\openocd\src\helper\command.c:364 register_command_handler(): registering 'ocd_wait_for_stop'...
Debug: 222 1242 E:\projects\sysprogs-github\openocd\src\jtag\drivers\ftdi.c:657 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Error: 223 1384 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:193 open_matching_device(): libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Debug: 224 1390 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:422 mpsse_purge(): -
Debug: 225 1393 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:703 mpsse_loopback_config(): off
Debug: 226 1397 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:748 mpsse_set_frequency(): target 5000000 Hz
Debug: 227 1401 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:740 mpsse_rtck_config(): off
Debug: 228 1405 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:729 mpsse_divide_by_5_config(): off
Debug: 229 1409 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:709 mpsse_set_divisor(): 5
Debug: 230 1412 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:772 mpsse_set_frequency(): actually 5000000 Hz
Debug: 232 1417 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 233 1421 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1601 adapter_khz_to_speed(): have interface set up
Debug: 234 1425 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:748 mpsse_set_frequency(): target 5000000 Hz
Debug: 235 1429 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:740 mpsse_rtck_config(): off
Debug: 236 1432 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:729 mpsse_divide_by_5_config(): off
Debug: 237 1436 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:709 mpsse_set_divisor(): 5
Debug: 238 1439 E:\projects\sysprogs-github\openocd\src\jtag\drivers\mpsse.c:772 mpsse_set_frequency(): actually 5000000 Hz
Debug: 239 1447 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1598 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 240 1452 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1601 adapter_khz_to_speed(): have interface set up
Info : 241 1456 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1386 adapter_init(): clock speed 5000 kHz
Debug: 242 1459 E:\projects\sysprogs-github\openocd\src\openocd.c:140 handle_init_command(): Debug Adapter init complete
Debug: 243 1468 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 244 1473 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_transport ocd_[tr2019-02-11 17:36:04,874] INFO: Checking for files to add to the image for Firmware Descriptor Table 0 File:gen_fwd_table.py:673 Function:gen_xml_program
ansport init
Debug: 246 1481 E:\projects\sysprogs-github\openocd\src\transport\transport.c:239 handle_transport_init(): handle_transport_init
Debug: 247 1486 E:\projects\sysprogs-github\openocd\src\jtag\core.c:729 jtag_add_reset(): SRST line released
Debug: 248 1490 E:\projects\sysprogs-github\openocd\src\jtag\core.c:753 jtag_add_reset(): TRST line released
Debug: 249 1494 E:\projects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 250 1498 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 251 1503 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_jtag ocd_jtag arp_init
D[e2019-02-11 17:36:04,904] INFO: Done Generating XML file to program. File:gen_fwd_table.py:711 Function:gen_xml_program
bug: 252 1508 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1399 jtag_init_inner(): Init JTAG chain
Debug: 253 1516 E:\proStarting GDB Server....
jects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 254 1520 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1060 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 255 1525 E:\projects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Error: 256 1529 E:\projects\sysprogs-github\openocd\src\jtag\core.c:949 jtag_examine_chain_check(): JTAG scan chain interrogation failed: all zeroes
Error: 257 1534 E:\projects\sysprogs-github\openocd\src\jtag\core.c:950 jtag_examine_chain_check(): Check JTAG interface, timings, target power, etc.
Error: 258 1539 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1444 jtag_init_inner(): Trying to use configured scan chain anyway...
Debug: 259 1544 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1190 jtag_validate_ircapture(): IR capture validation scan
Error: 260 1548 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1242 jtag_validate_ircapture(): QM4.cpu: IR capture error; saw 0x00 not 0x01
Debug: 261 1552 E:\projects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Warn : 262 1556 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1467 jtag_init_inner(): Bypassing JTAG setup events due to errors
Debug: 263 1561 E:\projects\sysprogs-github\openocd\src\openocd.c:153 handle_init_command(): Examining targets...
Debug: 264 1564 E:\projects\sysprogs-github\openocd\src\target\target.c:1529 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 265 1569 E:\projects\sysprogs-github\openocd\src\target\arm_adi_v5.c:603 dap_dp_init():
Error: 266 1572 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 267 1577 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 268 1582 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 269 1587 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 270 1591 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 271 1603 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 272 1607 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 273 1612 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 274 1617 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 275 1622 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 276 1627 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 277 1633 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 278 1638 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 279 1643 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c[:2019-02-11 17:36:05,039] INFO: flash_through_gdb.py version 1.0.5 File:flash_through_gdb.py:596 Function:main
376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 280 1648 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 281 1652 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 282 1657 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 283 1662 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 284 1667 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 285 1671 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 286 1676 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 287 1683 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 288 1688 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 289 1692 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 290 1697 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 291 1702 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 292 1706 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 293 1711 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 294 1716 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 295 1721 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Debug: 296 1725 E:\projects\sysprogs-github\openocd\src\target\arm_adi_v5.c:637 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 297 1732 E:\projects\sysprogs-github\openocd\src\target\arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Error: 298 1737 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 299 1748 E:\projects\sysprogs-github\openocd\src\target\cortex_m.c:1912 cortex_m_examine(): Could not initialize the debug port
Debug: 300 1752 E:\projects\sysprogs-github\openocd\src\openocd.c:155 handle_init_command(): target examination failed
Debug: 301 1756 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 302 1765 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_flash ocd_flash init
Debug: 304 1769 E:\projects\sysprogs-github\openocd\src\flash\nor\tcl.c:1107 handle_flash_init_command(): Initializing flash devices...
Debug: 305 1774 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 306 1785 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 308 1789 E:\projects\sysprogs-github\openocd\src\flash\mflash.c:1377 handle_mflash_init_command(): Initializing mflash devices...
Debug: 309 1794 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 310 1798 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_nand ocd_nand init
Debug: 312 1802 E:\projects\sysprogs-github\openocd\src\flash\nand\tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
Debug: 313 1806 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 314 1814 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_pld ocd_pld init
Debug: 316 1818 E:\projects\sysprogs-github\openocd\src\pld\pld.c:205 handle_pld_init_command(): Initializing PLDs...
Debug: 317 1822 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset halt
Debug: 318 1832 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - reset ocd_reset halt
Debug: 320 1836 E:\projects\sysprogs-github\openocd\src\target\target.c:1547 target_call_reset_callbacks(): target reset 2 (halt)
Debug: 321 1840 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 322 1845 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_target ocd_target names
Debug: 323 1849 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu invoke-event reset-start
Debug: 324 1855 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu invoke-event reset-start
Debug: 325 1860 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 326 1866 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 327 1870 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init-reset
Debug: 328 1875 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_jtag ocd_jtag arp_init-reset
Debug: 329 1879 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1507 jtag_init_reset(): Initializing with hard TRST+SRST reset
Debug: 330 1884 E:\projects\sysprogs-github\openocd\src\jtag\core.c:742 jtag_add_reset(): JTAG reset with TLR instead of TRST
Debug: 331 1888 E:\projects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 332 1897 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1399 jtag_init_inner(): Init JTAG chain
Debug: 333 1901 E:\projects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 334 1905 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1060 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 335 1909 E:\projects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Error: 337 1918 E:\projects\sysprogs-github\openocd\src\jtag\core.c:949 jtag_examine_chain_check(): JTAG scan chain interrogation failed: all zeroes
Error: 338 1923 E:\projects\sysprogs-github\openocd\src\jtag\core.c:950 jtag_examine_chain_check(): Check JTAG interface, timings, target power, etc.
Error: 339 1931 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1444 jtag_init_inner(): Trying to use configured scan chain anyway...
Debug: 340 1935 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1190 jtag_validate_ircapture(): IR capture validation scan
Error: 341 1939 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1242 jtag_validate_ircapture(): QM4.cpu: IR capture error; saw 0x00 not 0x01
Debug: 342 1944 E:\projects\sysprogs-github\openocd\src\jtag\core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
Warn : 343 1948 E:\projects\sysprogs-github\openocd\src\jtag\core.c:1467 jtag_init_inner(): Bypassing JTAG setup events due to errors
Debug: 344 1952 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 345 1957 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 346 1968 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu cget -chain-position
Debug: 347 1973 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu cget -chain-position
Debug: 348 1978 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled QM4.cpu
Debug: 349 1983 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled QM4.cpu
Debug: 350 1987 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu invoke-event examine-start
Debug: 351 1992 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu invoke-event examine-start
Debug: 352 2000 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu arp_examine
Debug: 353 2004 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu arp_examine
Debug: 354 2009 E:\projects\sysprogs-github\openocd\src\target\arm_adi_v5.c:603 dap_dp_init():
Error: 355 2012 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 356 2017 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 357 2021 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 358 2026 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 359 2032 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 360 2037 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 361 2042 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 362 2047 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 363 2053 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 364 2059 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 365 2066 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 366 2071 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 367 2076 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 368 2081 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 369 2086 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 370 2090 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 371 2095 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 372 2101 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 373 2107 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 374 2111 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 375 2116 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 376 2121 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 377 2127 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 378 2132 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 379 2137 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 380 2142 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 381 2159 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 382 2164 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 383 2168 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 384 2173 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Debug: 385 2178 E:\projects\sysprogs-github\openocd\src\target\arm_adi_v5.c:637 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 386 2185 E:\projects\sysprogs-github\openocd\src\target\arm_adi_v5.h:428 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Error: 387 2190 E:\projects\sysprogs-github\openocd\src\target\adi_v5_jtag.c:376 jtagdp_overrun_check(): Invalid ACK (0) in DAP response
Error: 388 2200 E:\projects\sysprogs-github\openocd\src\target\cortex_m.c:1912 cortex_m_examine(): Could not initialize the debug port
Debug: 389 2205 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu invoke-event reset-assert-pre
Debug: 390 2210 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu invoke-event reset-assert-pre
Debug: 391 2218 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 392 2223 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_transport ocd_transport select
Debug: 393 2227 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu cget -chain-position
Debug: 394 2232 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu cget -chain-position
Debug: 395 2238 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled QM4.cpu
Debug: 396 2243 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_jtag ocd_jtag tapisenabled QM4.cpu
Debug: 397 2249 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_command ocd_command type ocd_QM4.cpu arp_reset assert 1
Debug: 398 2254 E:\projects\sysprogs-github\openocd\src\helper\command.c:143 script_debug(): command - ocd_QM4.cpu ocd_QM4.cpu arp_reset assert 1
Debug: 399 2259 E:\projects\sysprogs-github\openocd\src\target\target.c:1927 target_free_all_working_areas_restore():[ 2019-02-11 17:36:05,657] DEBUG: Output Directory is gdbout/ File:flash_through_gdb.py:628 Function:main
f[r2019-02-11 17:36:05,657] DEBUG: Search Path 1 .\output/ File:flash_through_gdb.py:640 Function:main
e[e2019-02-11 17:36:05,657] DEBUG: Search Path 2 ..\..\..\..\..\bin\cortex-m0\threadx\ File:flash_through_gdb.py:640 Function:main
i[n2019-02-11 17:36:05,657] DEBUG: Search Path 3 ..\..\..\..\..\bin\wlan/ File:flash_through_gdb.py:640 Function:main
g[ 2019-02-11 17:36:05,658] DEBUG: Search Path 4 ./ File:flash_through_gdb.py:640 Function:main
a[l2019-02-11 17:36:05,661] INFO: Will write file ./firmware_table.bin into sectors [0, 0] File:flash_through_gdb.py:675 Function:main
l w[o2019-02-11 17:36:05,664] DEBUG: C:/Program Files (x86)/GNU Tools ARM Embedded/6.2 2016q4/bin/arm-none-eabi-gdb.exe --command="gdbout/gdb_commands.txt" --batch File:flash_through_gdb.py:451 Function:run
rking areas
Debug: 400 2271 E:\projects\sysprogs-github\openocd\src\target\cortex_m.c:965 cortex_m_assert_reset(): target->state: unknown
Error: 401 2277 E:\projects\sysprogs-github\openocd\src\target\cortex_m.c:GNU gdb (GNU Tools for ARM Embedded Processors)9 7.12.0.20161204-git
91Copyright (C) 2016 Free Software Foundation, Inc.
tThis is free software: you are free to change and redistribute it.
eThere is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
x_This GDB was configured as "m_--ahost=i686-w64-mingw32 --target=arm-none-eabiss".
eType "show configuration" for configuration details.rt
For _bug reporting instructions, please see:
seFind the GDB manual and other documentation resources online at:
()For help, type "help".
: Type "apropos word" to search for commands related to "word".Ta
rget not examined, reset NOT assert[e2019-02-11 17:36:05,700] INFO: GDB can run without shell=true File:flash_through_gdb.py:435 Function:_check_need_shell
d!
User : 402 2306 E:\projects\sysprogs-github\openocd\src\helper\command.c:544 command_print(): in procedure 'reset' called at file "qca402x_openocd.cfg", line 93
in procedure 'ocd_bouncer'
Debug: 403 2313 E:\projects\sysprogs-github\openocd\src\helper\command.c:626 run_command(): Command failed with error code -4
User : 404 2317 E:\projects\sysprogs-github\openocd\src\helper\command.c:687 command_run_line():
gdbout/gdb_commands.txt:1: Error in sourced command file:
localhost:3333: No connection could be made because the target machine actively refused it.
[2019-02-11 17:36:06,789] ERROR: Unable to open the file 'gdbout/command_result.log'
File:flash_through_gdb.py:256 Function:_check_status
Traceback (most recent call last):
File "..\..\..\..\..\build\tools\flash/flash_through_gdb.py", line 249, in _check_status
f = open(self.cmd_status_file , 'rb')
IOError: [Errno 2] No such file or directory: 'gdbout/command_result.log'
[2019-02-11 17:36:06,789] WARNING: The last command return error
File:flash_through_gdb.py:259 Function:_check_status
[2019-02-11 17:36:06,789] ERROR: Failed to write to start sector=0, num sectors=1 File:flash_through_gdb.py:678 Function:main
Flash Operation Completed Successfully...
C:\Users\tnakase\work\qca4020-dev\QCA4020.OR.3.0_00011.1\target\quartz\demo\Helloworld_demo\build\gcc>
From the provided log, the device jumper connections are accurate. However there is no device configuration file and output image to donwload using JTAG_openocd.
Kindly rebuild the helloworld_demo and try flashing the image again.
@target\quartz\demo\Helloworld_demo\build\gcc
> build.bat t 4020 cdb
> flash_openocd.bat