Warm reset
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-06 1:25 AM
Posted on February 06, 2014 at 10:25
Dear all,
I have been reading manuals on the STM32F1xx and STMF2xx since a while and I have spent hours evaluating this microcontroller. There is one information I am still looking for and never seen, maybe someone could help me about that: Is there any way embedded in the STM32 to differentiate and know for sure that, after reset, we came from a power-up (cold reset) or from a warm reset? Thanks in advance for your help, Thierry
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-06 1:35 AM
Posted on February 06, 2014 at 10:35
Hi
Sorry, I am not familiar with the devices you mentioned. The STM32F4 parts have a register ''RCC clock control & status register (RCC_CSR)'' which contain the status about how the processor was reset. Check the reference manual, section ''Power controller (PWR)''Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-07 7:37 AM
Posted on February 07, 2014 at 16:37
I thank you for your answer.
I wonder why I missed it, it was big enough... Moreover I guess that ''warm reset'' is not precise enough since there are many causes of ''warm'' reset. I had another question but I am going to open another item for that. Thanks for your help anyway, Cheers ThierryOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-02-07 9:07 AM
Posted on February 07, 2014 at 18:07
I wrote up a bit about this a while ago:
http://www.micromouseonline.com/2012/03/29/stm32-reset-source/#axzz2sZ5WstPh