-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Upload broken for the Uno R4 WiFi on Windows #10
Comments
I'm also having the exact same issue as described. |
Try Arduino 1.8. I was able to get it working there. |
Same issue here. |
hey everyone Sorry for the inconvenience, hope it'll all work for everyone now :) |
Why don't you advise what was wrong and how you fixed it? |
Hi @qwikag. The problem was in the code in Arduino CLI that signals the start of an upload process to the target board by momentarily opening a serial connection at 1200 bps ("1200 bps touch"). You can see the change to the Arduino CLI codebase that was made to fix the problem here: arduino/arduino-cli#2234 There is some further information about the change in that PR. Once the problem was fixed in Arduino CLI, it was only necessary to update the version of Arduino CLI that is bundled with the Arduino IDE 2.x installation in order to also deliver the fix to Arduino IDE users: arduino/arduino-ide#2121
No |
Thank you for the super fast response! |
@per1234 The problem still persist in the VS Code Arduino extension, and i cannot see the 1200 bps touch update in the changelog. |
Hi @balazscseh. If you are referring to the "Visual Studio Code extension for Arduino" extension, it is already fixed. You only need to update the installation of Arduino CLI that is used by the extension on your computer to the latest version, which contains the fix I referenced above. There is information about how to get the latest version of Arduino CLI here: |
@per1234 Edit: if i want to use my install of Arduino-CLI the extension doesn't want to work, that's why i wanted to know if it is possible to update the bundled version instead. |
@balazscseh I just gave "Visual Studio Code extension for Arduino" version 0.6.0 with the Please make a post with a detailed description of your problem on Arduino Forum. I'll be happy to investigate the problem further and try to help you over there. The forum a better place for that sort of user support level discussion: |
I still get the same old error after pointing the path setting to the correct location. My post link is: https://forum.arduino.cc/t/still-no-device-found-on-com-port-after-updating-cli-to-0-33-1/1143837 Thanks a lot :) Edit: @per1234 |
This issue can be closed as resolved by:
As for the report of the problem with the "Visual Studio Code extension for Arduino" extension, it is working fine for me. I will provide support on the forum topic. Even if there is still some problem, I don't foresee that it will turn out to be in this repository's codebase (since all the work so far has been done in the Arduino CLI codebase) so I wouldn't consider that report a blocker for closing this issue. CC: @facchinm @aentinger |
Thank you @per1234 for leading the response on this as well as the neat summary. In light of it (your summary) I'll close this issue. I expect with all the fixes out fewer users should come looking for support and if - they can be simply redirected to the now existing answers. |
Hello,
I'm having an issue with uploading to the Uno R4 WiFi in a Windows environment.
This all uses ArduinoCore-renesas v1.0.1. When in the Arduino IDE, the device is recognized. It's only when uploading to it that it fails to find the device.
When looking at the device manager, I get the following values: USB VID 2341 PID 1002

Below is a table of the environments/configurations I tried and the various error codes I received.
"C:\Users\$USER\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino5/bossac" -d --port=COM22 -U -e -w "C:\Users\$USER\AppData\Local\Temp\arduino\sketches\FE8CA22D18608F6CBD5B3FFBE2AB9B4C/Blink.ino.bin" -R
No device found on COM22
Set binary mode
Send auto-baud
Set binary mode
Failed uploading: uploading error: exit status 1
"C:\Users\$USER\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino5/bossac" -d --port=COM22 -U -e -w "C:\Users\$USER\AppData\Local\Temp\arduino\sketches\63B0DA378C2FD7222A66F165BF61AF79/GameOfLife.ino.bin" -R
Set binary mode
Send auto-baud
Set binary mode
No device found on COM22
Failed uploading: uploading error: exit status 1
"C:\Users\$USER\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino5/bossac" -d --port=COM22 -U -e -w "C:\msys64\tmp\arduino\sketches\FE8CA22D18608F6CBD5B3FFBE2AB9B4C/Blink.ino.bin" -R
Set binary mode
Send auto-baud
Set binary mode
No device found on COM22
Error during Upload: Failed uploading: uploading error: exit status 1
[Warning] Output path is not specified. Unable to reuse previously compiled files. Build will be slower. See README.
Sketch uses 34828 bytes (13%) of program storage space. Maximum is 262144 bytes.
Global variables use 2460 bytes (7%) of dynamic memory, leaving 30308 bytes for local variables. Maximum is 32768 bytes.
No device found on COM22
Error during Upload: Failed uploading: uploading error: exit status 1
IntelliSense configuration already up to date. To manually rebuild your IntelliSense configuration run "Ctrl+Alt+I"
[Error] Uploading sketch '........\Arduino\Blink\Blink.ino': Exit with code=1
When I was reading through the R4 Datasheet I see that the R4 is programmed via the ESP32-S3. There's a jumper I could solder to move the USB directly to the Renesas chip, but that seems like the wrong way to go about trying to program the device based on it's intended use.
I followed this help article for the specific error, however the process explorer was unable to find a PID with the process in use.
I've been able to upload to the Minima using v1.0.1 in a Windows environment.
I tried on 3 Windows machines, 2 Win10, 1 Win11.
As a last ditch effort, I uninstalled Arduino, uninstalled the drivers, unplugged the device, rebooted the machine, reinstalled Arduino, installed the package, then plugged the device back in. This did not change anything.
Please let me know if there's something else I should be trying.
The text was updated successfully, but these errors were encountered: