SAMD21 Mini serialUSB locked up after reboot on Windows 10

Hello,

I noticed an issue with the SAMD21 Mini Breakout’s usbSerial interface in Windows 10.

After rebooting the PC, sending bytes to the board locks up the PC application.

Here’s my test code:


(Side note: I tried pasting the code into this post instead of a screenshot, but kept getting a ‘403 Forbidden’ message)

After uploading, when I send ‘A’ from the Arduino serial terminal, I get ‘B’ in response.

After rebooting the PC and reopening Arduino, when I send ‘A’ from the serial terminal, I get no reply.

If I send ‘A’ again, the Arduino software locks up until it is force-quit or until the SAMD21 Mini board is unplugged.

Unplugging and re-plugging the SAMD21 Mini board from USB fixes the issue - but it shouldn’t be necessary to unplug the device after every time the PC is rebooted.

I tried this with several SAMD21 Mini boards on multiple Windows 10 PCs, and with different applications (Python, MATLAB) - same behavior.

Please let me know how this can be resolved.

My setup:

-Windows 10 PC

-Arduino 1.8.11 (also tried 1.8.12)

-Sparkfun SAMD board definition file v1.7.4

Thanks!

Hello,

That is weird behavior and I believe it is beyond our scope as technical support. However, it seems like this has been experienced by others. Hopefully [this post may help.](USBSerial port reset and lockup - Arduino Due - Arduino Forum)