Bootloader_STM32F302RBT6_STM32F302RBTx.dbgconf 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // File: STM32F302.dbgconf
  2. // Version: 1.0.0
  3. // Note: refer to STM32F302xB/C/D/E, STM32F302x6/8 Reference manual (RM0365)
  4. // refer to STM32F302xB/C, STM32F302xd/E, STM32F302x6/8 datasheet
  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.30> DBG_I2C3_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
  15. // <o.25> DBG_CAN_STOP <i> Debug CAN stopped when core is halted
  16. // <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
  17. // <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> SMBUS timeout mode stopped when core is halted
  18. // <o.12> DBG_IWDG_STOP <i> Independent watchdog stopped when core is halted
  19. // <o.11> DBG_WWDG_STOP <i> Window watchdog stopped when core is halted
  20. // <o.10> DBG_RTC_STOP <i> RTC stopped when core is halted
  21. // <o.4> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
  22. // <o.2> DBG_TIM4_STOP <i> TIM4 counter stopped when core is halted
  23. // <o.1> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
  24. // <o.0> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
  25. // </h>
  26. DbgMCU_APB1_Fz = 0x00000000;
  27. // <h> Debug MCU APB2 freeze register (DBGMCU_APB2_FZ)
  28. // <i> Reserved bits must be kept at reset value
  29. // <o.4> DBG_TIM17_STOP <i> TIM17 counter stopped when core is halted
  30. // <o.3> DBG_TIM16_STOP <i> TIM16 counter stopped when core is halted
  31. // <o.2> DBG_TIM15_STOP <i> TIM15 counter stopped when core is halted
  32. // <o.0> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
  33. // </h>
  34. DbgMCU_APB2_Fz = 0x00000000;
  35. // <h> Flash Download Options
  36. // <o.0> Option Byte Loading <i> Launch the Option Byte Loading after a Flash Download by setting the OBL_LAUNCH bit (causes a reset)
  37. // </h>
  38. DoOptionByteLoading = 0x00000000;
  39. // <<< end of configuration section >>>