From c9b4906f0cc26b14b03bf6a6b018dc34f1d4a419 Mon Sep 17 00:00:00 2001 From: Dimitar Tomov Date: Wed, 27 Jan 2021 19:34:21 +0200 Subject: [PATCH] Added openocd config for STM32F407-Discovery revision D, uses ST-LinkV2.1 Signed-off-by: Dimitar Tomov --- test-app-STM32F4-measured-boot/openocd.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test-app-STM32F4-measured-boot/openocd.cfg diff --git a/test-app-STM32F4-measured-boot/openocd.cfg b/test-app-STM32F4-measured-boot/openocd.cfg new file mode 100644 index 0000000..65b5d8a --- /dev/null +++ b/test-app-STM32F4-measured-boot/openocd.cfg @@ -0,0 +1,8 @@ +source [find interface/stlink-v2-1.cfg] +source [find target/stm32f4x.cfg] +$_TARGETNAME configure -event reset-init { + mmw 0xe0042004 0x7 0x0 +} +init +reset +halt