Question
software reset problem if reset from a task
Posted on January 21, 2014 at 14:29
I use NVIC_SystemReset() in order to reset the system. I am using STM32F103 in my application and RTX rtos. The problem is that if called NVIC_SystemReset() before the RTOS started, the software reset worked. If called within a task ( even the first task), will get a Hard Fault. Anything I should do before calling NVIC_SystemReset()? or it can't be used in RTOS?
Thank you very much for your help.