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.
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
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.
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.
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.
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:
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:
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.
Type arduino.monitor.dockPanel in the "Search Settings" field of the "Preferences" tab.
Select "right" from the menu under the "Arduino › Monitor: Dock Panel" setting.
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.
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.