Hi. I just found a possibly related issue with my brand new R4 WiFi (and I am part of the early access program).
I tried to upload a sketch using my usual MAC, and I got
Failed uploading: no upload port provided
I noticed that the port to which the Arduino was attached was not in the list of available ports, but when I pressed the reset button it appears for few seconds, then disappeared again.
I could upload the sketch as follows:
press the upload button: the IDE begins to compile the sketch
when the compilation is about 50% done, I pressed the reset button on Arduino and released it
the upload proceeded seamlessly (in fact, after a few tries to identify the right moment to press the button).
Since this episode, I had no more problems in uploading. The latter started after I uploaded the sketch provided as an example in the LED matrix, but I cannot say if this is correlated to the problem or not.
When I use the old Arduino version (1.8) I can upload programs to the Arduino UNO R4 WIFI.
When I disconnect from 1 pc (with old version) to a pc with the new version, it doesn't work at all.
Always the same problem (no device found on COM3).
I guess it's a problem with the 'new' arduino IDE version?
the issue is caused by how the board is reset and put into bootloader mode.
In IDE 1.8.19 the serial port opening/closing (touch at 12bps) is handled in Java using Java bindings to Serial ports.
For IDE 2 we rely on the Arduino CLI using the OS bindings of the hardware.
Unfortunately this doesn't seem to happen to every Windows user, and it's not consistent until it first happens.
it has happened to me yesterday but this morning it worked, and in the afternoon I had the issue again.
we're looking into solutions, but we might have to rework how the CLI establishes a serial connection.
please bear with us as we strive to get a working solution into everyone's hands
@ubidefeo Thank you so much for your rapid response on this. It is very much appreciated. I teach a couple of courses which use microcontrollers (one course uses the Mega 2560 and the other uses the ESP-32), and am hoping the Uno R4 WiFi will be a common system for both and future courses, saving both my department and, most importantly, my students, time and finances.
we try to do our best to support users.
your use case seems to be exactly why we created this board
hope to have a solution soon, we have a few heads digging into this issue.
it's a pity it didn't really show up in internal testing, and we did not provide the WiFi to our preview users until just a couple days ago.
I'm also itching to see what people do with the matrix.
it was fun to work on it.
I wrote the matrix editor engine and did some work on the library.
The editor's got a couple bugs but as a Lab project it's developed on a voluntary base so a few of us came together to make it during our hacking afternoons
I was thinking of using the LED matrix to display something like displaying magnetic field strength in an intensity view, so my students can say they've detected a metal object using a magnetometer.