Intermittent No device found on COM17

I have been working with the Sparkfun ICM 20948 on the UNO R4 for a week now. There are 2 things happening when the sketch uploads and both are intermittent.

#1: Randomly, the board becomes undetectable by the IDE. It does not occur frequently; best guess is it happens once every few hours while updating and uploading the code. The solution is to unplug/replug the usb-c cable.

Error message:

Arduino: 1.8.19 (Windows 10), TD: 1.58, Board: "Arduino UNO R4 WiFi"

Sketch uses 79320 bytes (30%) of program storage space. Maximum is 262144 bytes.

Global variables use 9724 bytes (29%) of dynamic memory, leaving 23044 bytes for local variables. Maximum is 32768 bytes.

No device found on COM17

An error occurred while uploading the sketch

#2 has been reported in post Wire1 with PCF8575 on UNO R4 only runs once - UNO R4 / UNO R4 WiFi - Arduino Forum. This one is also random and it also need the USB cable to be unplugged/plugged to correct it.

Hi @PickyBiker,

Which Core version of the board have you installed? Have you tried updating the firmware of the board? If you don't have done it yet, I recommend you install the Arduino IDE 2 and update it by going to Tools > Firmware Updater.

Currently, the last version available is the 0.3.0

Let me know about your results.

Thank you in advance.

I'm not sure what version was in the R4, but it has version 3 now.

I will report back here with results after a day or two.

Thanks

About 10 minutes after updating to the 0.3.0 core, the board became unrecognized again.

This is the error message:

Arduino: 1.8.19 (Windows 10), Board: "Arduino UNO R4 WiFi"

Sketch uses 68504 bytes (26%) of program storage space. Maximum is 262144 bytes.

Global variables use 9380 bytes (28%) of dynamic memory, leaving 23388 bytes for local variables. Maximum is 32768 bytes.

No device found on COM4

An error occurred while uploading the sketch

Unplugging the USB-C cable and re-plugging it fix the problem.

Don't need to wait any longer to report on the results. It failed to recognize the R4 3 more times just this afternoon. The upgrade to 0.3.0 didn't help.

Hello @PickyBiker,

I apologize for the delay in my response.

Please try using the Arduino IDE 2 and let me know if the problem persists. If the issue continues, please do not hesitate to contact us through the "Contact Us" form for further troubleshooting and assistance.

I appreciate your patience.

Have a great day!

No apology necessary, we are all busy.

I will try using the new IDE for this project.

As long as we are on that topic, In the future I hope we will be able to place the serial monitor in a separate window so I can put the IDE and Monitor side by side.

Hi @PickyBiker

Although it is not currently possible to move Serial Monitor to a dedicated window, it is already possible to move it to the side of the main Arduino IDE window instead of to the bottom. I'll provide instructions you can follow to do that:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
    A menu will appear on the editor toolbar:
    image
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    You can scroll down through the list of commands to find it or type the name in the field.
    A "Preferences" tab will open in the Arduino IDE main panel.
  3. Type arduino.monitor.dockPanel in the "Search Settings" field of the "Preferences" tab.
  4. Select "right" from the menu under the "Arduino › Monitor: Dock Panel" setting.
  5. Close the Preferences tab by clicking its X icon.

Did it, thank you.

I started using IDE 2 a couple days ago, and so far, the disconnects seem to have disappeared.

So, updating to 0.3.0 didn't help but using the new IDE did.

Thank you!

2 Likes

I wanted to add information to this post because I found and resolved the true cause of the No Device Found error. For a while, things looked okay after I switched to IDE 2, but then the errors started again and got worse.

The real problem was the USB-C connector on the R4 was intermittent. Eventually it ripped off when I dropped it while connected and though that would be the end of it. Fortunately, I was able to position it correctly, hold it in place with a metal clip and run it thru my SMD oven. That fixed it.

Originally, the connector bottom was not flush with the PCB, after reheating it with the clip, it is flush, and I have not had a single disconnection no matter which IDE I use. and it has now been a couple weeks.

Whoever is responsible for HW quality control might want to have a look at that mfg. process.


1 Like

Hi, thank you for letting us know of this. We have reported this to the concerned team. If you have more information or additional images related to the soldering part, share them with us. If you have any further queries or if you prefer to have a replacement for this board please do get in touch with us using the contact us form.

1 Like

No replacement is needed. This board is working perfectly now...

Thanks!