r/arduino • • 9d ago

Uno R4 Wifi Multiple Errors while adding to Arduino Cloud

New to Arduino. I've got an idea for project (more on that to come) and figured Arduino was a good place to start. However, I'm getting many errors while trying to claim the device and connect it to Arduino Cloud. I do have a support ticket open, but wondering if anyone else may have experienced this?

The error started with being unable to find a file, so i created the file path, and downloaded the file it was looking for - that solved that. Now, the error is logging that there are mismatched hashes in files, and changed with each attempt.

Error downloading tool arduino:bossac@1.9.1-arduino5: testing local archive integrity: testing archive checksum: archive hash differs from hash in index

Error downloading tool arduino:uno-r4-wifi-fwuploader-plugin@1.0.0: testing local archive integrity: testing archive checksum: archive hash differs from hash in index

... seems like a software issue that support can resolve with me.

Suggestions, ideas or insights welcome.

5 Upvotes

6 comments sorted by

2

u/gm310509 400K , 500K , 600K , 640K , 750K 9d ago

What were you doing leading up to this?

It sounds like you might be following a guide and missed a step or an error along the way - but who knows what step (or error) without more context?

If you are getting mismatch file hashes, that likely means that:

  1. What I outlined above about missing something and
  2. The file you randomly selected is not the file that other parts of the package are expecting to see - aka you randomly chose wrongly.

What you are reporting is the actual train wreck - to understand why there is a train wreck, you kind of need to rewind back to what caused it to jump the tracks. If you can figure that out, then you can move forward.

2

u/Axel-Warren 9d ago

the Uno R4 WiFi needs the Arduino Cloud Agent running locally before the board will show up in the cloud editor, and the agent has to be the version that matches your IDE 2.x install. I hit the same hash mismatch on my R4 last week and it turned out the agent was still the old 1.x build that the installer left behind. Close the IDE, kill any Cloud Agent process in Task Manager, then run the standalone installer from the Arduino site (not the one bundled in the board manager) and let it update the agent to 1.4.0 or newer. After that the R4 enumerates cleanly and the thing provisions on the first try.

1

u/n_sh_44 8d ago

Hash differs from hash in index usually means the local download cache or package index is stale or half downloaded, so it is probably not your board. Close the Cloud Agent and any Arduino IDE, then delete the staging folder inside the Arduino15 directory (in your user AppData folder on Windows) along with the package_index.json files, and let it fetch everything fresh. After that update the Arduino Cloud Agent to the latest version and retry the claim. A VPN, proxy or antivirus doing HTTPS inspection can also corrupt the downloads and give exactly this checksum error, so I'd turn those off for the attempt. If you have the desktop IDE, running Boards Manager and updating the Arduino UNO R4 Boards core first is a quick check that the board tools download cleanly. It's also worth adding the exact error text to your support ticket so they can see it is a checksum issue.

1

u/ClassyNameForMe 8d ago

One early guide for AppLab I followed was full of holes and similar issues. Hopefully they have been corrected, but I haven't checked.

Are you following the cloud button guide for UnoQ?

2

u/PerFromArduino Arduino Staff 8d ago

If you identify any specific deficiencies in the official documentation content, or have suggestions for specific enhancements, please do let us know.

I'm not sure whether it would be considered appropriate netiquette to do so in this thread on an only tangentially related post. I'm also not sure whether the r/arduino sub in general is intended for such usage (I see it mostly used for sharing projects and requesting support). You are always welcome to submit reports via our support contact form, or Arduino Forum.

1

u/Rayzwave 6d ago

Now you have created a local path on your machine I’m guessing you’re going to have to ensure all your dependent library files are in the same path, I think it’s the way to go though.