board2_STM32H523CCUx_1.0.1.dbgconf 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. // File: STM32H562xx_H563xx_H573xx.dbgconf
  2. // Version: 1.0.1
  3. // Note: refer to STM32H563/H573 and STM32H562 reference manual (RM0481)
  4. // refer to STM32H562xx STM32H563xx STM32H573xx datasheets
  5. // <<< Use Configuration Wizard in Context Menu >>>
  6. // <h> Debug MCU configuration register (DBGMCU_CR)
  7. // <o.2> DBG_STANDBY <i> Debug standby mode
  8. // <o.1> DBG_STOP <i> Debug stop mode
  9. // </h>
  10. DbgMCU_CR = 0x00000006;
  11. // <h> Debug MCU APB1L freeze register (DBGMCU_APB1LFZR)
  12. // <i> Reserved bits must be kept at reset value
  13. // <o.23> DBG_I2C3_STOP <i> I2C3 SMBUS timeout is frozen while CPU is in debug mode
  14. // <o.22> DBG_I2C2_STOP <i> I2C2 SMBUS timeout is frozen while CPU is in debug mode
  15. // <o.21> DBG_I2C1_STOP <i> I2C1 SMBUS timeout is frozen while CPU is in debug mode
  16. // <o.12> DBG_IWDG_STOP <i> Debug independent watchdog is frozen while CPU is in debug mode
  17. // <o.11> DBG_WWDG_STOP <i> Debug window watchdog is frozen while CPU is in debug mode
  18. // <o.8> DBG_TIM14_STOP <i> TIM14 is frozen while CPU is in debug mode
  19. // <o.7> DBG_TIM13_STOP <i> TIM13 is frozen while CPU is in debug mode
  20. // <o.6> DBG_TIM12_STOP <i> TIM12 is frozen while CPU is in debug mode
  21. // <o.5> DBG_TIM7_STOP <i> TIM7 is frozen while CPU is in debug mode
  22. // <o.4> DBG_TIM6_STOP <i> TIM6 is frozen while CPU is in debug mode
  23. // <o.3> DBG_TIM5_STOP <i> TIM5 is frozen while CPU is in debug mode
  24. // <o.2> DBG_TIM4_STOP <i> TIM4 is frozen while CPU is in debug mode
  25. // <o.1> DBG_TIM3_STOP <i> TIM3 is frozen while CPU is in debug mode
  26. // <o.0> DBG_TIM2_STOP <i> TIM2 is frozen while CPU is in debug mode
  27. // </h>
  28. DbgMCU_APB1L_Fz = 0x00E019FF;
  29. // <h> Debug MCU APB1H freeze register (DBGMCU_APB1HFZR)
  30. // <i> Reserved bits must be kept at reset value
  31. // <o.5> DBG_LPTIM2_STOP <i> LPTIM2 is frozen while CPU is in debug mode
  32. // </h>
  33. DbgMCU_APB1H_Fz = 0x00000020;
  34. // <h> Debug MCU APB2 freeze register (DBGMCU_APB2FZR)
  35. // <i> Reserved bits must be kept at reset value
  36. // <o.18> DBG_TIM17_STOP <i> TIM17 is frozen while CPU is in debug mode
  37. // <o.17> DBG_TIM16_STOP <i> TIM16 is frozen while CPU is in debug mode
  38. // <o.16> DBG_TIM15_STOP <i> TIM15 is frozen while CPU is in debug mode
  39. // <o.13> DBG_TIM8_STOP <i> TIM8 is frozen while CPU is in debug mode
  40. // <o.11> DBG_TIM1_STOP <i> TIM1 is frozen while CPU is in debug mode
  41. // </h>
  42. DbgMCU_APB2_Fz = 0x00072800;
  43. // <h> Debug MCU APB3 freeze register (DBGMCU_APB3FZR)
  44. // <i> Reserved bits must be kept at reset value
  45. // <o.30> DBG_RTC_STOP <i> RTC is frozen while CPU is in debug mode.
  46. // <o.21> DBG_LPTIM6_STOP <i> LPTIM6 is frozen while CPU is in debug mode
  47. // <o.20> DBG_LPTIM5_STOP <i> LPTIM5 is frozen while CPU is in debug mode
  48. // <o.19> DBG_LPTIM4_STOP <i> LPTIM4 is frozen while CPU is in debug mode
  49. // <o.18> DBG_LPTIM3_STOP <i> LPTIM3 is frozen while CPU is in debug mode
  50. // <o.17> DBG_LPTIM1_STOP <i> LPTIM1 is frozen while CPU is in debug mode
  51. // <o.11> DBG_I2C4_STOP <i> I2C3 is frozen while CPU is in debug mode
  52. // <o.10> DBG_I2C3_STOP <i> I2C3 is frozen while CPU is in debug mode
  53. // </h>
  54. DbgMCU_APB3_Fz = 0x003E0C00;
  55. // <h> Debug MCU AHB1 freeze register (DBGMCU_AHB1FZR)
  56. // <i> Reserved bits must be kept at reset value
  57. // <o.23> DBG_GPDMA2_7_STOP <i> GPDMA2 channel 7 is frozen while CPU is in debug mode
  58. // <o.22> DBG_GPDMA2_6_STOP <i> GPDMA2 channel 6 is frozen while CPU is in debug mode
  59. // <o.21> DBG_GPDMA2_5_STOP <i> GPDMA2 channel 5 is frozen while CPU is in debug mode
  60. // <o.20> DBG_GPDMA2_4_STOP <i> GPDMA2 channel 4 is frozen while CPU is in debug mode
  61. // <o.19> DBG_GPDMA2_3_STOP <i> GPDMA2 channel 3 is frozen while CPU is in debug mode
  62. // <o.18> DBG_GPDMA2_2_STOP <i> GPDMA2 channel 2 is frozen while CPU is in debug mode
  63. // <o.17> DBG_GPDMA2_1_STOP <i> GPDMA2 channel 1 is frozen while CPU is in debug mode
  64. // <o.16> DBG_GPDMA2_0_STOP <i> GPDMA2 channel 0 is frozen while CPU is in debug mode
  65. // <o.7> DBG_GPDMA1_7_STOP <i> GPDMA1 channel 7 is frozen while CPU is in debug mode
  66. // <o.6> DBG_GPDMA1_6_STOP <i> GPDMA1 channel 6 is frozen while CPU is in debug mode
  67. // <o.5> DBG_GPDMA1_5_STOP <i> GPDMA1 channel 5 is frozen while CPU is in debug mode
  68. // <o.4> DBG_GPDMA1_4_STOP <i> GPDMA1 channel 4 is frozen while CPU is in debug mode
  69. // <o.3> DBG_GPDMA1_3_STOP <i> GPDMA1 channel 3 is frozen while CPU is in debug mode
  70. // <o.2> DBG_GPDMA1_2_STOP <i> GPDMA1 channel 2 is frozen while CPU is in debug mode
  71. // <o.1> DBG_GPDMA1_1_STOP <i> GPDMA1 channel 1 is frozen while CPU is in debug mode
  72. // <o.0> DBG_GPDMA1_0_STOP <i> GPDMA1 channel 0 is frozen while CPU is in debug mode
  73. // </h>
  74. DbgMCU_AHB1_Fz = 0x00FF00FF;
  75. // <h> TPIU Pin Routing
  76. // <o0> TRACECLK
  77. // <i> ETM Trace Clock
  78. // <0x00040002=> Pin PE2
  79. // <o1> TRACED0
  80. // <i> ETM Trace Data 0
  81. // <0x0006000D=> Pin PG13
  82. // <0x00040003=> Pin PE3
  83. // <0x00020001=> Pin PC1
  84. // <o2> TRACED1
  85. // <i> ETM Trace Data 1
  86. // <0x0006000E=> Pin PG14
  87. // <0x00040004=> Pin PE4
  88. // <0x00020008=> Pin PC8
  89. // <o3> TRACED2
  90. // <i> ETM Trace Data 2
  91. // <0x00040005=> Pin PE5
  92. // <0x00030002=> Pin PD2
  93. // <o4> TRACED3
  94. // <i> ETM Trace Data 3
  95. // <0x0002000C=> Pin PC12
  96. // <0x00040006=> Pin PE6
  97. // </h>
  98. TraceClk_Pin = 0x00040002;
  99. TraceD0_Pin = 0x00040003;
  100. TraceD1_Pin = 0x00040004;
  101. TraceD2_Pin = 0x00040005;
  102. TraceD3_Pin = 0x00040006;
  103. // <<< end of configuration section >>>