TestF7_STM32F746VGTx_1.0.0.dbgconf 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. // <<< Use Configuration Wizard in Context Menu >>>
  2. // <h> Debug MCU Configuration
  3. // <o0.0> DBG_SLEEP
  4. // <i> Debug Sleep Mode
  5. // <i> 0: (FCLK=On, HCLK=Off) FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled
  6. // <i> 1: (FCLK=On, HCLK=On) HCLK is fed by the same clock that is provided to FCLK
  7. // <o0.1> DBG_STOP
  8. // <i> Debug Stop Mode
  9. // <i> 0: (FCLK=Off, HCLK=Off) Clock controller disables all clocks
  10. // <i> 1: (FCLK=On, HCLK=On) FCLK and HCLK are provided by the internal RC oscillator which remains active
  11. // <o0.2> DBG_STANDBY
  12. // <i> Debug Standby Mode
  13. // <i> 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered.
  14. // <i> 1: (FCLK=On, HCLK=On) Digital part is powered and FCLK and HCLK are provided by the internal RC oscillator which remains active
  15. // </h>
  16. DbgMCU_CR = 0x00000007;
  17. // <h> Debug MCU APB1 Configuration
  18. // <o0.0> DBG_TIM2_STOP
  19. // <i> TIM2 counter stopped when core is halted
  20. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  21. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  22. // <o0.1> DBG_TIM3_STOP
  23. // <i> TIM3 counter stopped when core is halted
  24. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  25. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  26. // <o0.2> DBG_TIM4_STOP
  27. // <i> TIM4 counter stopped when core is halted
  28. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  29. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  30. // <o0.3> DBG_TIM5_STOP
  31. // <i> TIM5 counter stopped when core is halted
  32. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  33. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  34. // <o0.4> DBG_TIM6_STOP
  35. // <i> TIM6 counter stopped when core is halted
  36. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  37. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  38. // <o0.5> DBG_TIM7_STOP
  39. // <i> TIM7 counter stopped when core is halted
  40. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  41. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  42. // <o0.6> DBG_TIM12_STOP
  43. // <i> TIM12 counter stopped when core is halted
  44. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  45. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  46. // <o0.7> DBG_TIM13_STOP
  47. // <i> TIM13 counter stopped when core is halted
  48. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  49. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  50. // <o0.8> DBG_TIM14_STOP
  51. // <i> TIM14 counter stopped when core is halted
  52. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  53. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  54. // <o0.9> DBG_LPTIM1_STOP
  55. // <i> LPTMI1 counter stopped when core is halted
  56. // <i> 0: The clock of LPTIM1 counter is fed even if the core is halted
  57. // <i> 1: The clock of LPTIM1 counter is stopped when the core is halted
  58. // <o0.10> DBG_RTC_STOP
  59. // <i> RTC stopped when Core is halted
  60. // <i> 0: The RTC counter clock continues even if the core is halted
  61. // <i> 1: The RTC counter clock is stopped when the core is halted
  62. // <o0.11> DBG_WWDG_STOP
  63. // <i> Debug Window Watchdog stopped when Core is halted
  64. // <i> 0: The window watchdog counter clock continues even if the core is halted
  65. // <i> 1: The window watchdog counter clock is stopped when the core is halted
  66. // <o0.12> DBG_IWDG_STOP
  67. // <i> Debug independent watchdog stopped when core is halted
  68. // <i> 0: The independent watchdog counter clock continues even if the core is halted
  69. // <i> 1: The independent watchdog counter clock is stopped when the core is halted
  70. // <o0.21> DBG_I2C1_SMBUS_TIMEOUT
  71. // <i> I2C1 SMBUS timeout mode stopped when Core is halted
  72. // <i> 0: Same behavior as in normal mode
  73. // <i> 1: The SMBUS timeout is frozen
  74. // <o0.22> DBG_I2C2_SMBUS_TIMEOUT
  75. // <i> I2C2 SMBUS timeout mode stopped when Core is halted
  76. // <i> 0: Same behavior as in normal mode
  77. // <i> 1: The SMBUS timeout is frozen
  78. // <o0.23> DBG_I2C3_SMBUS_TIMEOUT
  79. // <i> I2C3 SMBUS timeout mode stopped when Core is halted
  80. // <i> 0: Same behavior as in normal mode
  81. // <i> 1: The SMBUS timeout is frozen
  82. // <o0.24> DBG_I2C4_SMBUS_TIMEOUT
  83. // <i> I2C4 SMBUS timeout mode stopped when Core is halted
  84. // <i> 0: Same behavior as in normal mode
  85. // <i> 1: The SMBUS timeout is frozen
  86. // <o0.25> DBG_CAN1_STOP
  87. // <i> Debug CAN1 stopped when Core is halted
  88. // <i> 0: Same behavior as in normal mode
  89. // <i> 1: The CAN1 receive registers are frozen
  90. // <o0.26> DBG_CAN2_STOP
  91. // <i> Debug CAN2 stopped when Core is halted
  92. // <i> 0: Same behavior as in normal mode
  93. // <i> 1: The CAN2 receive registers are frozen
  94. // </h>
  95. DbgMCU_APB1_Fz = 0x00000000;
  96. // <h> Debug MCU APB2 Configuration
  97. // <o0.0> DBG_TIM1_STOP
  98. // <i> TIM1 counter stopped when core is halted
  99. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  100. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  101. // <o0.1> DBG_TIM8_STOP
  102. // <i> TIM8 counter stopped when core is halted
  103. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  104. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  105. // <o0.16> DBG_TIM9_STOP
  106. // <i> TIM9 counter stopped when core is halted
  107. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  108. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  109. // <o0.17> DBG_TIM10_STOP
  110. // <i> TIM10 counter stopped when core is halted
  111. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  112. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  113. // <o0.18> DBG_TIM11_STOP
  114. // <i> TIM11 counter stopped when core is halted
  115. // <i> 0: The clock of the involved Timer Counter is fed even if the core is halted
  116. // <i> 1: The clock of the involved Timer counter is stopped when the core is halted
  117. // </h>
  118. DbgMCU_APB2_Fz = 0x00000000;
  119. // <h> TPIU Pin Routing (TRACECLK fixed on Pin PE2)
  120. // <o0> TRACED0
  121. // <i> ETM Trace Data 0
  122. // <0=> Pin PC1
  123. // <1=> Pin PE3
  124. // <2=> Pin PG13
  125. // <o1> TRACED1
  126. // <i> ETM Trace Data 1
  127. // <0=> Pin PC8
  128. // <1=> Pin PE4
  129. // <2=> Pin PG14
  130. // <o2> TRACED2
  131. // <i> ETM Trace Data 2
  132. // <0=> Pin PD2
  133. // <1=> Pin PE5
  134. // <o3> TRACED3
  135. // <i> ETM Trace Data 3
  136. // <0=> Pin PC12
  137. // <1=> Pin PE6
  138. ETMTrace_D0 = 1;
  139. ETMTrace_D1 = 1;
  140. ETMTrace_D2 = 1;
  141. ETMTrace_D3 = 1;
  142. // </h>
  143. // <<< end of configuration section >>>