// File: STM32H742_743_753_750.dbgconf // Version: 1.0.0 // Note: refer to STM32H742, STM32H743/753 and STM32H750 reference manual (RM0433) // refer to STM32H742xI/G STM32H743xI/G datasheets // refer to STM32H753xI datasheet // refer to STM32H750VB STM32H750IB STM32H750XB datasheets // <<< Use Configuration Wizard in Context Menu >>> // DBGMCU configuration register (DBGMCU_CR) // TRGOEN External trigger output enable // DBGSTBY_D3 Allow debug in D3 Standby mode // DBGSTOP_D3 Allow debug in D3 Stop mode // DBGSTBY_D1 Allow D1 domain debug in Standby mode // DBGSTOP_D1 Allow D1 domain debug in Stop mode // DBGSLEEP_D1 Allow D1 domain debug in Sleep mode // DbgMCU_CR = 0x00000007; // DBGMCU APB3 peripheral freeze register (DBGMCU_APB3FZ1) // Reserved bits must be kept at reset value // WWDG1 WWDG1 stop in debug // DbgMCU_APB3_Fz1 = 0x00000000; // DBGMCU APB1L peripheral freeze register (DBGMCU_APB1LFZ1) // Reserved bits must be kept at reset value // DBG_I2C3 I2C3 SMBUS timeout stop in debug // DBG_I2C2 I2C2 SMBUS timeout stop in debug // DBG_I2C1 I2C1 SMBUS timeout stop in debug // DBG_LPTIM1 LPTIM1 stop in debug // DBG_TIM14 TIM14 stop in debug // DBG_TIM13 TIM13 stop in debug // DBG_TIM12 TIM12 stop in debug // DBG_TIM7 TIM7 stop in debug // DBG_TIM6 TIM6 stop in debug // DBG_TIM5 TIM5 stop in debug // DBG_TIM4 TIM4 stop in debug // DBG_TIM3 TIM3 stop in debug // DBG_TIM2 TIM2 stop in debug // DbgMCU_APB1L_Fz1 = 0x00000000; // DBGMCU APB2 peripheral freeze register (DBGMCU_APB2FZ1) // Reserved bits must be kept at reset value // DBG_HRTIM HRTIM stop in debug // DBG_TIM17 TIM17 stop in debug // DBG_TIM16 TIM16 stop in debug // DBG_TIM15 TIM15 stop in debug // DBG_TIM8 TIM8 stop in debug // DBG_TIM1 TIM1 stop in debug // DbgMCU_APB2_Fz1 = 0x00000000; // DBGMCU APB4 peripheral freeze register (DBGMCU_APB4FZ1) // Reserved bits must be kept at reset value // DBG_IIWDG1 Independent watchdog for D1 stop in debug // DBG_RTC RTC stop in debug // DBG_LPTIM5 LPTIM5 stop in debug // DBG_LPTIM4 LPTIM4 stop in debug // DBG_LPTIM3 LPTIM2 stop in debug // DBG_LPTIM2 LPTIM2 stop in debug // DBG_I2C4 I2C4 SMBUS timeout stop in debug // DbgMCU_APB4_Fz1 = 0x00000000; // TPIU Pin Routing (TRACECLK fixed on Pin PE2) // TRACECLK: Pin PE2 // TRACED0 // ETM Trace Data 0 // <0x00040003=> Pin PE3 // <0x00020001=> Pin PC1 // <0x0006000D=> Pin PG13 // TRACED1 // ETM Trace Data 1 // <0x00040004=> Pin PE4 // <0x00020008=> Pin PC8 // <0x0006000E=> Pin PG14 // TRACED2 // ETM Trace Data 2 // <0x00040005=> Pin PE5 // <0x00030002=> Pin PD2 // TRACED3 // ETM Trace Data 3 // <0x00040006=> Pin PE6 // <0x0002000C=> Pin PC12 // TraceClk_Pin = 0x00040002; TraceD0_Pin = 0x00040003; TraceD1_Pin = 0x00040004; TraceD2_Pin = 0x00040005; TraceD3_Pin = 0x00040006; // <<< end of configuration section >>>