X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Fst_nucleo_h745zi.cfg;h=ad563b7d3125923599b60af511f8ecf24b9aae6a;hb=4157732bd84c4e9e4b55357e1dc9a96078a35ee1;hp=bb8a396b54db6ae572bcb7c1e63b4fd9393ae726;hpb=678fb4f60b685ed79d35272bc515891fa53b527e;p=fw%2Fopenocd diff --git a/tcl/board/st_nucleo_h745zi.cfg b/tcl/board/st_nucleo_h745zi.cfg index bb8a396b5..ad563b7d3 100644 --- a/tcl/board/st_nucleo_h745zi.cfg +++ b/tcl/board/st_nucleo_h745zi.cfg @@ -1,16 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # This is an ST NUCLEO-H745ZI-Q board with single STM32H745ZITx chip. -source [find interface/stlink.cfg] -transport select hla_swd +source [find interface/stlink-dap.cfg] +transport select dapdirect_swd -# ST-Link HLA interface do not support multi-AP debugging -# then setting DUAL_CORE and USE_CTI has no effect, because -# it will fall back to single core configuration +# STM32H745xx devices are dual core (Cortex-M7 and Cortex-M4) set DUAL_CORE 1 + +# enable CTI for cross halting both cores set USE_CTI 1 source [find target/stm32h7x_dual_bank.cfg] -# when using ST-Link HLA adapter, DBGMCU accesses are done via AP0 -# unfortunately DBGMCU is not accessible when SRST is asserted reset_config srst_only