source [find interface/stlink-dap.cfg] source [find target/stm32h5x.cfg] transport select "dapdirect_swd" set CHIPNAME STM32H573IIKXQ set BOARDNAME STM32H573I-DK # Reset configuration # use hardware reset, connect under reset # connect_assert_srst needed if low power mode application running (WFI...) reset_config srst_only srst_nogate connect_assert_srst set CONNECT_UNDER_RESET 1 set CORE_RESET 0 # Due to the use of connect_assert_srst, running gdb requires # to reset halt just after openocd init. rename init old_init proc init {} { old_init reset halt }