Open On-Chip Debugger 0.11.0+dev-00438-ga75fc63 (2021-11-03-15:27)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
stm32h7x_cti_prepare_restart_one
User : 5 27 options.c:63 configuration_output_handler(): debug_level: 3
User : 6 28 options.c:63 configuration_output_handler():
Debug: 7 28 command.c:201 script_debug(): command - gdb_report_data_abort enable
Debug: 8 28 command.c:201 script_debug(): command - gdb_port 3333
Debug: 9 29 command.c:201 script_debug(): command - tcl_port 6666
Debug: 10 29 command.c:201 script_debug(): command - telnet_port 4444
Info : 11 31 server.c:312 add_service(): Listening on port 6666 for tcl connections
Info : 12 31 server.c:312 add_service(): Listening on port 4444 for telnet connections
Debug: 13 32 command.c:201 script_debug(): command - init
Debug: 14 32 command.c:201 script_debug(): command - target init
Debug: 15 32 command.c:201 script_debug(): command - target names
Debug: 16 33 command.c:201 script_debug(): command - STM32H753ZITx.ap2 cget -event gdb-flash-erase-start
Debug: 17 33 command.c:201 script_debug(): command - STM32H753ZITx.ap2 configure -event gdb-flash-erase-start reset init
Debug: 18 34 command.c:201 script_debug(): command - STM32H753ZITx.ap2 cget -event gdb-flash-write-end
Debug: 19 34 command.c:201 script_debug(): command - STM32H753ZITx.ap2 configure -event gdb-flash-write-end reset halt
Debug: 20 35 command.c:201 script_debug(): command - STM32H753ZITx.ap2 cget -event gdb-attach
Debug: 21 35 command.c:201 script_debug(): command - STM32H753ZITx.ap2 configure -event gdb-attach halt 1000
Debug: 22 36 command.c:201 script_debug(): command - STM32H753ZITx.cm7 cget -event gdb-flash-erase-start
Debug: 23 36 command.c:201 script_debug(): command - STM32H753ZITx.cm7 configure -event gdb-flash-erase-start reset init
Debug: 24 37 command.c:201 script_debug(): command - STM32H753ZITx.cm7 cget -event gdb-flash-write-end
Debug: 25 37 command.c:201 script_debug(): command - STM32H753ZITx.cm7 configure -event gdb-flash-write-end reset halt
Debug: 26 38 command.c:201 script_debug(): command - STM32H753ZITx.cm7 cget -event gdb-attach
Debug: 27 38 target.c:1650 handle_target_init_command(): Initializing targets...
Debug: 28 38 mem_ap.c:69 mem_ap_init_target(): mem_ap_init_target
Debug: 29 39 semihosting_common.c:99 semihosting_common_init():
Debug: 30 39 stlink_usb.c:5121 stlink_dap_init(): stlink_dap_init()
Debug: 31 40 stlink_usb.c:3682 stlink_open(): stlink_open
Debug: 32 40 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3748 serial:
Debug: 33 40 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374b serial:
Debug: 34 41 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374d serial:
Debug: 35 41 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374e serial:
Debug: 36 41 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x374f serial:
Debug: 37 42 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3752 serial:
Debug: 38 42 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3753 serial:
Debug: 39 43 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3754 serial:
Debug: 40 43 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3755 serial:
Debug: 41 44 stlink_usb.c:3696 stlink_open(): transport: 4 vid: 0x0483 pid: 0x3757 serial:
Info : 42 311 stlink_usb.c:1432 stlink_usb_version(): STLINK V3J9M3 (API v3) VID:PID 0483:374E
Debug: 43 312 stlink_usb.c:1653 stlink_usb_exit_mode(): MODE: 0x01
Info : 44 312 stlink_usb.c:1464 stlink_usb_check_voltage(): Target voltage: 3.282869
Debug: 45 313 stlink_usb.c:1721 stlink_usb_init_mode(): MODE: 0x01
Debug: 46 313 stlink_usb.c:3087 stlink_dump_speed_map(): Supported clock speeds are:
Debug: 47 314 stlink_usb.c:3090 stlink_dump_speed_map(): 24000 kHz
Debug: 48 314 stlink_usb.c:3090 stlink_dump_speed_map(): 8000 kHz
Debug: 49 314 stlink_usb.c:3090 stlink_dump_speed_map(): 3300 kHz
Debug: 50 315 stlink_usb.c:3090 stlink_dump_speed_map(): 1000 kHz
Debug: 51 315 stlink_usb.c:3090 stlink_dump_speed_map(): 200 kHz
Debug: 52 315 stlink_usb.c:3090 stlink_dump_speed_map(): 50 kHz
Debug: 53 315 stlink_usb.c:3090 stlink_dump_speed_map(): 5 kHz
Debug: 54 429 stlink_usb.c:1781 stlink_usb_init_mode(): MODE: 0x02
Debug: 55 449 stlink_usb.c:4072 stlink_usb_open_ap(): AP 0 enabled
Debug: 56 481 stlink_usb.c:3770 stlink_open(): Using TAR autoincrement: 1024
Debug: 57 482 core.c:1779 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 58 482 core.c:1783 adapter_khz_to_speed(): have interface set up
Debug: 59 485 core.c:1779 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 60 485 core.c:1783 adapter_khz_to_speed(): have interface set up
Info : 61 486 core.c:1559 adapter_init(): clock speed 8000 kHz
Debug: 62 487 openocd.c:143 handle_init_command(): Debug Adapter init complete
Debug: 63 487 command.c:201 script_debug(): command - transport init
Debug: 64 488 transport.c:230 handle_transport_init(): handle_transport_init
Debug: 65 489 adi_v5_dapdirect.c:184 dapdirect_init(): dapdirect_init()
Debug: 66 489 stlink_usb.c:5167 stlink_dap_reset(): stlink_dap_reset(1)
Debug: 67 490 core.c:639 adapter_system_reset(): SRST line asserted
Debug: 68 490 command.c:201 script_debug(): command - dap init
Debug: 69 491 arm_dap.c:107 dap_init_all(): Initializing all DAPs ...
Info : 70 491 stlink_usb.c:4142 stlink_dap_op_connect(): stlink_dap_op_connect(connect)
Debug: 71 492 arm_adi_v5.c:670 dap_dp_init(): STM32H753ZITx.dap
Debug: 72 492 arm_adi_v5.c:702 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 73 492 arm_adi_v5.h:546 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Debug: 74 495 arm_adi_v5.c:710 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 75 495 arm_adi_v5.h:546 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
Debug: 76 499 stlink_usb.c:2014 stlink_usb_idcode(): IDCODE: 0x6BA02477
Info : 77 499 stlink_usb.c:4171 stlink_dap_op_connect(): SWD DPIDR 0x6ba02477
Debug: 78 499 openocd.c:160 handle_init_command(): Examining targets...
Debug: 79 500 target.c:1838 target_call_event_callbacks(): target event 19 (examine-start) for core STM32H753ZITx.ap2
Debug: 80 500 stlink_usb.c:4072 stlink_usb_open_ap(): AP 2 enabled
Debug: 81 503 arm_adi_v5.c:817 mem_ap_init(): MEM_AP Packed Transfers: disabled
Debug: 82 504 arm_adi_v5.c:828 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 83 504 target.c:1838 target_call_event_callbacks(): target event 21 (examine-end) for core STM32H753ZITx.ap2
Debug: 84 505 target.c:1838 target_call_event_callbacks(): target event 19 (examine-start) for core STM32H753ZITx.cm7
Debug: 85 509 arm_adi_v5.c:817 mem_ap_init(): MEM_AP Packed Transfers: disabled
Debug: 86 509 arm_adi_v5.c:828 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 87 511 target.c:2617 target_read_u32(): address: 0xe000ed00, value: 0x411fc271
Info : 88 512 cortex_m.c:2089 cortex_m_examine(): STM32H753ZITx.cm7: Cortex-M7 r1p1 processor detected
Debug: 89 512 cortex_m.c:2101 cortex_m_examine(): cpuid: 0x411fc271
Debug: 90 514 target.c:2617 target_read_u32(): address: 0xe000ef40, value: 0x10110221
Debug: 91 518 target.c:2617 target_read_u32(): address: 0xe000ef44, value: 0x12000011
Debug: 92 518 cortex_m.c:2121 cortex_m_examine(): Cortex-M7 floating point feature FPv5_DP found
Debug: 93 520 target.c:2617 target_read_u32(): address: 0xe000edf0, value: 0x01010001
Debug: 94 520 target.c:2705 target_write_u32(): address: 0xe000edfc, value: 0x01000000
Debug: 95 525 target.c:2617 target_read_u32(): address: 0xe0002000, value: 0x10000081
Debug: 96 525 target.c:2705 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 97 527 target.c:2705 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 98 528 target.c:2705 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 99 529 target.c:2705 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 100 530 target.c:2705 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 101 531 target.c:2705 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 102 532 target.c:2705 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 103 534 target.c:2705 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 104 535 cortex_m.c:2192 cortex_m_examine(): FPB fpcr 0x10000081, numcode 8, numlit 0
Debug: 105 536 target.c:2617 target_read_u32(): address: 0xe0001000, value: 0x40000000
Debug: 106 536 cortex_m.c:1924 cortex_m_dwt_setup(): DWT_CTRL: 0x40000000
Debug: 107 538 target.c:2617 target_read_u32(): address: 0xe0001fbc, value: 0x00000000
Debug: 108 538 cortex_m.c:1931 cortex_m_dwt_setup(): DWT_DEVARCH: 0x0
Debug: 109 539 target.c:2705 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 110 542 target.c:2705 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 111 544 target.c:2705 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 112 545 target.c:2705 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 113 546 cortex_m.c:1980 cortex_m_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger
Info : 114 547 cortex_m.c:2202 cortex_m_examine(): STM32H753ZITx.cm7: target has 8 breakpoints, 4 watchpoints
Debug: 115 547 target.c:1838 target_call_event_callbacks(): target event 21 (examine-end) for core STM32H753ZITx.cm7
Debug: 116 548 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 21 (examine-end) action:
global _CHIPNAME
global $_CHIPNAME.USE_CTI
if { ![using_hla] } {
# Disable corresponding CTI by default
stm32h7x_cti_stop_one cm7_cti
stm32h7x_dbgmcu_init
}
if { [set $_CHIPNAME.USE_CTI] } {
stm32h7x_cti_start_cm7_cti
}
Debug: 117 549 command.c:201 script_debug(): command - transport select
Debug: 119 551 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 120 552 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x01
Debug: 121 555 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x00
Debug: 122 557 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INEN0 0
Debug: 123 559 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write OUTEN0 0
Debug: 124 561 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti enable off
Debug: 125 562 command.c:201 script_debug(): command - transport select
Debug: 126 563 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 127 564 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 128 565 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 129 565 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 130 566 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 131 567 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 132 569 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 133 570 command.c:201 script_debug(): command - transport select
Debug: 134 570 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 135 572 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 136 573 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 137 574 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 138 575 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 139 577 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 140 578 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 141 579 command.c:201 script_debug(): command - transport select
Debug: 142 580 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 143 581 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 144 582 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 145 583 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 146 584 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 147 585 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 148 586 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 149 587 command.c:201 script_debug(): command - transport select
Debug: 150 589 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 151 590 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 152 591 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018036 1
Debug: 153 592 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1034; size 4; count 1
Debug: 154 593 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 155 594 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018036 64
Debug: 156 597 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1034; size 4; count 1
Debug: 157 598 command.c:201 script_debug(): command - transport select
Debug: 158 598 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 159 600 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 160 601 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018044 1
Debug: 161 602 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e103c; size 4; count 1
Debug: 162 604 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 163 606 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018044 2048
Debug: 164 607 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e103c; size 4; count 1
Debug: 165 608 command.c:201 script_debug(): command - transport select
Debug: 166 609 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 167 611 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 168 612 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018068 1
Debug: 169 613 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1054; size 4; count 1
Debug: 170 615 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 171 616 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018068 786432
Debug: 172 617 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1054; size 4; count 1
Debug: 173 618 command.c:201 script_debug(): command - transport select
Debug: 174 619 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 175 620 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 176 620 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 177 622 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 178 624 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 179 624 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 180 626 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 181 626 command.c:201 script_debug(): command - flash init
Debug: 182 628 tcl.c:1387 handle_flash_init_command(): Initializing flash devices...
Debug: 183 628 command.c:201 script_debug(): command - nand init
Debug: 184 628 tcl.c:498 handle_nand_init_command(): Initializing NAND devices...
Debug: 185 629 command.c:201 script_debug(): command - pld init
Debug: 186 630 pld.c:206 handle_pld_init_command(): Initializing PLDs...
Debug: 187 630 command.c:201 script_debug(): command - tpiu init
Info : 188 631 gdb_server.c:3578 gdb_target_add_one(): gdb port disabled
Info : 189 631 gdb_server.c:3539 gdb_target_start(): starting gdb server for STM32H753ZITx.cm7 on 3333
Info : 190 632 server.c:312 add_service(): Listening on port 3333 for gdb connections
Info : 191 2405 server.c:101 add_connection(): accepting 'gdb' connection on tcp/3333
Debug: 192 2407 breakpoints.c:381 breakpoint_clear_target_internal(): Delete all breakpoints for target: STM32H753ZITx.cm7
Debug: 193 2407 breakpoints.c:569 watchpoint_clear_target(): Delete all watchpoints for target: STM32H753ZITx.cm7
Debug: 194 2408 target.c:1838 target_call_event_callbacks(): target event 22 (gdb-attach) for core STM32H753ZITx.cm7
Debug: 195 2408 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 22 (gdb-attach) action:
global _CONNECT_UNDER_RESET
# Needed to be able to use the connect_assert_srst in reset_config
if { $_CONNECT_UNDER_RESET == 1 } {
reset init
} else {
if { [set $_CHIPNAME.DUAL_CORE] } {
soft_reset_halt
}
}
Debug: 196 2410 command.c:201 script_debug(): command - reset init
Debug: 197 2412 target.c:1856 target_call_reset_callbacks(): target reset 3 (init)
Debug: 198 2412 target.c:1856 target_call_reset_callbacks(): target reset 3 (init)
Debug: 199 2412 command.c:201 script_debug(): command - expr [catch {ocd_process_reset_inner $MODE} result] == 0
Debug: 200 2413 command.c:201 script_debug(): command - target names
Debug: 201 2413 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-start
Debug: 202 2414 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-start
Debug: 203 2414 command.c:201 script_debug(): command - transport select
Debug: 204 2415 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 205 2415 command.c:201 script_debug(): command - transport select
Debug: 206 2415 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 207 2416 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event examine-start
Debug: 208 2416 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_examine allow-defer
Debug: 209 2417 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event examine-end
Debug: 210 2417 command.c:201 script_debug(): command - transport select
Debug: 211 2417 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 212 2418 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event examine-start
Debug: 213 2418 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_examine allow-defer
Debug: 214 2421 arm_adi_v5.c:817 mem_ap_init(): MEM_AP Packed Transfers: disabled
Debug: 215 2421 arm_adi_v5.c:828 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 216 2422 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event examine-end
Debug: 217 2422 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 21 (examine-end) action:
global _CHIPNAME
global $_CHIPNAME.USE_CTI
if { ![using_hla] } {
# Disable corresponding CTI by default
stm32h7x_cti_stop_one cm7_cti
stm32h7x_dbgmcu_init
}
if { [set $_CHIPNAME.USE_CTI] } {
stm32h7x_cti_start_cm7_cti
}
Debug: 218 2424 command.c:201 script_debug(): command - transport select
Debug: 219 2424 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 220 2425 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x01
Debug: 221 2426 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x00
Debug: 222 2427 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INEN0 0
Debug: 223 2428 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write OUTEN0 0
Debug: 224 2430 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti enable off
Debug: 225 2430 command.c:201 script_debug(): command - transport select
Debug: 226 2431 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 227 2431 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 228 2431 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 229 2432 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 230 2433 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 231 2434 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 232 2434 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 233 2435 command.c:201 script_debug(): command - transport select
Debug: 234 2436 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 235 2436 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 236 2437 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 237 2437 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 238 2438 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 239 2439 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 240 2439 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 241 2441 command.c:201 script_debug(): command - transport select
Debug: 242 2441 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 243 2442 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 244 2442 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 245 2443 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 246 2444 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 247 2444 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 248 2445 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 249 2446 command.c:201 script_debug(): command - transport select
Debug: 250 2447 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 251 2447 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 252 2447 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018036 1
Debug: 253 2448 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1034; size 4; count 1
Debug: 254 2449 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 255 2450 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018036 64
Debug: 256 2450 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1034; size 4; count 1
Debug: 257 2451 command.c:201 script_debug(): command - transport select
Debug: 258 2452 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 259 2453 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 260 2453 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018044 1
Debug: 261 2453 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e103c; size 4; count 1
Debug: 262 2454 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 263 2455 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018044 2048
Debug: 264 2456 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e103c; size 4; count 1
Debug: 265 2458 command.c:201 script_debug(): command - transport select
Debug: 266 2459 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 267 2459 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 268 2460 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018068 1
Debug: 269 2460 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1054; size 4; count 1
Debug: 270 2462 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 271 2462 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018068 786432
Debug: 272 2463 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1054; size 4; count 1
Debug: 273 2466 command.c:201 script_debug(): command - transport select
Debug: 274 2466 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 275 2467 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 276 2468 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 277 2468 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 278 2471 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 279 2472 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 280 2472 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 281 2474 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-assert-pre
Debug: 282 2474 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-assert-pre
Debug: 283 2475 command.c:201 script_debug(): command - transport select
Debug: 284 2475 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 285 2476 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_reset assert 1
Debug: 286 2477 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 287 2477 mem_ap.c:133 mem_ap_assert_reset(): mem_ap_assert_reset
Debug: 288 2478 command.c:201 script_debug(): command - transport select
Debug: 289 2478 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 290 2478 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_reset assert 1
Debug: 291 2479 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 292 2479 cortex_m.c:1162 cortex_m_assert_reset(): target->state: running
Debug: 293 2559 cortex_m.c:742 cortex_m_halt(): target->state: reset
Debug: 294 2559 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-assert-post
Debug: 295 2560 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-assert-post
Debug: 296 2560 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-deassert-pre
Debug: 297 2561 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-deassert-pre
Debug: 298 2561 command.c:201 script_debug(): command - transport select
Debug: 299 2561 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 300 2562 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_reset deassert 1
Debug: 301 2562 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 302 2563 target.c:1838 target_call_event_callbacks(): target event 0 (gdb-halt) for core STM32H753ZITx.ap2
Debug: 303 2563 target.c:1838 target_call_event_callbacks(): target event 1 (halted) for core STM32H753ZITx.ap2
Debug: 304 2563 mem_ap.c:86 mem_ap_arch_state(): mem_ap_arch_state
Debug: 305 2564 mem_ap.c:163 mem_ap_deassert_reset(): mem_ap_deassert_reset
Debug: 306 2564 command.c:201 script_debug(): command - transport select
Debug: 307 2564 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 308 2565 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_reset deassert 1
Debug: 309 2565 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 310 2565 cortex_m.c:1313 cortex_m_deassert_reset(): target->state: reset
Debug: 311 2566 stlink_usb.c:5167 stlink_dap_reset(): stlink_dap_reset(0)
Debug: 312 2566 core.c:643 adapter_system_reset(): SRST line released
Debug: 313 2732 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-deassert-post
Debug: 314 2732 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-deassert-post
Debug: 315 2733 command.c:201 script_debug(): command - transport select
Debug: 316 2734 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 317 2734 command.c:201 script_debug(): command - STM32H753ZITx.ap2 was_examined
Debug: 318 2734 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_waitstate halted 1000
Debug: 319 2735 command.c:201 script_debug(): command - STM32H753ZITx.ap2 curstate
Debug: 320 2735 command.c:201 script_debug(): command - transport select
Debug: 321 2736 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 322 2736 command.c:201 script_debug(): command - STM32H753ZITx.cm7 was_examined
Debug: 323 2737 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_waitstate halted 1000
Debug: 324 2738 cortex_m.c:681 cortex_m_poll(): Exit from reset with dcb_dhcsr 0x1010001
Debug: 325 2740 cortex_m.c:361 cortex_m_endreset_event(): DCB_DEMCR = 0x01000501
Debug: 326 2741 stlink_usb.c:4382 stlink_usb_misc_rw_segment(): Queue: 2 commands in 4 items
Debug: 327 2742 target.c:2705 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 328 2743 stlink_usb.c:4382 stlink_usb_misc_rw_segment(): Queue: 2 commands in 5 items
Debug: 329 2745 target.c:2617 target_read_u32(): address: 0xe0002000, value: 0x10000081
Debug: 330 2745 target.c:2705 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 331 2746 target.c:2705 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 332 2748 target.c:2705 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 333 2749 target.c:2705 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 334 2750 target.c:2705 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 335 2751 target.c:2705 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 336 2751 target.c:2705 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 337 2752 target.c:2705 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 338 2753 target.c:2705 target_write_u32(): address: 0xe0001020, value: 0x00000000
Debug: 339 2754 target.c:2705 target_write_u32(): address: 0xe0001024, value: 0x00000000
Debug: 340 2755 target.c:2705 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 341 2756 target.c:2705 target_write_u32(): address: 0xe0001030, value: 0x00000000
Debug: 342 2757 target.c:2705 target_write_u32(): address: 0xe0001034, value: 0x00000000
Debug: 343 2758 target.c:2705 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 344 2759 target.c:2705 target_write_u32(): address: 0xe0001040, value: 0x00000000
Debug: 345 2761 target.c:2705 target_write_u32(): address: 0xe0001044, value: 0x00000000
Debug: 346 2761 target.c:2705 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 347 2763 target.c:2705 target_write_u32(): address: 0xe0001050, value: 0x00000000
Debug: 348 2764 target.c:2705 target_write_u32(): address: 0xe0001054, value: 0x00000000
Debug: 349 2765 target.c:2705 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 350 2766 target.c:3274 target_wait_state(): waiting for target halted...
Error: 352 3767 target.c:3282 target_wait_state(): timed out while waiting for target halted
Debug: 353 3767 command.c:201 script_debug(): command - STM32H753ZITx.cm7 curstate
Debug: 355 3768 command.c:591 run_command(): Command 'reset' failed with error code -4
User : 356 3770 target.c:4842 target_handle_event(): Error executing event gdb-attach on target STM32H753ZITx.cm7:
TARGET: STM32H753ZITx.cm7 - Not halted
Debug: 357 3771 target.c:2617 target_read_u32(): address: 0x5c001000, value: 0x20036450
Debug: 358 3772 stm32h7x.c:774 stm32x_probe(): device id = 0x20036450
Info : 359 3772 stm32h7x.c:786 stm32x_probe(): Device: STM32H74x/75x
Debug: 360 3772 stm32h7x.c:798 stm32x_probe(): flash_regs_base: 0x52002000
Debug: 361 3773 target.c:2641 target_read_u16(): address: 0x1ff1e880, value: 0x0800
Info : 362 3773 stm32h7x.c:813 stm32x_probe(): flash size probed value 2048k
Info : 363 3774 stm32h7x.c:843 stm32x_probe(): STM32H7 flash has dual banks
Info : 364 3774 stm32h7x.c:864 stm32x_probe(): Bank (0) size is 1024 kb, base address is 0x08000000
Debug: 365 3775 target.c:2617 target_read_u32(): address: 0x5c001000, value: 0x20036450
Debug: 366 3776 stm32h7x.c:774 stm32x_probe(): device id = 0x20036450
Info : 367 3776 stm32h7x.c:786 stm32x_probe(): Device: STM32H74x/75x
Debug: 368 3776 stm32h7x.c:798 stm32x_probe(): flash_regs_base: 0x52002100
Debug: 369 3777 target.c:2641 target_read_u16(): address: 0x1ff1e880, value: 0x0800
Info : 370 3778 stm32h7x.c:813 stm32x_probe(): flash size probed value 2048k
Info : 371 3778 stm32h7x.c:843 stm32x_probe(): STM32H7 flash has dual banks
Info : 372 3778 stm32h7x.c:864 stm32x_probe(): Bank (1) size is 1024 kb, base address is 0x08100000
Info : 373 3779 gdb_server.c:1047 gdb_new_connection(): New GDB Connection: 1, Target STM32H753ZITx.cm7, state: running
Warn : 374 3779 gdb_server.c:1062 gdb_new_connection(): GDB connection 1 on target STM32H753ZITx.cm7 not halted
Debug: 375 3780 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+
Debug: 376 3780 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $PacketSize=4000;qXfer:memory-map:read+;qXfer:features:read+;qXfer:threads:read+;QStartNoAckMode+;vContSupported+#02'
Debug: 377 3782 gdb_server.c:384 gdb_log_incoming_packet(): received packet: vMustReplyEmpty
Debug: 378 3784 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $#00'
Debug: 379 3784 gdb_server.c:384 gdb_log_incoming_packet(): received packet: QStartNoAckMode
Debug: 380 3784 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 381 3785 gdb_server.c:676 gdb_get_packet_inner(): Received first acknowledgment after entering noack mode. Ignoring it.
Debug: 382 3786 gdb_server.c:384 gdb_log_incoming_packet(): received packet: !
Debug: 383 3786 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 384 3787 gdb_server.c:384 gdb_log_incoming_packet(): received packet: Hg0
Debug: 385 3787 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 386 3788 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:features:read:target.xml:0,1000
Debug: 387 3791 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-3942-bytes>#d1
Debug: 388 3794 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qTStatus
Debug: 389 3794 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $#00'
Debug: 390 3795 gdb_server.c:384 gdb_log_incoming_packet(): received packet: ?
Debug: 391 3796 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $S02#b5'
Debug: 392 3797 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 393 3797 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Debug: 394 3799 gdb_server.c:384 gdb_log_incoming_packet(): received packet: Hc-1
Debug: 395 3799 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 396 3801 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qC
Debug: 397 3801 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $QC0#c4'
Debug: 398 3802 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qAttached
Debug: 399 3802 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $1#31'
Debug: 400 3804 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qOffsets
Debug: 401 3804 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $Text=0;Data=0;Bss=0#04'
Debug: 402 3805 gdb_server.c:384 gdb_log_incoming_packet(): received packet: g
Debug: 403 3806 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000#80'
Debug: 404 3809 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:memory-map:read::0,1000
Debug: 405 3809 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-378-bytes>#ce
Debug: 406 3810 gdb_server.c:384 gdb_log_incoming_packet(): received packet: m8018ecc,2
Debug: 407 3810 gdb_server.c:1495 gdb_read_memory_packet(): addr: 0x0000000008018ecc, len: 0x00000002
Debug: 408 3811 target.c:2467 target_read_buffer(): reading buffer of 2 byte at 0x08018ecc
Debug: 409 3812 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $08b5#ff'
Debug: 410 3813 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 411 3814 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Debug: 412 3815 gdb_server.c:384 gdb_log_incoming_packet(): received packet: m0,4
Debug: 413 3815 gdb_server.c:1495 gdb_read_memory_packet(): addr: 0x0000000000000000, len: 0x00000004
Debug: 414 3815 target.c:2467 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug: 415 3817 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $0696924c#d7'
Debug: 416 3819 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qSymbol::
Debug: 417 3820 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 418 3821 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 419 3822 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Debug: 420 3823 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qRcmd,57726974654450203078322030784630
Debug: 421 3833 command.c:201 script_debug(): command - target current
Debug: 422 3836 command.c:201 script_debug(): command - STM32H753ZITx.cm7 cget -dap
Debug: 423 3838 command.c:201 script_debug(): command - expr $reg_idx * 4
Debug: 424 3839 command.c:201 script_debug(): command - STM32H753ZITx.dap dpreg 8 0xF0
User : 425 3842 gdb_server.c:755 gdb_output(): O.K.
Debug: 426 3843 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $O4f2e4b2e0a#3e'
User : 427 3843 gdb_server.c:755 gdb_output():
Debug: 428 3843 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $O0a#e0'
Debug: 429 3844 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 430 3871 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qRcmd,52656164415020307832
Debug: 431 3873 command.c:201 script_debug(): command - target current
Debug: 432 3875 command.c:201 script_debug(): command - STM32H753ZITx.cm7 cget -ap-num
Debug: 433 3878 command.c:201 script_debug(): command - target current
Debug: 434 3885 command.c:201 script_debug(): command - STM32H753ZITx.cm7 cget -dap
Debug: 435 3888 command.c:201 script_debug(): command - expr $reg_idx * 4
Debug: 436 3891 command.c:201 script_debug(): command - expr ($reg == 8)
Debug: 437 3893 command.c:201 script_debug(): command - STM32H753ZITx.dap apreg 0 0xF8
Debug: 438 3895 command.c:201 script_debug(): command - expr $base_addr & 0xFFFFF000 | 0xFD0
User : 439 3897 gdb_server.c:755 gdb_output(): O.K.:0xE00FEFD0
Debug: 440 3897 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $O4f2e4b2e3a307845303046454644300a#db'
User : 441 3898 gdb_server.c:755 gdb_output():
Debug: 442 3898 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $O0a#e0'
Debug: 443 3914 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 444 3932 gdb_server.c:384 gdb_log_incoming_packet(): received packet: me00fefd0,20
Debug: 445 3932 gdb_server.c:1495 gdb_read_memory_packet(): addr: 0x00000000e00fefd0, len: 0x00000020
Debug: 446 3933 target.c:2467 target_read_buffer(): reading buffer of 32 byte at 0xe00fefd0
Debug: 447 3933 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $0000000000000000000000000000000050000000040000000a00000000000000#3a'
Debug: 448 3948 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 449 3948 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Debug: 450 3964 gdb_server.c:384 gdb_log_incoming_packet(): received packet: m0,4
Debug: 451 3964 gdb_server.c:1495 gdb_read_memory_packet(): addr: 0x0000000000000000, len: 0x00000004
Debug: 452 3964 target.c:2467 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug: 453 3965 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $0696924c#d7'
Debug: 454 3967 gdb_server.c:384 gdb_log_incoming_packet(): received packet: m0,4
Debug: 455 3967 gdb_server.c:1495 gdb_read_memory_packet(): addr: 0x0000000000000000, len: 0x00000004
Debug: 456 3968 target.c:2467 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug: 457 3969 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $0696924c#d7'
Debug: 458 4014 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 459 4015 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Debug: 460 4025 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 461 4026 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Info : 462 6004 server.c:101 add_connection(): accepting 'gdb' connection on tcp/3333
Debug: 463 6005 breakpoints.c:381 breakpoint_clear_target_internal(): Delete all breakpoints for target: STM32H753ZITx.cm7
Debug: 464 6006 breakpoints.c:569 watchpoint_clear_target(): Delete all watchpoints for target: STM32H753ZITx.cm7
Debug: 465 6018 target.c:1838 target_call_event_callbacks(): target event 22 (gdb-attach) for core STM32H753ZITx.cm7
Debug: 466 6019 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 22 (gdb-attach) action:
global _CONNECT_UNDER_RESET
# Needed to be able to use the connect_assert_srst in reset_config
if { $_CONNECT_UNDER_RESET == 1 } {
reset init
} else {
if { [set $_CHIPNAME.DUAL_CORE] } {
soft_reset_halt
}
}
Debug: 467 6021 command.c:201 script_debug(): command - reset init
Debug: 468 6022 target.c:1856 target_call_reset_callbacks(): target reset 3 (init)
Debug: 469 6023 target.c:1856 target_call_reset_callbacks(): target reset 3 (init)
Debug: 470 6023 command.c:201 script_debug(): command - expr [catch {ocd_process_reset_inner $MODE} result] == 0
Debug: 471 6024 command.c:201 script_debug(): command - target names
Debug: 472 6024 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-start
Debug: 473 6024 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-start
Debug: 474 6025 command.c:201 script_debug(): command - transport select
Debug: 475 6025 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 476 6026 command.c:201 script_debug(): command - transport select
Debug: 477 6026 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 478 6027 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event examine-start
Debug: 479 6028 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_examine allow-defer
Debug: 480 6028 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event examine-end
Debug: 481 6029 command.c:201 script_debug(): command - transport select
Debug: 482 6029 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 483 6029 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event examine-start
Debug: 484 6030 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_examine allow-defer
Debug: 485 6033 arm_adi_v5.c:817 mem_ap_init(): MEM_AP Packed Transfers: disabled
Debug: 486 6033 arm_adi_v5.c:828 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 487 6033 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event examine-end
Debug: 488 6034 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 21 (examine-end) action:
global _CHIPNAME
global $_CHIPNAME.USE_CTI
if { ![using_hla] } {
# Disable corresponding CTI by default
stm32h7x_cti_stop_one cm7_cti
stm32h7x_dbgmcu_init
}
if { [set $_CHIPNAME.USE_CTI] } {
stm32h7x_cti_start_cm7_cti
}
Debug: 489 6036 command.c:201 script_debug(): command - transport select
Debug: 490 6036 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 491 6036 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x01
Debug: 492 6038 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x00
Debug: 493 6040 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INEN0 0
Debug: 494 6041 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write OUTEN0 0
Debug: 495 6042 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti enable off
Debug: 496 6043 command.c:201 script_debug(): command - transport select
Debug: 497 6044 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 498 6044 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 499 6045 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 500 6045 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 501 6046 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 502 6047 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 503 6048 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 504 6049 command.c:201 script_debug(): command - transport select
Debug: 505 6049 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 506 6050 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 507 6050 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 508 6051 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 509 6052 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 510 6053 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 511 6053 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 512 6054 command.c:201 script_debug(): command - transport select
Debug: 513 6055 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 514 6055 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 515 6056 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 516 6056 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 517 6058 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 518 6058 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 519 6059 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 520 6062 command.c:201 script_debug(): command - transport select
Debug: 521 6062 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 522 6062 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 523 6063 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018036 1
Debug: 524 6063 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1034; size 4; count 1
Debug: 525 6065 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 526 6066 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018036 64
Debug: 527 6067 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1034; size 4; count 1
Debug: 528 6068 command.c:201 script_debug(): command - transport select
Debug: 529 6069 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 530 6070 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 531 6070 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018044 1
Debug: 532 6070 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e103c; size 4; count 1
Debug: 533 6072 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 534 6072 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018044 2048
Debug: 535 6073 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e103c; size 4; count 1
Debug: 536 6074 command.c:201 script_debug(): command - transport select
Debug: 537 6075 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 538 6076 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 539 6076 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018068 1
Debug: 540 6077 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1054; size 4; count 1
Debug: 541 6079 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 542 6080 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018068 786432
Debug: 543 6080 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1054; size 4; count 1
Debug: 544 6082 command.c:201 script_debug(): command - transport select
Debug: 545 6083 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 546 6083 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 547 6084 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 548 6084 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 549 6086 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 550 6087 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 551 6087 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 552 6095 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-assert-pre
Debug: 553 6096 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-assert-pre
Debug: 554 6097 command.c:201 script_debug(): command - transport select
Debug: 555 6097 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 556 6098 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_reset assert 1
Debug: 557 6099 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 558 6099 mem_ap.c:133 mem_ap_assert_reset(): mem_ap_assert_reset
Debug: 559 6100 command.c:201 script_debug(): command - transport select
Debug: 560 6100 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 561 6100 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_reset assert 1
Debug: 562 6100 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 563 6101 cortex_m.c:1162 cortex_m_assert_reset(): target->state: running
Debug: 564 6101 stlink_usb.c:5167 stlink_dap_reset(): stlink_dap_reset(1)
Debug: 565 6102 core.c:639 adapter_system_reset(): SRST line asserted
Debug: 566 6189 cortex_m.c:742 cortex_m_halt(): target->state: reset
Debug: 567 6190 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-assert-post
Debug: 568 6190 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-assert-post
Debug: 569 6191 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-deassert-pre
Debug: 570 6191 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-deassert-pre
Debug: 571 6192 command.c:201 script_debug(): command - transport select
Debug: 572 6192 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 573 6193 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_reset deassert 1
Debug: 574 6193 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 575 6194 target.c:1838 target_call_event_callbacks(): target event 0 (gdb-halt) for core STM32H753ZITx.ap2
Debug: 576 6194 target.c:1838 target_call_event_callbacks(): target event 1 (halted) for core STM32H753ZITx.ap2
Debug: 577 6195 mem_ap.c:86 mem_ap_arch_state(): mem_ap_arch_state
Debug: 578 6195 mem_ap.c:163 mem_ap_deassert_reset(): mem_ap_deassert_reset
Debug: 579 6195 command.c:201 script_debug(): command - transport select
Debug: 580 6196 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 581 6196 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_reset deassert 1
Debug: 582 6198 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 583 6198 cortex_m.c:1313 cortex_m_deassert_reset(): target->state: reset
Debug: 584 6198 stlink_usb.c:5167 stlink_dap_reset(): stlink_dap_reset(0)
Debug: 585 6199 core.c:643 adapter_system_reset(): SRST line released
Debug: 586 6362 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-deassert-post
Debug: 587 6362 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-deassert-post
Debug: 588 6363 command.c:201 script_debug(): command - transport select
Debug: 589 6363 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 590 6364 command.c:201 script_debug(): command - STM32H753ZITx.ap2 was_examined
Debug: 591 6364 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_waitstate halted 1000
Debug: 592 6365 command.c:201 script_debug(): command - STM32H753ZITx.ap2 curstate
Debug: 593 6365 command.c:201 script_debug(): command - transport select
Debug: 594 6365 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 595 6366 command.c:201 script_debug(): command - STM32H753ZITx.cm7 was_examined
Debug: 596 6366 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_waitstate halted 1000
Debug: 597 6368 cortex_m.c:681 cortex_m_poll(): Exit from reset with dcb_dhcsr 0x1010001
Debug: 598 6369 cortex_m.c:361 cortex_m_endreset_event(): DCB_DEMCR = 0x01000501
Debug: 599 6370 stlink_usb.c:4382 stlink_usb_misc_rw_segment(): Queue: 2 commands in 4 items
Debug: 600 6371 target.c:2705 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 601 6372 stlink_usb.c:4382 stlink_usb_misc_rw_segment(): Queue: 2 commands in 5 items
Debug: 602 6373 target.c:2617 target_read_u32(): address: 0xe0002000, value: 0x10000081
Debug: 603 6373 target.c:2705 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 604 6374 target.c:2705 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 605 6376 target.c:2705 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 606 6377 target.c:2705 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 607 6379 target.c:2705 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 608 6380 target.c:2705 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 609 6381 target.c:2705 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 610 6382 target.c:2705 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 611 6384 target.c:2705 target_write_u32(): address: 0xe0001020, value: 0x00000000
Debug: 612 6385 target.c:2705 target_write_u32(): address: 0xe0001024, value: 0x00000000
Debug: 613 6386 target.c:2705 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 614 6387 target.c:2705 target_write_u32(): address: 0xe0001030, value: 0x00000000
Debug: 615 6388 target.c:2705 target_write_u32(): address: 0xe0001034, value: 0x00000000
Debug: 616 6389 target.c:2705 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 617 6391 target.c:2705 target_write_u32(): address: 0xe0001040, value: 0x00000000
Debug: 618 6392 target.c:2705 target_write_u32(): address: 0xe0001044, value: 0x00000000
Debug: 619 6392 target.c:2705 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 620 6394 target.c:2705 target_write_u32(): address: 0xe0001050, value: 0x00000000
Debug: 621 6395 target.c:2705 target_write_u32(): address: 0xe0001054, value: 0x00000000
Debug: 622 6397 target.c:2705 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 623 6399 target.c:3274 target_wait_state(): waiting for target halted...
Error: 625 7400 target.c:3282 target_wait_state(): timed out while waiting for target halted
Debug: 626 7400 command.c:201 script_debug(): command - STM32H753ZITx.cm7 curstate
Debug: 628 7401 command.c:591 run_command(): Command 'reset' failed with error code -4
User : 629 7401 target.c:4842 target_handle_event(): Error executing event gdb-attach on target STM32H753ZITx.cm7:
TARGET: STM32H753ZITx.cm7 - Not halted
Info : 630 7402 gdb_server.c:1047 gdb_new_connection(): New GDB Connection: 2, Target STM32H753ZITx.cm7, state: running
Warn : 631 7402 gdb_server.c:1062 gdb_new_connection(): GDB connection 2 on target STM32H753ZITx.cm7 not halted
Debug: 632 7403 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+
Debug: 633 7404 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $PacketSize=4000;qXfer:memory-map:read+;qXfer:features:read+;qXfer:threads:read+;QStartNoAckMode+;vContSupported+#02'
Debug: 634 7407 gdb_server.c:384 gdb_log_incoming_packet(): received packet: vMustReplyEmpty
Debug: 635 7407 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $#00'
Debug: 636 7409 gdb_server.c:384 gdb_log_incoming_packet(): received packet: QStartNoAckMode
Debug: 637 7409 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 638 7411 gdb_server.c:676 gdb_get_packet_inner(): Received first acknowledgment after entering noack mode. Ignoring it.
Debug: 639 7411 gdb_server.c:384 gdb_log_incoming_packet(): received packet: !
Debug: 640 7412 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 641 7413 gdb_server.c:384 gdb_log_incoming_packet(): received packet: Hg0
Debug: 642 7413 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 643 7414 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:features:read:target.xml:0,1000
Debug: 644 7417 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-3942-bytes>#d1
Debug: 645 7419 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qTStatus
Debug: 646 7419 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $#00'
Debug: 647 7420 gdb_server.c:384 gdb_log_incoming_packet(): received packet: ?
Debug: 648 7421 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $S02#b5'
Debug: 649 7422 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 650 7422 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Debug: 651 7424 gdb_server.c:384 gdb_log_incoming_packet(): received packet: Hc-1
Debug: 652 7424 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 653 7425 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qC
Debug: 654 7425 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $QC0#c4'
Debug: 655 7427 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qAttached
Debug: 656 7427 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $1#31'
Debug: 657 7428 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qOffsets
Debug: 658 7429 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $Text=0;Data=0;Bss=0#04'
Debug: 659 7430 gdb_server.c:384 gdb_log_incoming_packet(): received packet: g
Debug: 660 7431 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000#80'
Debug: 661 7433 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:memory-map:read::0,1000
Debug: 662 7433 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-378-bytes>#ce
Debug: 663 7434 gdb_server.c:384 gdb_log_incoming_packet(): received packet: m8018ecc,2
Debug: 664 7435 gdb_server.c:1495 gdb_read_memory_packet(): addr: 0x0000000008018ecc, len: 0x00000002
Debug: 665 7435 target.c:2467 target_read_buffer(): reading buffer of 2 byte at 0x08018ecc
Debug: 666 7437 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $08b5#ff'
Debug: 667 7438 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qXfer:threads:read::0,1000
Debug: 668 7439 gdb_server.c:394 gdb_log_outgoing_packet(): sending packet: $<binary-data-44-bytes>#02
Debug: 669 7440 gdb_server.c:384 gdb_log_incoming_packet(): received packet: m0,4
Debug: 670 7440 gdb_server.c:1495 gdb_read_memory_packet(): addr: 0x0000000000000000, len: 0x00000004
Debug: 671 7441 target.c:2467 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug: 672 7442 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $0696924c#d7'
Debug: 673 7444 gdb_server.c:384 gdb_log_incoming_packet(): received packet: qSymbol::
Debug: 674 7444 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 675 7472 gdb_server.c:384 gdb_log_incoming_packet(): received packet: vFlashErase:08000000,00060000
Debug: 676 7473 target.c:1838 target_call_event_callbacks(): target event 24 (gdb-flash-erase-start) for core STM32H753ZITx.cm7
Debug: 677 7473 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 24 (gdb-flash-erase-start) action: reset init
Debug: 678 7474 command.c:201 script_debug(): command - reset init
Debug: 679 7476 target.c:1856 target_call_reset_callbacks(): target reset 3 (init)
Debug: 680 7477 target.c:1856 target_call_reset_callbacks(): target reset 3 (init)
Debug: 681 7477 command.c:201 script_debug(): command - expr [catch {ocd_process_reset_inner $MODE} result] == 0
Debug: 682 7478 command.c:201 script_debug(): command - target names
Debug: 683 7479 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-start
Debug: 684 7479 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-start
Debug: 685 7480 command.c:201 script_debug(): command - transport select
Debug: 686 7480 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 687 7481 command.c:201 script_debug(): command - transport select
Debug: 688 7481 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 689 7482 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event examine-start
Debug: 690 7482 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_examine allow-defer
Debug: 691 7483 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event examine-end
Debug: 692 7483 command.c:201 script_debug(): command - transport select
Debug: 693 7484 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 694 7484 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event examine-start
Debug: 695 7485 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_examine allow-defer
Debug: 696 7487 arm_adi_v5.c:817 mem_ap_init(): MEM_AP Packed Transfers: disabled
Debug: 697 7488 arm_adi_v5.c:828 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 698 7488 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event examine-end
Debug: 699 7489 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 21 (examine-end) action:
global _CHIPNAME
global $_CHIPNAME.USE_CTI
if { ![using_hla] } {
# Disable corresponding CTI by default
stm32h7x_cti_stop_one cm7_cti
stm32h7x_dbgmcu_init
}
if { [set $_CHIPNAME.USE_CTI] } {
stm32h7x_cti_start_cm7_cti
}
Debug: 700 7490 command.c:201 script_debug(): command - transport select
Debug: 701 7490 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 702 7491 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x01
Debug: 703 7493 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INACK 0x00
Debug: 704 7494 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write INEN0 0
Debug: 705 7496 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti write OUTEN0 0
Debug: 706 7498 command.c:201 script_debug(): command - STM32H753ZITx.cm7_cti enable off
Debug: 707 7499 command.c:201 script_debug(): command - transport select
Debug: 708 7499 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 709 7500 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 710 7500 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 711 7501 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 712 7502 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 713 7503 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 714 7503 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 715 7505 command.c:201 script_debug(): command - transport select
Debug: 716 7505 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 717 7505 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 718 7506 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 719 7506 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 720 7508 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 721 7508 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 722 7509 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 723 7512 command.c:201 script_debug(): command - transport select
Debug: 724 7512 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 725 7513 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 726 7514 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 727 7514 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 728 7518 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 729 7519 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 730 7520 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 731 7522 command.c:201 script_debug(): command - transport select
Debug: 732 7522 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 733 7523 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 734 7524 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018036 1
Debug: 735 7524 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1034; size 4; count 1
Debug: 736 7527 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 737 7527 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018036 64
Debug: 738 7528 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1034; size 4; count 1
Debug: 739 7530 command.c:201 script_debug(): command - transport select
Debug: 740 7530 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 741 7531 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 742 7532 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018044 1
Debug: 743 7532 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e103c; size 4; count 1
Debug: 744 7534 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 745 7534 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018044 2048
Debug: 746 7535 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e103c; size 4; count 1
Debug: 747 7537 command.c:201 script_debug(): command - transport select
Debug: 748 7537 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 749 7538 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 750 7538 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759018068 1
Debug: 751 7539 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1054; size 4; count 1
Debug: 752 7540 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 753 7541 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759018068 786432
Debug: 754 7542 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1054; size 4; count 1
Debug: 755 7543 command.c:201 script_debug(): command - transport select
Debug: 756 7544 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 757 7544 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 758 7545 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759017988 1
Debug: 759 7545 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e1004; size 4; count 1
Debug: 760 7547 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 761 7547 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759017988 7340095
Debug: 762 7548 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e1004; size 4; count 1
Debug: 763 7549 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-assert-pre
Debug: 764 7550 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-assert-pre
Debug: 765 7550 command.c:201 script_debug(): command - transport select
Debug: 766 7551 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 767 7552 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_reset assert 1
Debug: 768 7552 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 769 7552 mem_ap.c:133 mem_ap_assert_reset(): mem_ap_assert_reset
Debug: 770 7552 command.c:201 script_debug(): command - transport select
Debug: 771 7553 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 772 7553 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_reset assert 1
Debug: 773 7554 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 774 7554 cortex_m.c:1162 cortex_m_assert_reset(): target->state: running
Debug: 775 7555 stlink_usb.c:5167 stlink_dap_reset(): stlink_dap_reset(1)
Debug: 776 7555 core.c:639 adapter_system_reset(): SRST line asserted
Debug: 777 7641 cortex_m.c:742 cortex_m_halt(): target->state: reset
Debug: 778 7641 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-assert-post
Debug: 779 7642 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-assert-post
Debug: 780 7642 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-deassert-pre
Debug: 781 7643 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-deassert-pre
Debug: 782 7644 command.c:201 script_debug(): command - transport select
Debug: 783 7644 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 784 7645 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_reset deassert 1
Debug: 785 7646 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 786 7646 target.c:1838 target_call_event_callbacks(): target event 0 (gdb-halt) for core STM32H753ZITx.ap2
Debug: 787 7646 target.c:1838 target_call_event_callbacks(): target event 1 (halted) for core STM32H753ZITx.ap2
Debug: 788 7647 mem_ap.c:86 mem_ap_arch_state(): mem_ap_arch_state
Debug: 789 7647 mem_ap.c:163 mem_ap_deassert_reset(): mem_ap_deassert_reset
Debug: 790 7648 command.c:201 script_debug(): command - transport select
Debug: 791 7648 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 792 7649 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_reset deassert 1
Debug: 793 7649 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 794 7649 cortex_m.c:1313 cortex_m_deassert_reset(): target->state: reset
Debug: 795 7650 stlink_usb.c:5167 stlink_dap_reset(): stlink_dap_reset(0)
Debug: 796 7657 core.c:643 adapter_system_reset(): SRST line released
Debug: 797 7812 command.c:201 script_debug(): command - STM32H753ZITx.ap2 invoke-event reset-deassert-post
Debug: 798 7812 command.c:201 script_debug(): command - STM32H753ZITx.cm7 invoke-event reset-deassert-post
Debug: 799 7813 command.c:201 script_debug(): command - transport select
Debug: 800 7813 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 801 7814 command.c:201 script_debug(): command - STM32H753ZITx.ap2 was_examined
Debug: 802 7815 command.c:201 script_debug(): command - STM32H753ZITx.ap2 arp_waitstate halted 1000
Debug: 803 7815 command.c:201 script_debug(): command - STM32H753ZITx.ap2 curstate
Debug: 804 7816 command.c:201 script_debug(): command - transport select
Debug: 805 7816 command.c:201 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 806 7817 command.c:201 script_debug(): command - STM32H753ZITx.cm7 was_examined
Debug: 807 7818 command.c:201 script_debug(): command - STM32H753ZITx.cm7 arp_waitstate halted 1000
Debug: 808 7822 cortex_m.c:681 cortex_m_poll(): Exit from reset with dcb_dhcsr 0x1010001
Debug: 809 7823 cortex_m.c:361 cortex_m_endreset_event(): DCB_DEMCR = 0x01000501
Debug: 810 7823 stlink_usb.c:4382 stlink_usb_misc_rw_segment(): Queue: 2 commands in 4 items
Debug: 811 7825 target.c:2705 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 812 7825 stlink_usb.c:4382 stlink_usb_misc_rw_segment(): Queue: 2 commands in 5 items
Debug: 813 7831 target.c:2617 target_read_u32(): address: 0xe0002000, value: 0x10000081
Debug: 814 7832 target.c:2705 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 815 7833 target.c:2705 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 816 7836 target.c:2705 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 817 7837 target.c:2705 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 818 7839 target.c:2705 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 819 7840 target.c:2705 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 820 7841 target.c:2705 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 821 7842 target.c:2705 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 822 7844 target.c:2705 target_write_u32(): address: 0xe0001020, value: 0x00000000
Debug: 823 7847 target.c:2705 target_write_u32(): address: 0xe0001024, value: 0x00000000
Debug: 824 7849 target.c:2705 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 825 7850 target.c:2705 target_write_u32(): address: 0xe0001030, value: 0x00000000
Debug: 826 7851 target.c:2705 target_write_u32(): address: 0xe0001034, value: 0x00000000
Debug: 827 7853 target.c:2705 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 828 7854 target.c:2705 target_write_u32(): address: 0xe0001040, value: 0x00000000
Debug: 829 7855 target.c:2705 target_write_u32(): address: 0xe0001044, value: 0x00000000
Debug: 830 7856 target.c:2705 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 831 7857 target.c:2705 target_write_u32(): address: 0xe0001050, value: 0x00000000
Debug: 832 7858 target.c:2705 target_write_u32(): address: 0xe0001054, value: 0x00000000
Debug: 833 7860 target.c:2705 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 834 7863 target.c:3274 target_wait_state(): waiting for target halted...
Error: 836 8864 target.c:3282 target_wait_state(): timed out while waiting for target halted
Debug: 837 8864 command.c:201 script_debug(): command - STM32H753ZITx.cm7 curstate
Debug: 838 8865 command.c:591 run_command(): Command 'reset' failed with error code -4
User : 839 8865 target.c:4842 target_handle_event(): Error executing event gdb-flash-erase-start on target STM32H753ZITx.cm7:
TARGET: STM32H753ZITx.cm7 - Not halted
Error: 840 8866 core.c:47 flash_driver_erase(): failed erasing sectors 0 to 2
Debug: 841 8866 target.c:1838 target_call_event_callbacks(): target event 25 (gdb-flash-erase-end) for core STM32H753ZITx.cm7
Debug: 842 8867 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $E05#aa'
Error: 843 8868 gdb_server.c:3122 gdb_v_packet(): flash_erase returned -304
Debug: 844 8887 gdb_server.c:384 gdb_log_incoming_packet(): received packet: D
Debug: 845 8887 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $OK#9a'
Debug: 846 8889 gdb_server.c:384 gdb_log_incoming_packet(): received packet: ?
Debug: 847 8889 gdb_server.c:396 gdb_log_outgoing_packet(): sending packet: $S02#b5'
Debug: 848 8892 gdb_server.c:1090 gdb_connection_closed(): GDB Close, Target: STM32H753ZITx.cm7, state: running, gdb_actual_connections=1
Debug: 849 8893 target.c:1838 target_call_event_callbacks(): target event 8 (gdb-end) for core STM32H753ZITx.cm7
Debug: 850 8894 target.c:1838 target_call_event_callbacks(): target event 23 (gdb-detach) for core STM32H753ZITx.cm7
Debug: 851 8895 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 23 (gdb-detach) action:
global _CHIPNAME
global $_CHIPNAME.USE_CTI
if { [set $_CHIPNAME.USE_CTI] } {
stm32h7x_cti_stop_one cm7_cti
}
# Disable CM7 slave port in SWO trace Funnel
# Hack, use stm32h7x_dbgmcu_mmw with big offset to control SWTF
# SWTF_CTRL |= ~ENS0
stm32h7x_dbgmcu_mmw 0x3000 0 0x00000001
# to close connection if debug mode entered
if { [info exists AP_NUM] && ($AP_NUM == 0) } {
shutdown
}
Debug: 852 8898 command.c:201 script_debug(): command - transport select
Debug: 853 8899 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 854 8902 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 855 8907 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759030272 1
Debug: 856 8918 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e4000; size 4; count 1
Debug: 857 8920 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 858 8921 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759030272 768
Debug: 859 8923 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e4000; size 4; count 1
Debug: 860 8928 command.c:201 script_debug(): command - shutdown
User : 861 8930 server.c:759 handle_shutdown_command(): shutdown command invoked
Info : 862 8930 server.c:581 server_loop(): dropped 'gdb' connection
Debug: 863 8931 gdb_server.c:1090 gdb_connection_closed(): GDB Close, Target: STM32H753ZITx.cm7, state: running, gdb_actual_connections=0
Debug: 864 8932 target.c:1838 target_call_event_callbacks(): target event 8 (gdb-end) for core STM32H753ZITx.cm7
Debug: 865 8933 target.c:1838 target_call_event_callbacks(): target event 23 (gdb-detach) for core STM32H753ZITx.cm7
Debug: 866 8933 target.c:4817 target_handle_event(): target(1): STM32H753ZITx.cm7 (cortex_m) event: 23 (gdb-detach) action:
global _CHIPNAME
global $_CHIPNAME.USE_CTI
if { [set $_CHIPNAME.USE_CTI] } {
stm32h7x_cti_stop_one cm7_cti
}
# Disable CM7 slave port in SWO trace Funnel
# Hack, use stm32h7x_dbgmcu_mmw with big offset to control SWTF
# SWTF_CTRL |= ~ENS0
stm32h7x_dbgmcu_mmw 0x3000 0 0x00000001
# to close connection if debug mode entered
if { [info exists AP_NUM] && ($AP_NUM == 0) } {
shutdown
}
Debug: 867 8936 command.c:201 script_debug(): command - transport select
Debug: 868 8938 command.c:201 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
Debug: 869 8939 command.c:201 script_debug(): command - expr 0xE00E1000 + $reg_offset
Debug: 870 8941 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mem2array value 32 3759030272 1
Debug: 871 8942 mem_ap.c:239 mem_ap_read_memory(): Reading memory at physical address 0xe00e4000; size 4; count 1
Debug: 872 8945 command.c:201 script_debug(): command - expr ($old & ~$clearbits) | $setbits
Debug: 873 8946 command.c:201 script_debug(): command - STM32H753ZITx.ap2 mww 3759030272 768
Debug: 874 8948 mem_ap.c:254 mem_ap_write_memory(): Writing memory at physical address 0xe00e4000; size 4; count 1
Debug: 875 8949 command.c:201 script_debug(): command - shutdown
User : 876 8950 server.c:759 handle_shutdown_command(): shutdown command invoked
Debug: 877 8951 mem_ap.c:77 mem_ap_deinit_target(): mem_ap_deinit_target
Debug: 878 8952 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 879 8952 target.c:2194 target_free_all_working_areas_restore(): freeing all working areas
Debug: 880 8954 stlink_usb.c:5156 stlink_dap_quit(): stlink_dap_quit()
Debug: 881 8955 stlink_usb.c:1653 stlink_usb_exit_mode(): MODE: 0x02