2017-04-13 03:58 PM
Hi!
I have a Nucleo64-446RE and every 5/10 minutes the board resets itself.
I'm using the Virtual COM to send data to my PC and plot it (among many other things), and when the board resets I lose the Serial connection. I need to re-open it in order to plot again. If after this reset I want to program the microcontroller I get the ''Unable to reset target'' message for which I need to unplug and replug the USB(which is also powering the board). I'm using the System Workbench for STM32.
Here's an oscilloscope picture of the NRST pin (blue), which confirms the reset. The red trace is a 3.3V pin, which shows there are no power issues.
Can you please help me debug this reset?
As I understand, it can't be a Hard Fault because (I think) in that case the system wouldn't reset but end up in an infinite loop. I haven't implemented any of the error handlers, but I think they're implemented by default with weak attributes.
Watching the following image:
From external sources:
From internal sources:
Thank you very much in advance for all your input!
Cheers,
Andrés
2019-12-03 01:30 PM
Thank you for all your work, I'm experiencing something very similar with the STM32L475xx Discovery IoT board. running on a dell precision 5520. It still resets my board even if I'm not debuggin, but as previously mentioned that would probably be solved by not using the st-link for the power. You have given me some areas to look into for the cause of the resets :D
2023-07-02 04:52 AM
Hi Gregory, thanks for your help... I tried to do this and it worked, but, later I tried to change the arduino code to program it to my STM board and now the board is not accepting changes. It seems that arduino compile is done, but the board doesnt save the new program. I have tried to enable the MBED microcontroller USB device, but the same problem remains... Do you know how to solve this issue? Thanks