From c7dab20318bc87b4bfe2c7154be6250c649590b8 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Fri, 23 Aug 2019 22:00:43 +0000 Subject: [PATCH] Merged in david_s5/nuttx/master_h7 (pull request #1022) stm32h7:Memory Map DBGMCU is @ 0x5c001000 Approved-by: Gregory Nutt --- arch/arm/src/stm32h7/hardware/stm32h7x3xx_memorymap.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_memorymap.h b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_memorymap.h index 2bb20e6ccd..54d502c1d2 100644 --- a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_memorymap.h +++ b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_memorymap.h @@ -232,6 +232,12 @@ #define STM32_HSEM_BASE 0x58026400 /* 0x58026400-0x580267ff HSEM */ #define STM32_SYSMEM_UID 0x1ff1e800 -#define STM32_DEBUGMCU_BASE 0xe00e1000 + +/* The DBGMCU registers are accessible to the debugger via the APB-D bus + * at base address 0xe00e1000. They are also accessible by the processor + * core at base address 0x5e001000. + */ + +#define STM32_DEBUGMCU_BASE 0x5e001000 #endif /* __ARCH_ARM_SRC_STM32H7_HARDWARE_STM32H7X3XX_MEMORYMAP_H */