aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorTarek BOCHKATI <tarek.bouchkati@gmail.com>2020-02-12 12:14:06 +0100
committerTomas Vanek <vanekt@fbl.cz>2020-02-23 21:37:30 +0000
commit22df29eee8033be5dd9bdf2429701fa2252dd80b (patch)
treef7a391b771ae75847fcca1131435b044230965fd /tcl/board
parent35f846fd52e27fabcdea383a6be5056a9213c939 (diff)
downloadriscv-openocd-22df29eee8033be5dd9bdf2429701fa2252dd80b.zip
riscv-openocd-22df29eee8033be5dd9bdf2429701fa2252dd80b.tar.gz
riscv-openocd-22df29eee8033be5dd9bdf2429701fa2252dd80b.tar.bz2
tcl/board: update ST NUCLEO-H745ZI-Q configuration file to use dapdirect
this board embeds and STLINK DAP capable firmware Change-Id: I276e9f44ad6cf7d1ff664898bbc884676bdbc967 Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-on: http://openocd.zylin.com/5316 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/st_nucleo_h745zi.cfg12
1 files changed, 5 insertions, 7 deletions
diff --git a/tcl/board/st_nucleo_h745zi.cfg b/tcl/board/st_nucleo_h745zi.cfg
index bb8a396..22d36f6 100644
--- a/tcl/board/st_nucleo_h745zi.cfg
+++ b/tcl/board/st_nucleo_h745zi.cfg
@@ -1,16 +1,14 @@
# 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