Target_1_STM32F207ZGTx.dbgconf 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // File: STM32F205_207_215_217.dbgconf
  2. // Version: 1.0.0
  3. // Note: refer to STM32F205xx STM32F207xx STM32F215xx STM32F217xx Reference manual (RM0033)
  4. // refer to STM32F20x, STM32F21x 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. // <o.0> DBG_SLEEP <i> Debug sleep mode
  10. // </h>
  11. DbgMCU_CR = 0x00000007;
  12. // <h> Debug MCU APB1 freeze register (DBGMCU_APB1_FZ)
  13. // <i> Reserved bits must be kept at reset value
  14. // <o.26> DBG_CAN2_STOP <i> Debug CAN2 stopped when core is halted
  15. // <o.25> DBG_CAN1_STOP <i> Debug CAN2 stopped when core is halted
  16. // <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
  17. // <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
  18. // <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
  19. // <o.12> DBG_IWDG_STOP <i> Debug independent watchdog stopped when core is halted
  20. // <o.11> DBG_WWDG_STOP <i> Debug window watchdog stopped when core is halted
  21. // <o.10> DBG_RTC_STOP <i> RTC stopped when core is halted
  22. // <o.8> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
  23. // <o.7> DBG_TIM13_STOP <i> TIM13 counter stopped when core is halted
  24. // <o.6> DBG_TIM12_STOP <i> TIM12 counter stopped when core is halted
  25. // <o.5> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
  26. // <o.4> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
  27. // <o.3> DBG_TIM5_STOP <i> TIM5 counter stopped when core is halted
  28. // <o.2> DBG_TIM4_STOP <i> TIM4 counter stopped when core is halted
  29. // <o.1> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
  30. // <o.0> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
  31. // </h>
  32. DbgMCU_APB1_Fz = 0x00000000;
  33. // <h> Debug MCU APB2 freeze register (DBGMCU_APB2_FZ)
  34. // <i> Reserved bits must be kept at reset value
  35. // <o.18> DBG_TIM11_STOP <i> TIM11 counter stopped when core is halted
  36. // <o.17> DBG_TIM10_STOP <i> TIM10 counter stopped when core is halted
  37. // <o.16> DBG_TIM9_STOP <i> TIM9 counter stopped when core is halted
  38. // <o.1> DBG_TIM8_STOP <i> TIM8 counter stopped when core is halted
  39. // <o.0> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
  40. // </h>
  41. DbgMCU_APB2_Fz = 0x00000000;
  42. // <<< end of configuration section >>>