Closed petertorelli closed 2 years ago
I encountered the same issue when uploading binary image of ic01 to Numaker-IOT-M487. The command "db upload xxx" stuck randomly and I could never run the whole accuracy measurement process. Again, this problem doesn't happen on Windows 10 or Linux.
@BeyondCloud Does the Numaker device have a "mass storage" option that makes it show up as a USB Drive in the Finder? I've found that for ST boards, I can change the USB device type and remove "Mass Storage". This in turn causes the ST board to not show up in Finder, and appears to be more stable. (Of course, this means you can no longer copy the mbed binary to the drive using the mbed cli tools, you will need to flash it with a debugger.)
The solution is to upgrade the STLink firmware to version V2J37M27
using their CubeMX Programmer software.
There is a known sighting where the reference port stops working after about 1000-2000 inferences when running validation for the anomaly detection NN on macOS. This appears to be related to USB dropping, but it has not been root caused. The problem does not occur on Windows 10 or Linux (Ubuntu 18.04).