Skip to content

Commit 07236df

Browse files
Merge branch 'main' into Rework-Nano-RP2040-Connect-not-being-detected-on-USB-port-
2 parents 64eb90a + 70da590 commit 07236df

File tree

56 files changed

+446
-381
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+446
-381
lines changed

.lycheeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ https://www.ups.com/it/en/support/contact-us.page
4141
https://www.dhl.com/us-en/home/customer-service.html
4242
https://www.dhl.com/us-en/home/ecommerce/shipping-services/international-shipping-services.html
4343
https://www.tindie.com/products/ataradov/cmsis-dap-compliant-swd-debugger/
44+
https://www.arduino.cc/reference/en/libraries/arduino_bmi270_bmm150/
4445

4546
# Too many redirects
4647

4748
https://shopify.com/43847352471/account/orders
49+
https://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_cplusplus

content/Arduino Cloud/Arduino IoT Cloud/Add-and-connect-a-device-to-Arduino-Cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Connecting a new device to Arduino Cloud consists of three steps:
1111
2. [Configure the device as a Thing](#create-thing). This will generate a sketch that can be uploaded to the device, allowing it to connect to Arduino Cloud.
1212
3. [Upload the sketch to the device](#upload-sketch). Upload the Thing sketch to the device.
1313

14-
You'll need an Arduino account and the [Arduino Create Agent](https://support.arduino.cc/hc/en-us/articles/360014869820) installed and running on your computer.
14+
You'll need an Arduino account and the [Arduino Cloud Agent](https://support.arduino.cc/hc/en-us/articles/360014869820) installed and running on your computer.
1515

1616
---
1717

content/Arduino Cloud/Arduino IoT Cloud/If-your-device-cant-be-added-to-Arduino-Cloud.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Secret keys cannot be recovered if lost. Make sure to save any Device ID and Sec
2929

3030
1. Make sure you're using a [compatible device](https://support.arduino.cc/hc/en-us/articles/360016077320-What-devices-can-be-used-with-Arduino-IoT-Cloud-).
3131

32-
2. [Check if the Arduino Create Agent is installed and running](https://support.arduino.cc/hc/en-us/articles/4980687506844-Check-if-the-Arduino-Create-Agent-is-installed-and-running), then click **Try again**.
32+
2. [Check if the Arduino Cloud Agent is installed and running](https://support.arduino.cc/hc/en-us/articles/4980687506844), then click **Try again**.
3333

3434
> [!NOTE]
35-
> If you're using a **Chromebook** and [Arduino Cloud for Chromebook](https://support.arduino.cc/hc/en-us/articles/360016495639-Use-Arduino-with-Chromebook), there's no need to install the Arduino Create Agent.
35+
> If you're using a **Chromebook** and [Arduino Cloud for Chromebook](https://support.arduino.cc/hc/en-us/articles/360016495639-Use-Arduino-with-Chromebook), there's no need to install the Arduino Cloud Agent.
3636
3737
3. Double-press the reset button on the board to put the board in [bootloader mode](https://support.arduino.cc/hc/en-us/articles/5779192727068-Reset-your-board#bootloader-mode), then click **Try Again**.
3838

@@ -46,7 +46,7 @@ Secret keys cannot be recovered if lost. Make sure to save any Device ID and Sec
4646

4747
1. Close any instances of Arduino IDE and other applications that may be using the port.
4848

49-
2. [Check if the Arduino Create Agent is installed and running](https://support.arduino.cc/hc/en-us/articles/4980687506844-Check-if-the-Arduino-Create-Agent-is-installed-and-running). If you're using [Arduino Cloud for Chromebook](https://support.arduino.cc/hc/en-us/articles/360016495639-Use-Arduino-with-Chromebook), you can skip this step.
49+
2. [Check if the Arduino Cloud Agent is installed and running](https://support.arduino.cc/hc/en-us/articles/4980687506844). If you're using [Arduino Cloud for Chromebook](https://support.arduino.cc/hc/en-us/articles/360016495639-Use-Arduino-with-Chromebook), you can skip this step.
5050

5151
3. Reconnect the device to the computer and make sure the power LED lights up.
5252

@@ -66,13 +66,13 @@ Solve the issue by updating to the latest firmware version using the **Firmware
6666

6767
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/360013896579-Use-the-Firmware-Updater-in-Arduino-IDE">Update the firmware in Arduino IDE</a>
6868

69-
### "Arduino Create Agent not found"
69+
### "Arduino Cloud Agent not found"
7070

7171
> [!NOTE]
7272
> If you're using a **Chromebook** and [Arduino Cloud for Chromebook](https://support.arduino.cc/hc/en-us/articles/360016495639-Use-Arduino-with-Chromebook), you can skip this step.
7373
7474
1. If you haven't done so already, [install the agent](https://create.arduino.cc/getting-started/plugin/welcome).
75-
2. If you have installed the agent but still encounter this warning, see [If Arduino Create Agent isn't detected](https://support.arduino.cc/hc/en-us/articles/360016466600-Warning-To-upload-a-sketch-via-USB-port-make-sure-the-Agent-is-installed-and-running-on-this-computer).
75+
2. If you have installed the agent but still encounter this warning, see [If Arduino Cloud Agent isn't detected](https://support.arduino.cc/hc/en-us/articles/360016466600-Warning-To-upload-a-sketch-via-USB-port-make-sure-the-Agent-is-installed-and-running-on-this-computer).
7676

7777
---
7878

content/Arduino Cloud/Cloud Editor/Boards-compatible-with-the-Cloud-Editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ These boards are supported:
3535

3636
## Cloud Editor on Windows, macOS, and Linux
3737

38-
To use the Cloud Editor on Windows, macOS, and Linux, you need to install the <a class="link-up-right" href="https://create.arduino.cc/getting-started/plugin/welcome">Arduino Create Agent</a>.
38+
To use the Cloud Editor on Windows, macOS, and Linux, you need to install the <a class="link-up-right" href="https://create.arduino.cc/getting-started/plugin/welcome">Arduino Cloud Agent</a>.
3939

4040
These boards are supported:
4141

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: "If the Arduino Cloud Agent isn't detected"
3+
id: 360016466600
4+
---
5+
6+
Learn what to do if the Arduino Cloud Agent isn't detected by the [Arduino Cloud](https://cloud.arduino.cc/).
7+
8+
If you haven't done so, [install the Arduino Cloud Agent](https://create.arduino.cc/getting-started/plugin/welcome). If you still encounter one of the warnings bellow, follow the [troubleshooting steps](#troubleshooting).
9+
10+
* `Arduino Cloud Agent not found`
11+
* `To upload a sketch via USB port, make sure the Agent is installed and running on this computer`
12+
13+
---
14+
15+
<a id="troubleshooting"></a>
16+
17+
## Troubleshooting
18+
19+
1. Check if the [Arduino Cloud Agent is running](https://support.arduino.cc/hc/en-us/articles/4980687506844), since sometimes it may be **off** or **paused**.
20+
21+
2. If you are using [Brave Browser](https://brave.com/), see [Use Arduino Cloud with Brave Browser](https://support.arduino.cc/hc/en-us/articles/10482021304988-Use-Arduino-Cloud-with-Brave-Browser).
22+
23+
3. **If you're using Safari on macOS:** Check if the HTTPS certificate for Safari has been installed:
24+
1. Open the Arduino Cloud Agent menu (Look for the ![Arduino Cloud Agent icon](img/cloud-agent-logo-mac.png) icon in the top-right of the menu bar of macOS).
25+
2. Click on the **Manage HTTPS certificate** menu and make sure that the certificate is installed and trusted.
26+
If it’s not, you can click on the button "Install the certificate for Safari".
27+
3. Enter the administrative credentials, if prompted.
28+
4. Refresh the Safari browser window.
29+
30+
4. If you're using the [Cloud Agent on a Mac computer with an Apple Silicon processor](https://github.com/arduino/arduino-create-agent#apple-m1-support) (e.g. Apple M1 chip), make sure to [install Rosetta 2](https://support.apple.com/en-us/HT211861).
31+
32+
If you are still having issues, [uninstall the Arduino Cloud Agent](https://support.arduino.cc/hc/en-us/articles/360014869840) and [reinstall it](https://create.arduino.cc/getting-started/plugin/welcome).

content/Arduino Cloud/Cloud Editor/If-the-Arduino-Create-Agent-isnt-detected.md

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
---
2+
title: "If you see an error when performing an Over-the-Air (OTA) upload"
3+
id: 15122161765916
4+
---
5+
6+
Learn how to resolve errors when uploading Over-the-Air (OTA) in the Cloud Editor.
7+
8+
Before you proceed, rule out other types of errors:
9+
10+
* If the message on the console panel bar says **"Error Verifying \<Sketch name\>"**, it means that the sketch could not be successfully compiled. See [If your sketch doesn't compile](https://support.arduino.cc/hc/en-us/articles/4402764401554-If-your-sketch-doesn-t-compile) instead.
11+
* An Over-the-Air upload will only be attempted if the ![OTA symbol](img/symbol_ota.png) OTA icon is visible to the right of the Upload button. If USB upload is also available, make sure that the OTA option is selected.
12+
13+
In this article:
14+
15+
* [Identifying the OTA error message](#identify-error)
16+
* [Error reference for OTA uploads](#errors)
17+
18+
---
19+
20+
## Identifying the OTA error message {#identify-error}
21+
22+
When an Over-the-Air upload fails, you can find the error in the console output.
23+
24+
Follow these steps:
25+
26+
1. Find the console panel. If it is hidden, show it by clicking the button in the bottom-right corner.
27+
2. Find the line that starts with "SHA256" or "Board error".
28+
3. Find the instructions for that error in the [error reference](#errors).
29+
30+
<img src="img/ota-error-sha.png" width=800px/>
31+
32+
---
33+
34+
## Error reference for OTA uploads {#errors}
35+
36+
In this section:
37+
38+
* [Board error - errorwriteupdatefilefail](#errorwriteupdatefilefail)
39+
* [Board error - httpresponsefail](#httpresponsefail)
40+
* [Board error - otadownloadfail](#otadownloadfail)
41+
* [Board error - otaheadercrcfail](#otaheadercrcfail)
42+
* [Board error - otastorageinitfail](#otastorageinitfail)
43+
* [Board error - serverconnecterrorfail](#serverconnecterrorfail)
44+
* [SHA256 mismatch - Unable to apply the new firmware. Previous firmware detected after restart](#sha256mismatch)
45+
* [SHA256 Unknown - Unknown Firmware detected after restart.](#sha256unknown)
46+
47+
### Board error - errorwriteupdatefilefail {#errorwriteupdatefilefail}
48+
49+
This error indicates that the device's memory partition table is improperly formatted.
50+
51+
* If you're using **Arduino GIGA R1 WiFi** or **Portenta H7**:
52+
1. Reinitialize the storage with this Sketch: [QSPIFormat.ino](https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/STM32H747_System/examples/QSPIFormat/QSPIFormat.ino)
53+
1. Reinstall the SSL certificates with this Sketch: [WiFiFirmwareUpdater](https://github.com/arduino/ArduinoCore-mbed/tree/main/libraries/STM32H747_System/examples/WiFiFirmwareUpdater)
54+
55+
* If you're using **Arduino Opta**: Follow [these instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-an-opta).
56+
* If you're using **Portenta Machine Control**: Follow these [instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-a-portenta-machine-control).
57+
58+
> [!TIP]
59+
> If you're using GIGA R1 WiFi, see [Configure GIGA R1 WiFi for Over-The-Air (OTA) uploads](https://support.arduino.cc/hc/en-us/articles/12370721200540-Configure-GIGA-R1-WiFi-for-Over-The-Air-OTA-uploads).
60+
61+
### Board error - httpresponsefail {#httpresponsefail}
62+
63+
This error can occur if the OTA update fails during the firmware download.
64+
65+
Follow these steps:
66+
67+
1. Ensure that the board has a stable connection to Arduino Cloud.
68+
1. Avoid extensive calls to the `delay()` function or other blocking code inside the `loop()` function of your sketch.
69+
70+
### Board error - otadownloadfail {#otadownloadfail}
71+
72+
This error can occur if the OTA update fails during the firmware download.
73+
74+
Follow these steps:
75+
76+
1. Ensure that the board has a stable connection to Arduino Cloud.
77+
1. Avoid extensive calls to the `delay()` function or other blocking code inside the `loop()` function of your sketch.
78+
79+
### Board error - otaheadercrcfail {#otaheadercrcfail}
80+
81+
The header of the downloaded file does not match the expected one, likely indicating that the file was corrupted during the download.
82+
83+
Follow these steps:
84+
85+
1. Try to upload the sketch again.
86+
87+
### Board error - otastorageinitfail {#otastorageinitfail}
88+
89+
This error indicates that the device's memory partition table is improperly formatted.
90+
91+
* If you're using **Arduino GIGA R1 WiFi** or **Portenta H7**:
92+
1. Reinitialize the storage with this Sketch: [QSPIFormat.ino](https://github.com/arduino/ArduinoCore-mbed/blob/main/libraries/STM32H747_System/examples/QSPIFormat/QSPIFormat.ino)
93+
1. Reinstall the SSL certificates with this Sketch: [WiFiFirmwareUpdater](https://github.com/arduino/ArduinoCore-mbed/tree/main/libraries/STM32H747_System/examples/WiFiFirmwareUpdater)
94+
95+
* If you're using **Arduino Opta**: Follow [these instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-an-opta).
96+
* If you're using **Portenta Machine Control**: Follow these [instructions](https://docs.arduino.cc/tutorials/opta/memory-partitioning/#partitioning-the-memory-of-a-portenta-machine-control).
97+
98+
> [!TIP]
99+
> If you're using GIGA R1 WiFi, see [Configure GIGA R1 WiFi for Over-The-Air (OTA) uploads](https://support.arduino.cc/hc/en-us/articles/12370721200540-Configure-GIGA-R1-WiFi-for-Over-The-Air-OTA-uploads).
100+
101+
### Board error - serverconnecterrorfail {#serverconnecterrorfail}
102+
103+
This error occurs when the device fails to connect to the firmware download endpoint.
104+
105+
Follow these steps:
106+
107+
1. Ensure that the board has a stable connection to Arduino Cloud.
108+
109+
### SHA256 mismatch - Unable to apply the new firmware. Previous firmware detected after restart {#sha256mismatch}
110+
111+
This error means that the device restarted with a SHA (fw identifier) that is different from the target one and the SHA is equal to the one installed when the OTA process is started. This usually happens when the device restarts during the OTA process.
112+
113+
Follow these steps:
114+
115+
1. Check if the sketch running on the device is unstable and causes frequent restarts.
116+
117+
### SHA256 Unknown - Unknown Firmware detected after restart. {#sha256unknown}
118+
119+
This error indicates that the device restarted with a new SHA (firmware identifier), which differs from both the target firmware and the original firmware. This suggests that another firmware was flashed on the device via a different method, such as USB, during the OTA update process.
120+
121+
Follow these steps:
122+
123+
1. Ensure there is no external device that is programming the board.
124+
1. Repeat the upload process.
125+
126+
<!-- markdownlint-disable-file HC001 -->

content/Arduino Cloud/Cloud Editor/If-your-board-is-not-detected-by-Arduino-Cloud-Editor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Learn how to troubleshoot possible issues when connecting a board to the Cloud E
2222

2323
2. Check that your device is powered. One or more more LEDs should be lit.
2424
3. Ensure you've connected your board with a working data USB cable.
25-
4. If you haven't done so already, [install Arduino Create Agent](https://create.arduino.cc/getting-started/plugin/welcome).
26-
5. [Check if the Arduino Create Agent is installed and running](https://support.arduino.cc/hc/en-us/articles/4980687506844-Check-if-the-Arduino-Create-Agent-is-installed-and-running).
25+
4. If you haven't done so already, [install Arduino Cloud Agent](https://create.arduino.cc/getting-started/plugin/welcome).
26+
5. [Check if the Arduino Cloud Agent is installed and running](https://support.arduino.cc/hc/en-us/articles/4980687506844).
2727
6. **If you're using Safari on macOS:** Check if the HTTPS certificate for Safari has been installed:
28-
1. Open the Arduino Create Agent menu (Look for the ![Arduino Create Agent icon](img/create-agent-logo-mac.png) icon in the top-right of the menu bar of macOS).
28+
1. Open the Arduino Cloud Agent menu (Look for the ![Arduino Cloud Agent icon](img/cloud-agent-logo-mac.png) icon in the top-right of the menu bar of macOS).
2929
2. Click on the **Manage HTTPS certificate** menu and make sure that the certificate is installed and trusted.
3030
If it’s not, you can click on the button "Install the certificate for Safari".
3131
3. Enter the administrative credentials, if prompted.

content/Arduino Cloud/Cloud Editor/Open-the-Cloud-Editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ Your sketch will automatically open in a new tab.
1616

1717
To upload sketches to connected Arduino boards, please install the following software:
1818

19-
- **For Windows, macOS, or Linux:** [Install the Arduino Create Agent](https://support.arduino.cc/hc/en-us/articles/360014869820-Install-the-Arduino-Create-Agent).
19+
- **For Windows, macOS, or Linux:** [Install the Arduino Cloud Agent](https://support.arduino.cc/hc/en-us/articles/360014869820).
2020
- **For Chromebook:** [Install Arduino Cloud for Chromebook](https://support.arduino.cc/hc/en-us/articles/360016495639-Use-Arduino-with-Chromebook#install-arduino-cloud-for-chromebook).

content/Arduino Cloud/Cloud Editor/Use-Arduino-Cloud-with-Brave-Browser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Arduino Cloud with Brave Browser
33
id: 10482021304988
44
---
55

6-
To use [Brave Browser](https://brave.com/) with Arduino Cloud it is necessary to create a custom filter that allows communication between Brave Browser and the [Arduino Create Agent](https://create.arduino.cc/getting-started/plugin/welcome).
6+
To use [Brave Browser](https://brave.com/) with Arduino Cloud it is necessary to create a custom filter that allows communication between Brave Browser and the [Arduino Cloud Agent](https://create.arduino.cc/getting-started/plugin/welcome).
77

88
---
99

@@ -20,4 +20,4 @@ To use [Brave Browser](https://brave.com/) with Arduino Cloud it is necessary to
2020

2121
1. Click _Save changes_.
2222

23-
The Arduino Create Agent will then be able to detect your board, and Arduino Cloud should work as expected.
23+
The Arduino Cloud Agent will then be able to detect your board, and Arduino Cloud should work as expected.

0 commit comments

Comments
 (0)