W45_APP_STM32F412RGTx.dbgconf 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // File: STM32F412_413_423.dbgconf
  2. // Version: 1.0.0
  3. // Note: refer to STM32F412 reference manual (RM0402)
  4. // refer to STM32F412xE/xG datasheet
  5. // refer to STM32F413/423 reference manual (RM0430)
  6. // refer to STM32F413/423xG/xH datasheet
  7. // <<< Use Configuration Wizard in Context Menu >>>
  8. // <h> Debug MCU configuration register (DBGMCU_CR)
  9. // <o.2> DBG_STANDBY <i> Debug Standby Mode
  10. // <o.1> DBG_STOP <i> Debug Stop Mode
  11. // <o.0> DBG_SLEEP <i> Debug Sleep Mode
  12. // </h>
  13. DbgMCU_CR = 0x00000007;
  14. // <h> Debug MCU APB1 freeze register (DBGMCU_APB1_FZ)
  15. // <i> Reserved bits must be kept at reset value
  16. // <o.26> DBG_CAN2_STOP <i> CAN2 stopped when core is halted
  17. // <o.25> DBG_CAN1_STOP <i> CAN2 stopped when core is halted
  18. // <o.24> DBG_I2CFMP_SMBUS_TIMEOUT <i> I2CFMP SMBUS timeout mode stopped when core is halted
  19. // <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> I2C3 SMBUS timeout mode stopped when core is halted
  20. // <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2 SMBUS timeout mode stopped when core is halted
  21. // <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1 SMBUS timeout mode stopped when core is halted
  22. // <o.12> DBG_IWDG_STOP <i> Independent watchdog stopped when core is halted
  23. // <o.11> DBG_WWDG_STOP <i> Window watchdog stopped when core is halted
  24. // <o.10> DBG_RTC_STOP <i> RTC stopped when core is halted
  25. // <o.8> DBG_TIM14_STOP <i> TIM14 counter stopped when core is halted
  26. // <o.7> DBG_TIM13_STOP <i> TIM13 counter stopped when core is halted
  27. // <o.6> DBG_TIM12_STOP <i> TIM12 counter stopped when core is halted
  28. // <o.5> DBG_TIM7_STOP <i> TIM7 counter stopped when core is halted
  29. // <o.4> DBG_TIM6_STOP <i> TIM6 counter stopped when core is halted
  30. // <o.3> DBG_TIM5_STOP <i> TIM5 counter stopped when core is halted
  31. // <o.2> DBG_TIM4_STOP <i> TIM4 counter stopped when core is halted
  32. // <o.1> DBG_TIM3_STOP <i> TIM3 counter stopped when core is halted
  33. // <o.0> DBG_TIM2_STOP <i> TIM2 counter stopped when core is halted
  34. // </h>
  35. DbgMCU_APB1_Fz = 0x00000000;
  36. // <h> Debug MCU APB2 freeze register (DBGMCU_APB2_FZ)
  37. // <i> Reserved bits must be kept at reset value
  38. // <o.18> DBG_TIM11_STOP <i> TIM11 counter stopped when core is halted
  39. // <o.17> DBG_TIM10_STOP <i> TIM10 counter stopped when core is halted
  40. // <o.16> DBG_TIM9_STOP <i> TIM9 counter stopped when core is halted
  41. // <o.1> DBG_TIM8_STOP <i> TIM8 counter stopped when core is halted
  42. // <o.0> DBG_TIM1_STOP <i> TIM1 counter stopped when core is halted
  43. // </h>
  44. DbgMCU_APB2_Fz = 0x00000000;
  45. // <h> TPIU Pin Routing (TRACECLK fixed on Pin PE2)
  46. // <i> TRACECLK: Pin PE2
  47. // <o1> TRACED0
  48. // <i> ETM Trace Data 0
  49. // <0x00040003=> Pin PE3
  50. // <0x00050006=> Pin PF6
  51. // <o2> TRACED1
  52. // <i> ETM Trace Data 1
  53. // <0x00040004=> Pin PE4
  54. // <0x00050007=> Pin PF7
  55. // <0x00030003=> Pin PD3
  56. // <o3> TRACED2
  57. // <i> ETM Trace Data 2
  58. // <0x00040005=> Pin PE5
  59. // <0x0006000D=> Pin PG13
  60. // <o4> TRACED3
  61. // <i> ETM Trace Data 3
  62. // <0x00040006=> Pin PE6
  63. // <0x0006000E=> Pin PG14
  64. // </h>
  65. TraceClk_Pin = 0x00040002;
  66. TraceD0_Pin = 0x00040003;
  67. TraceD1_Pin = 0x00040004;
  68. TraceD2_Pin = 0x00040005;
  69. TraceD3_Pin = 0x00040006;
  70. // <<< end of configuration section >>>