|
1 | | -debug_level: 2 |
2 | | -adapter speed: 1000 kHz |
3 | | -srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst |
4 | | -adapter_nsrst_assert_width: 100 |
5 | | -riscv.flash |
6 | | -debug_level: 2 |
7 | | -Warn : Transport "jtag" was already selected |
8 | | -Info : Listening on port 6666 for tcl connections |
9 | | -Info : Listening on port 4444 for telnet connections |
10 | | -Info : CMSIS-DAP: SWD Supported |
11 | | -Info : CMSIS-DAP: JTAG Supported |
12 | | -Info : CMSIS-DAP: FW Version = 2.0.0 |
13 | | -Info : CMSIS-DAP: Interface Initialised (JTAG) |
14 | | -Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 0 nTRST = 0 nRESET = 1 |
15 | | -Info : CMSIS-DAP: Interface ready |
16 | | -Info : clock speed 1000 kHz |
17 | | -Info : cmsis-dap JTAG TLR_RESET |
18 | | -Info : cmsis-dap JTAG TLR_RESET |
19 | | -Info : JTAG tap: riscv.cpu tap/device found: 0x1000563d (mfg: 0x31e (Andes Technology Corporation), part: 0x0005, ver: 0x1) |
20 | | -Info : JTAG tap: auto0.tap tap/device found: 0x790007a3 (mfg: 0x3d1 (GigaDevice Semiconductor (Beijing)), part: 0x9000, ver: 0x7) |
21 | | -Warn : AUTO auto0.tap - use "jtag newtap auto0 tap -irlen 5 -expected-id 0x790007a3" |
22 | | -Info : datacount=4 progbufsize=2 |
23 | | -Info : Examined RISC-V core; found 1 harts |
24 | | -Info : hart 0: XLEN=32, misa=0x40901105 |
25 | | -Info : accepting 'gdb' connection from pipe |
26 | | -Info : dropped 'gdb' connection |
| 1 | +User : 15 3 command.c:544 command_print(): debug_level: 4 |
| 2 | +Debug: 16 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000 |
| 3 | +Debug: 17 3 command.c:143 script_debug(): command - adapter_khz ocd_adapter_khz 1000 |
| 4 | +Debug: 19 3 core.c:1645 jtag_config_khz(): handle jtag khz |
| 5 | +Debug: 20 3 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value |
| 6 | +Debug: 21 3 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value |
| 7 | +User : 22 3 command.c:544 command_print(): adapter speed: 1000 kHz |
| 8 | +Debug: 23 3 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only |
| 9 | +Debug: 24 4 command.c:143 script_debug(): command - reset_config ocd_reset_config srst_only |
| 10 | +User : 26 4 command.c:544 command_print(): srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst |
| 11 | +Debug: 27 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_assert_width 100 |
| 12 | +Debug: 28 4 command.c:143 script_debug(): command - adapter_nsrst_assert_width ocd_adapter_nsrst_assert_width 100 |
| 13 | +User : 30 4 command.c:544 command_print(): adapter_nsrst_assert_width: 100 |
| 14 | +Debug: 31 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_interface cmsis-dap |
| 15 | +Debug: 32 4 command.c:143 script_debug(): command - interface ocd_interface cmsis-dap |
| 16 | +Debug: 34 4 command.c:364 register_command_handler(): registering 'ocd_cmsis-dap'... |
| 17 | +Debug: 35 4 command.c:364 register_command_handler(): registering 'ocd_cmsis-dap'... |
| 18 | +Debug: 36 4 command.c:364 register_command_handler(): registering 'ocd_cmsis_dap_vid_pid'... |
| 19 | +Debug: 37 4 command.c:364 register_command_handler(): registering 'ocd_cmsis_dap_serial'... |
| 20 | +Debug: 38 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport select jtag |
| 21 | +Debug: 39 4 command.c:143 script_debug(): command - ocd_transport ocd_transport select jtag |
| 22 | +Debug: 40 4 command.c:364 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... |
| 23 | +Debug: 41 4 command.c:364 register_command_handler(): registering 'ocd_jtag_rclk'... |
| 24 | +Debug: 42 4 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... |
| 25 | +Debug: 43 4 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... |
| 26 | +Debug: 44 4 command.c:364 register_command_handler(): registering 'ocd_scan_chain'... |
| 27 | +Debug: 45 4 command.c:364 register_command_handler(): registering 'ocd_jtag_reset'... |
| 28 | +Debug: 46 4 command.c:364 register_command_handler(): registering 'ocd_runtest'... |
| 29 | +Debug: 47 4 command.c:364 register_command_handler(): registering 'ocd_irscan'... |
| 30 | +Debug: 48 4 command.c:364 register_command_handler(): registering 'ocd_verify_ircapture'... |
| 31 | +Debug: 49 4 command.c:364 register_command_handler(): registering 'ocd_verify_jtag'... |
| 32 | +Debug: 50 4 command.c:364 register_command_handler(): registering 'ocd_tms_sequence'... |
| 33 | +Debug: 51 4 command.c:364 register_command_handler(): registering 'ocd_wait_srst_deassert'... |
| 34 | +Debug: 52 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 35 | +Debug: 53 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 36 | +Debug: 54 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 37 | +Debug: 55 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 38 | +Debug: 56 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 39 | +Debug: 57 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 40 | +Debug: 58 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 41 | +Debug: 59 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 42 | +Debug: 60 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 43 | +Debug: 61 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 44 | +Debug: 62 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 45 | +Debug: 63 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 46 | +Debug: 64 4 command.c:364 register_command_handler(): registering 'ocd_jtag'... |
| 47 | +Debug: 65 4 command.c:364 register_command_handler(): registering 'ocd_svf'... |
| 48 | +Debug: 66 4 command.c:364 register_command_handler(): registering 'ocd_xsvf'... |
| 49 | +Debug: 67 4 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap riscv cpu -irlen 5 -expected-id 0x1000563d |
| 50 | +Debug: 68 4 command.c:143 script_debug(): command - ocd_jtag ocd_jtag newtap riscv cpu -irlen 5 -expected-id 0x1000563d |
| 51 | +Debug: 69 4 tcl.c:550 jim_newtap_cmd(): Creating New Tap, Chip: riscv, Tap: cpu, Dotted: riscv.cpu, 4 params |
| 52 | +Debug: 70 5 tcl.c:574 jim_newtap_cmd(): Processing option: -irlen |
| 53 | +Debug: 71 5 tcl.c:574 jim_newtap_cmd(): Processing option: -expected-id |
| 54 | +Debug: 72 5 core.c:1304 jtag_tap_init(): Created Tap: riscv.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x3 |
| 55 | +Debug: 73 5 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create riscv.cpu riscv -chain-position riscv.cpu |
| 56 | +Debug: 74 5 command.c:143 script_debug(): command - ocd_target ocd_target create riscv.cpu riscv -chain-position riscv.cpu |
| 57 | +Debug: 75 5 target.c:1929 target_free_all_working_areas_restore(): freeing all working areas |
| 58 | +Debug: 76 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 59 | +Debug: 77 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 60 | +Debug: 78 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 61 | +Debug: 79 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 62 | +Debug: 80 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 63 | +Debug: 81 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 64 | +Debug: 82 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 65 | +Debug: 83 5 command.c:364 register_command_handler(): registering 'ocd_riscv'... |
| 66 | +Debug: 84 5 command.c:364 register_command_handler(): registering 'ocd_arm'... |
| 67 | +Debug: 85 5 command.c:364 register_command_handler(): registering 'ocd_arm'... |
| 68 | +Debug: 86 5 command.c:364 register_command_handler(): registering 'ocd_arm'... |
| 69 | +Debug: 87 5 command.c:364 register_command_handler(): registering 'ocd_arm'... |
| 70 | +Debug: 88 5 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 71 | +Debug: 89 5 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 72 | +Debug: 90 5 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 73 | +Debug: 91 5 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 74 | +Debug: 92 5 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 75 | +Debug: 93 5 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 76 | +Debug: 94 5 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 77 | +Debug: 95 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 78 | +Debug: 96 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 79 | +Debug: 97 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 80 | +Debug: 98 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 81 | +Debug: 99 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 82 | +Debug: 100 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 83 | +Debug: 101 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 84 | +Debug: 102 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 85 | +Debug: 103 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 86 | +Debug: 104 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 87 | +Debug: 105 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 88 | +Debug: 106 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 89 | +Debug: 107 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 90 | +Debug: 108 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 91 | +Debug: 109 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 92 | +Debug: 110 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 93 | +Debug: 111 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 94 | +Debug: 112 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 95 | +Debug: 113 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 96 | +Debug: 114 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 97 | +Debug: 115 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 98 | +Debug: 116 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 99 | +Debug: 117 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 100 | +Debug: 118 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 101 | +Debug: 119 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 102 | +Debug: 120 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 103 | +Debug: 121 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 104 | +Debug: 122 6 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'... |
| 105 | +Debug: 123 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu configure -work-area-phys 0x20000000 -work-area-size 20480 -work-area-backup 0 |
| 106 | +Debug: 124 6 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu configure -work-area-phys 0x20000000 -work-area-size 20480 -work-area-backup 0 |
| 107 | +Debug: 125 6 target.c:1929 target_free_all_working_areas_restore(): freeing all working areas |
| 108 | +Debug: 126 6 target.c:1929 target_free_all_working_areas_restore(): freeing all working areas |
| 109 | +Debug: 127 6 target.c:1929 target_free_all_working_areas_restore(): freeing all working areas |
| 110 | +Debug: 128 6 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash bank riscv.flash gd32vf103 0x08000000 0 0 0 riscv.cpu |
| 111 | +Debug: 129 6 command.c:143 script_debug(): command - ocd_flash ocd_flash bank riscv.flash gd32vf103 0x08000000 0 0 0 riscv.cpu |
| 112 | +Error: 131 6 tcl.c:1115 handle_flash_bank_command(): flash driver 'gd32vf103' not found |
| 113 | +Debug: 132 7 command.c:645 run_command(): Command 'bank' failed with error code -4 |
| 114 | +User : 133 7 command.c:708 command_run_line(): |
| 115 | +Debug: 134 7 riscv.c:270 riscv_deinit_target(): riscv_deinit_target() |
| 116 | +Error: 135 7 riscv.c:233 get_target_type(): Target has not been initialized |
| 117 | +Debug: 136 7 target.c:1929 target_free_all_working_areas_restore(): freeing all working areas |
0 commit comments