Arduino Uno R4 WIFI cannot connect to comm

Greetings.
I am attempting to connect an Uno R4 to a Windows 11 computer via usb. No computers will recognize the R4 in question. I tried multiple computers, multiple cords. When I followed the connection steps with another R4 it connected.

I tried the double press on the reset button. It didn't do anything.
I have been looking for the double L pattern on the LCD matrix, but mine appears to have a strange pattern of light and dark LED. (see attached picture)

Is there some other factory reset feature? Or some diagnostic sequence I can go through the see if this card is broken?

Thank you,

Hi @jglaser.

Just to be double check, did the "L" LED on the UNO R4 WiFi board start pulsing after you pressed and released the "RESET" button on the board twice quickly?

No, there was no activity from the Pin 13 after the double press.

I found instructions on how to flash the board here:https://support.arduino.cc/hc/en-us/articles/16379769332892-Restore-the-USB-connectivity-firmware-on-UNO-R4-WiFi-with-espflash

However that did not allow it to connect either.

Any advice would be helpful.

Thank you,

The two presses should be steady to the count of 1-2. After a pause of a handful of seconds the board should be detected with a COM port. The 'L' LED should blink slowly.

Just to confirm the steps you took when attempting to flash the firmware, did you disconnect the board, short the two pins indicated and then power the board back on again? Did you then remove the link? And then you still got no response from the board?

BTW, is this a used or new board? If used, can you check the underside of the board. There are two pads marked 'RA4M1 USB'. Are they bridged or not? (They should NOT be for normal operation).

If you can get the board into the bootloader state with the 'L' LED flashing slowly, then you should first upload a blank sketch and power cycle the board and then see whether it comes up normally. If it does not, only then try flashing the serial bridge firmware.

Thank you for the reply.

Yes, I did the 1-2 pattern. I double checked my frequency against another board to see if my pushes would work and they did. The board in question does not seem to respond to the reset button.
In confirming the steps. Yes. I grounded out the pins. Then plugged it in (with no other usb in use). Then I used command prompt to install the firmware. I believe it was successful.

I then closed the command prompt, unplugged the usb, disconnected the grounding wire. plug back in. No change in crazy led matrix pattern. No change in lights. No change in recognizing the reset button.

The RA4M1 USB pads are not bridged on the bottom.

I cannot get the board into bootloader state. Can you direct me to this serial bridge firmware and instructions? Is this not the same as the ESPflash i linked above?

Thank you again!

Using espflash is one way to install the serial communication (bridge) firmware. The other way is through the IDE. From the above screenshot, evidently the ESP did go into bootloader mode and has accepted the firmware update, which would confirm that the ESP32 is working.

It may be that the RA4M1 bootloader has been overwritten or has got corrupted for some reason. The weird matrix pattern might be explained by some of the pins "floating".

The RA4M1 bootloader file can be found with the Arduino Uno R4 Boards package that has been downloaded into the IDE. On Windows, this should be in the following location:

\Users\<YourUsername>\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\bootloaders\UNO_R4\

This assumes that version 1.6.0 is the version you have installed, otherwise modify the version number in the path. The file is dfu_wifi.hex.

The Renesas MCU needs to be put into bootloader mode, which is done by shorting the BOOT pin to GND. The BOOT pin may not be marked, but it is the last pin on the header with the power connectors, next to the IOREF pin. The board should then hopefully show up in Device Manager as "Renesas RA USB Boot". You may need to press RESET once.

To flash the .hex file you will need the Renesas Flash Programmer. Using the command line you enter the following command:

rfp-cli.exe -device ra -dtr -port COMx -p dfu_wifi.hex

Obviously substitute COMx with the actual port ID. The -dtr flag is important. I think the baud rate needs to be set to 2400, but not sure.

Lets hope that is all it is. I was a little concerned about the mark that is visible in the photo on the RA4M1 chip:

I am hoping that its just a smudge of something and not a scorch mark.

PS, just a point to bear in mind - while the screenshot was quite clear and with decent resolution, the forum usually likes textual error output to be copied as text into the post and then enclosed in markup using the <CODE/> icon on the post editor task bar. It is also possible to manually add the three backticks ``` (character usually on or next to the Esc key) to the top and bottom of the error text. This formats it in an appropriate way and makes it easier to read.