7 months, 1 week ago.
COM port closes after about 10 minutes connecting USB port (on Windows 32bit)
After connecting, NUCLEO-F303K8 can communicate with PC via serial COM port. However, after about 10 minutes, it cannot send/receive any commands. The COM port seems to be closed suddenly.
I found that it occurred on Windows 32bit but didn't occur on Ubuntu 64bit. And it occurred using NUCLEO-F303K8 but didn't occur using LPC1768.
I suspect the driver of NUCLEO-F303K8 for Windows 32bit has some problem.
Does anyone have any advice on solving this problem?
Question relating to:
7 months, 1 week ago.
Thank you for reporting your problem. We don't know this kind of issue on our side.
The first thing to try is to update the FW of the ST-Link module of your Nucleo board. It is located here http://www.st.com/content/st_com/en/products/embedded-software/development-tool-software/stsw-link007.html
If your problem persists, we would need to know more about the context.
What type of Windows32 machine are you using ?
Are you using your computer during those 10 minutes ?
6 months, 3 weeks ago.
The COM port driver on the host is native to Windows so there is nothing specific to the Nucleo (ST-Link) at this level. Your description shows that a lockup condition seems to happen either from time to time (race condition for instance) or after an event that happens meanwhile. The fact that it works in other contexts is not enough to conclude where resides the root cause (unfortunately), the issue is probably a conjonction of several elements in the failing context. We tried to reproduce on our side with your application on W7 64 bits and on an old 32 bits machine (but with XP), but we found no issue so far.
Just few ideas in order to allow further investigations if you can:
1. May you have a look on power scheme settings of your PC ? If a sleep mode is enterred, powering off the ST-Link (even temporarily), the wake-up sequence would need a full restart of the application (and perhaps also a restart of the Nucleo by unplugging the USB cable)
2. Is it possible to probe the Rx/Tx signal on the Nucleo, just to see if after the failure, the issue resides in the downstream or upstream ?
3. After the issue may you please check in the PC device manager (control panel-Hardware and Sound-Devices and Printers), if all devices are working well, especially the "STMicroelectronics STLink Virtual COM Port" (right click - properties - device status)
I hope this will help
To post an answer, please log in.