Skip to content

Upload broken for the Uno R4 WiFi on Windows #10

Closed
@SFE-Brudnerd

Description

@SFE-Brudnerd

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.

image

When looking at the device manager, I get the following values: USB VID 2341 PID 1002
image

Below is a table of the environments/configurations I tried and the various error codes I received.

Platform IDE Sketch Success Error Code
Mac 2.1.0 Blink Y N/A
Mac 2.1.0 GameOfLife Y N/A
Ubuntu 2.1.0 Blink Y N/A
Ubuntu 2.1.0 GameOfLife Y N/A
Windows 10 2.1.0 Blink N Performing 1200-bps touch reset on serial port COM22
"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
Windows 10 2.1.0 GameOfLife N Performing 1200-bps touch reset on serial port COM22
"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
Windows 10 Arduino-cli Blink N Performing 1200-bps touch reset on serial port COM22
"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
Windows 10 VSCode Arduino Blink N [Starting] Uploading sketch '........\Arduino\Blink\Blink.ino'
[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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions