2021-12-06 09:15 AM
Currently when I unplug my Nucleo Board from my computer, my computer blue screens with a "SYSTEM_THREAD_EXCEPTION_NOT_HANDLED" error. Any ideas on what would cause this?
It happens every time I unplug the board, even if all I do is plug it in, then unplug it right away.
Solved! Go to Solution.
2021-12-08 05:35 AM
Thanks to all that replied, I have found an answer.
The issue was that company policy around USB devices would not agree with the nucleo board being mounted as a USB device. We do not use the USB storage on the nucleo board, so within the STM32Cube Programmer application, there is an option to do a firmware upgrade for the ST-LINK debugger. When doing the upgrade, you can change its type to remove the Mass Storage option.
This fixed the issue!
2021-12-07 02:26 AM
Try on another laptop. I suspect a problem on the laptop side.
2021-12-07 05:00 AM
Hi Uwe,
I am working with a small team, all of us on different computers. And all of them show this error. Any other thoughts?
We also have multiple different boards, and every board / laptop pair has this issue.
2021-12-07 05:01 AM
Hi Uwe,
I am working with a small team, all of us on different computers. And all of them show this error. Any other thoughts?
We also have multiple different boards, and every board / laptop pair has this issue.
2021-12-07 05:26 AM
So tell what you OS you use and if updates are applied regulary. The crash happens in the Laptop, and a the OS should cope with not-so benevolent devices.
2021-12-07 05:30 AM
We are using Windows 10. The device shows up as a USB Mass storage device, and even when using the "eject" feature, it shows a message that says "safe to remove hardware" and the system still BSOD
2021-12-07 07:17 AM
Is perhaps some strange company policy and driver involved? I have plugged-and unplugged Nucleo and Disco boards a zillion time with now problem. Perhaps try on a PV/Laptop at home, configured different as the company PCs.
2021-12-07 01:19 PM
Sadly plugging it into a personal device is not an option. Reading some other posts, I have seen that sometimes the device shows up as a USB Mass Storage device. Do you think this could be causing the problem? Do you know of any ways to stop the device from appearing as a mass storage?
2021-12-07 02:00 PM
Do you all have installed same antivirus or something else by company IT? or maybe all of you play same game?
Can you share the crash dump (minidump) online?
-- pa
2021-12-07 02:28 PM
> Do you know of any ways to stop the device from appearing as a mass storage?
Yes. Begin from the simplest. While the device is plugged in, locate its mass storage function in Device Manager and disable it.
If Windows won't crash on spot, that's all. Else ...