Debug in Standby low power mode
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-03 1:59 AM
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-03 4:39 AM
Posted on July 03, 2015 at 13:39
Hello,
In the RM0008 reference manual for STM32F1 product it said:“By default, the debug connection is lost if the application puts the MCU in Stop or Standby mode while the debug features are used. This is due to the fact that the Cortex®-M3 core is no longer clocked. However, by setting some configuration bits in the DBGMCU_CR register, the software can be debugged even when using the low-power modes extensively�?So check the DBG_STANDBY bit in the DBGMCU_CR registerI hope this answered your questions.SyrineOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-07-03 7:12 AM
Posted on July 03, 2015 at 16:12
The other problem is that it removes the power, and exits out via a reset.
Perhaps you also need to rethink your ''debugging'' strategy so you can understand what's going on in your system without having to have a JTAG/SWD pod attached and single step everything? Test as much as you can without actually going into STANDBY, and evaluate STANDBY in simple test applications before applying it to complicated ones.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
