2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-25 08:39:19 +10:00
openocd/tcl/board/st_nucleo_h745zi.cfg
Tarek BOCHKATI 678fb4f60b target/stm32h7x: add support of dual core variant of STM32H7
STM32H7x7 and STM32H7x5 devices contains two cores : CM7 + CM4
The second core creation is only done when
  * DUAL_CORE variable is set to true
  * non HLA interface is used

A second check for the second core existence is done in cpu1 examine-end
Once the second core is detected it gets examined.

Furthermore, the script provides a configurable CTI usage in order to halt
the cores simultaneously.

Tested on Rev X and V devices.

PS: the indentation was a mix of spaces and tabs, all changed to tabs.

Change-Id: Iad9c30826965ddb9be5dee628bc2e63f953bbcb8
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: http://openocd.zylin.com/5130
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2019-12-07 13:07:00 +00:00

17 lines
528 B
INI

# This is an ST NUCLEO-H745ZI-Q board with single STM32H745ZITx chip.
source [find interface/stlink.cfg]
transport select hla_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
set DUAL_CORE 1
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