I recently purchased a UNO R4. I tried out the built in matrix by using the Heart and Smile sketch that I found on the Arduino site.
It worked fine when I plugged the unit in today. I then attempted to upload a basic Blink sketch and got the error message "No device found". I tried several other sketches including trying to reload the heart and smile sketch.....same thing. Swapped out cables, tried other ports, removed and replaced the IDE, reset the R4......disconnected and reconnected the R4.......shut down and reset my Macbook running Ventura 13.0............all to no avail.
From reading the forums it looks as if I need to reinstall the firmware on the board. First off I am not sure how to do this and secondly it seems like a rather drastic step.
My R3 is working fine and accepts uploads without any issues........
For those of you who have had the same issue, is there a better/easier fix that I may be missing?
I tried that several times. The light slowly blinks but the IDE still gives the error message that upload failed and no board was detected although I am able to select the board through the IDE
Because the R4 WIFI is a very strange beast and wants to reset using the ESP32. It is not very good at this due to the "clever" way it has been designed. There are lots of things "wrong" with that board, and it is providing a crap user experience at the moment. Just search through the threads in the section there are lots of users with a similar experience.
What I have discovered in my attempts to use the well known MIDI library, is that this addition switches the processor away from the ESP32 back to the RA4M1, and coupled with the processor being reset just half a second before download, this works for me.
Can you give me the exact error message that stops the code loading please.
Copy and paste it. Using the blink LED sketch as your source code you are trying to upload.
I've tried all of the suggestions including both of the ones for resetting pin21.........no joy. I am still getting the same message no matter which physical USB slot I use or the Port that I use or different cables......
My R3 works fine. I am convinced the R4 is a waste of time and money.
This is the error message that I ALWAYS get the only thing that changes is the port......
Sketch uses 53256 bytes (20%) of program storage space. Maximum is 262144 bytes.
Global variables use 6868 bytes (20%) of dynamic memory, leaving 25900 bytes for local variables. Maximum is 32768 bytes.
No device found on cu.usbmodemDC5475D126F82
Failed uploading: uploading error: exit status 1
The first of these causes is fixed by using Arduino IDE version 2.2.0 or newer (or version 1.8.19 or older).
The second cause is fixed by putting the board into the boot mode by pressing the reset button twice quickly. You say you already tried that, so I don't think the second cause is the reason for your upload failure, but I mention it for the sake of being comprehensive.
That leaves the third cause on the list above. I'll provide instructions you can follow to easily update the firmware on the Wi-Fi module:
ⓘ These instructions require Arduino IDE 2.x. Arduino IDE 1.x does not have support for updating the firmware of the UNO R4 WiFi. If you can't or won't use Arduino IDE 2.x, just let me know and I'll provide alternative instructions for using a standalone command line tool for the update.
Connect the UNO R4 WiFi board to your computer with the USB cable.
Select Tools > Firmware Updater from the Arduino IDE menus.
The "Firmware Updater" dialog will open.
If you have the Arduino IDE Serial Monitor or Serial Plotter running, close them. ⓘ You can close Serial Monitor by clicking the X icon that appears on its tab when selected:
Select the UNO R4 WiFi from the "Select Board" menu in the "Firmware Updater" dialog.
Click the "CHECK UPDATES" button.
An "INSTALL" button will be added to the dialog.
Click the "INSTALL" button.
An "Installing firmware" process will start, as indicated by the message near the bottom of the dialog.
Wait for the firmware update process to finish successfully, as indicated by the message in the dialog:
Firmware successfully installed.
Click the X icon in the dialog.
The dialog will close.
Disconnect the USB cable of the UNO R4 WiFi board from your computer. This step is very important!
Connect the UNO R4 WiFi board to your computer with the USB cable again.
Please let me know if you have any questions or problems while following those instructions.
Thanks for the reply. I really appreciate it. I am using a Macbook pro running Ventura OS13. That may be part of the problem. I'm on the road now but I plan on trying it on my Ubuntu machine when I get home.
It has been a long day so my head is in a bit of a fuzz....I really do appreciate you taking the time to write a detailed reply. I plan on giving it a try as soon as I get some free time. It seems pretty straight forward so hopefully that will fix the problem.