Upload fails for Uno R3

Hi,

I am trying to upload a sketch to the Arduino R3 WIFI but failing badly.

If I select Uno Wifi as the board the sketch will upload correctly. However, if I chose Wifi Ref 2, then it fails.

I need to use the Rev 2 as when I import <wifi.h>, it will only compile on the Rev 2, not the Uno Wifi.

The upload error is:

jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2145

I am just trying to upload this

#include <WiFi.h>

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Any advice appreciated.

Cheers

Very strange, when I first tried a compile I did get some errors, but after trying a few more times the errors went away for both. Mysterious to say the least.

Its driving me mental.

I have tried on 2 different computers now. I thought it might have been related.

It is the R3 CH340G board. I bought a couple of them and have tried multiple boards. All with the same result.

I have read all of google and tried everything I can find.

hopeing someone can guide me a bit.... :slight_smile:

Not an Arduino product.
Caveat emptor.

yeh, I bought two of them from a local electronics store. They worked fine for what I needed initially. Then I purchased the same board online.

None of the boards work when trying to use Wifi. These were my first experience with Arduino so really I didn't know what was what.

I struggle to believe it is a board problem. I'm 99.99999999999999999999999% certain it is user error.

If I could solve the first error where I have Uno R3 Wifi as the board and get the error:

'PinStatus' does not name a type static PinStatus digitalRead(uint8_t pin);

Then that would be great. I'm pretty sure that is the board I need to chose but don't understand why the error exists.

Could I get a wifi board and add that on. Then use the board rather than the embedded wifi?

Post all the source code in code tags, then post the error log in code tags.
For the error you just posted, it is missing a type, probably int as in

static int PinStatus;

Hi @arduinonoobs. I see that in your previous forum topic, you described the board you had as the "Duinotech Uno with Wi-Fi ATmega328P". Is that the board you are working with now?

It doesn't work that way. You must configure Arduino IDE according to the actual hardware you are working with. Each of the board definitions is for a specific piece of hardware and has absolutely no chance of being usable with different hardware.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.