STM32F4 Resetting itself (Nucleo 64)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-04-13 3: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:
- Definitely I'm not pressing the reset button
- The ST-LINK could be resetting. How likely is this, why would it? Given that Virtual Com connection is lost it could be the case, since if I press the reset button the Virtual Com connection is not lost.
From internal sources:
- WWDG is not activated
- IWDG is not activated
- Red trace would prove it's not a power reset
- There's no lower-power mode being used.
- Software reset, this would be the only option. What causes a software reset?
Thank you very much in advance for all your input!
Cheers,
Andrés
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-31 10:49 AM
I have uninstalled ALL Dell support software and it is still reinstalling the driver every time I unplug and plug in the board, after manually removing it. I am running Windows 10 on a Dell Precision Tower 3420.
Anyone encounter this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-01 6:59 PM
Yes, happened to me too on my Dell (window 10). STLink debug driver will reinstall (when ST board is connected) even u uninstalled.
Which should not caused you problem.
I find out the issue with below, it is due to Mv18 on board, I managed to borrow a board which has Mv15 STlink frimware.
The ERROR message is not show anymore.
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v28 API v2 M v18 VID 0x0483 PID 0x374B
I am able to ask anyone know where to get previous version of stsw-link007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-06 9:26 PM
The ST-Link V2-1 (with mass storage) is unusable. Randomly disconnects, resets target, ST-Link not found error, etc. Standalone ST-Link V2-0 is rock solid and works fine. It would be so nice to let us officially downgrade the onboard debugger. The hardware is the SAME.
There is only the unofficial way now: Download standalone ST-Link's old firmware binary from some dev forum, reflash onboard STM32F103, and update with official tool. It works fine.
I never missed the mass storage mode. Virtual serial port would be nice to have, but working debug is more important.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-06 11:11 PM
You could always convert it to a J-LINK OB
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-06 11:20 PM
Yes, I know. I tried, but I did not like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-08 9:20 AM
If you are using Dell, uninstall the Dell Service Application/Agent, which cause problem.
After I uninstall it, problem never come back for 9 months
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-03-08 9:50 AM
I use a no-brand i7 desktop, a Lenovo notebook and two HP notebooks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-28 5:36 AM
I had a similar issue developing on a 144 pin Nucleo-L496ZG.
It would reset every 10 minutes or so. If debugging then I'd get an exception and breakpoint at the start of main. If not debugging (just powering through the onboard ST Link) then I'd keep hearing the USB virtual com port drop out on the PC.
I seem to have cured this now by powering the Nucleo board off an external 5V supply connected to the Morpho pins. (Remember to swap jumper JP6 to the E5V setting and make sure JP1 is removed)
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-30 10:25 AM
I have a total of four Dells. A PC and laptop both at home and at work. All exhibited the periodic reset. I stopped and disabled all Dell services on the home PC. My Nucleo has now been running for three hours without a reset. Can't wait to try it on the other Dells.
Thank you to all who suggested the Support Assist and agent. It has been a frustrating issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-06 8:56 PM
Thank you all guys, using STM32NucleoF411RE on a Dell Inspiron 3521 and almost quit on learning ST microcontrollers because of this periodical reset issue. Uninstalling Dell SupportAssist solved the problem.
regards,
Alberto M
