Not able to configurate my Arduino Nano RP2040 Connect

Hello, I'm using an Arduino Nano RP2040 Connect and I have encountered a problem with an IoT.
Wile it's able to detect the board, it is un able to configurate it, I've tried everything that was suggested in the IoT (restarting the agent/device/PC/browser, reconnecting the device) and still it's a no go, PC and the IoT detects the device but can't configurate it and I get the "We were not able to configure your device" message with, or in some cases it stops detecting the device completely mid setup (with no indication that the device has lost connection).
It is the first time I'm using Arduino, and I would appreciate it if somebody could help me with this problem.

Thank you in advance.

Agent version: 1.6.1-fb06ef3
Board: Arduino Nano RP2040 Connect

Messages:



@m1x_er ,

Your topic was moved to its current location as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.

It will help you get the best out of the forum in the future.

Thank you

What is on the screen after you click NEXT?

Hi @m1x_er. I'm going to ask you to provide some additional information that might help us to identify the problem.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Start Arduino Cloud Agent if it is not already running.
  2. Click on the Arduino Cloud Agent icon (looks like an Arduino logo).
    If you are using Windows, the icon will be in the "notification area". If you are using macOS, it will be in the "menu bar".
    A menu will open.
  3. Select "Open Debug Console" from the menu.
    The "Arduino Cloud Agent Debug Console" page will open in your browser.
  4. Click the third button from the right in the toolbar at the bottom of the "Arduino Cloud Agent Debug Console" page.
    A menu will open.
  5. Select "HIDE 'LIST' COMMANDS" from the menu.
  6. Click the "CLEAR LOG" button that is located near the bottom right corner of the "Arduino Cloud Agent Debug Console" window.
  7. Leaving the "Arduino Cloud Agent Debug Console" browser tab open, attempt to set up a new Arduino Cloud IoT Device via Arduino Cloud, just as you did before.
  8. Once the process fails, switch to the "Arduino Cloud Agent Debug Console" browser tab.
  9. Click the "EXPORT LOG" button in the bottom right corner of the "Arduino Cloud Agent Debug Console" window.
    A download of a file named agent-log.txt will start.
  10. Open the downloaded "agent-log.txt" file in any text editor.
  11. Press the Ctrl+A keyboard shortcut to select all the text.
  12. Press the Ctrl+C keyboard shortcut.
    This will copy the selected text to the clipboard.
  13. Open a forum reply here by clicking the "Reply" button.
  14. Click the <CODE/> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
  15. Press the Ctrl+V keyboard shortcut. This will paste the output into the code block.
  16. Move the cursor outside of the code block markup before you add any additional text to your reply.
  17. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

It starts configurating, starting with Uploading sketch (first of 3 stages) but without moving to other stages it drops Error exit status 1

Here is the log, as requested.
As I see it the problem might be in Agent not able to get the firmware version for some reason, but it might be in something else.

IoT Output:

Code:

downloadtool windows-drivers latest arduino keep

downloadtool bossac 1.7.0 arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool rp2040tools latest arduino keep

close COM3

{
  "Error": "We could not find the serial port COM3 that you were trying to close."
}

downloadtool windows-drivers latest arduino keep

downloadtool bossac 1.7.0 arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool rp2040tools latest arduino keep

{
  "DownloadStatus": "Error",
  "Msg": "tool not found with packager 'arduino', name 'arduino-fwuploader', version 'latest'"
}

{
  "DownloadStatus": "Error",
  "Msg": "tool not found with packager 'arduino', name 'bossac', version '1.7.0'"
}

{
  "DownloadStatus": "Error",
  "Msg": "tool not found with packager 'arduino', name 'windows-drivers', version 'latest'"
}

{
  "DownloadStatus": "Error",
  "Msg": "tool not found with packager 'arduino', name 'rp2040tools', version 'latest'"
}

{
  "DownloadStatus": "Error",
  "Msg": "tool not found with packager 'arduino', name 'rp2040tools', version 'latest'"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\windows-drivers\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\bossac\\1.7.0"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool windows-drivers latest arduino keep

downloadtool bossac 1.7.0 arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool rp2040tools latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\windows-drivers\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\rp2040tools\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\bossac\\1.7.0"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool windows-drivers latest arduino keep

downloadtool bossac 1.7.0 arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool rp2040tools latest arduino keep

close COM3

{
  "Error": "We could not find the serial port COM3 that you were trying to close."
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\bossac\\1.7.0"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\rp2040tools\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\windows-drivers\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool windows-drivers latest arduino keep

downloadtool bossac 1.7.0 arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool rp2040tools latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\bossac\\1.7.0"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\rp2040tools\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\windows-drivers\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool windows-drivers latest arduino keep

downloadtool bossac 1.7.0 arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool rp2040tools latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\bossac\\1.7.0"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\rp2040tools\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\windows-drivers\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool windows-drivers latest arduino keep

downloadtool bossac 1.7.0 arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool rp2040tools latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\bossac\\1.7.0"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\rp2040tools\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\windows-drivers\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool arduino-fwuploader latest arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool arduino-fwuploader latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool arduino-fwuploader latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "Cmd": "Serial",
  "ProgrammerStatus": "Starting"
}

{
  "Msg": "Flashing with command:C:/Users/jamix/.arduino-create/arduino/arduino-fwuploader/2.4.1/arduino-fwuploader.exe firmware list -b arduino:mbed_nano:nanorp2040connect",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Board                       FQBN                                Module   Version",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.5  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.6  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.7  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.8  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA   ✔ 1.5.0  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "",
  "ProgrammerStatus": "Busy"
}

{
  "Flash": "Ok",
  "ProgrammerStatus": "Done"
}

{
  "Cmd": "Serial",
  "ProgrammerStatus": "Starting"
}

{
  "Msg": "Flashing with command:C:/Users/jamix/.arduino-create/arduino/arduino-fwuploader/2.4.1/arduino-fwuploader.exe firmware get-version -a COM3 -b arduino:mbed_nano:nanorp2040connect",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "rp2040load 1.0.6 - compiled with go1.16.2",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": ".....................",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Error: exit status 1",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Couldn't get firmware version: exit status 3",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Executing command: exit status 1",
  "ProgrammerStatus": "Error"
}

downloadtool arduino-fwuploader latest arduino keep

downloadtool arduino-fwuploader latest arduino keep

downloadtool arduino-fwuploader latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

downloadtool arduino-fwuploader latest arduino keep

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Ensure that the files are executable"
}

{
  "DownloadStatus": "Pending",
  "Msg": "Updating map with location C:\\Users\\jamix\\.arduino-create\\arduino\\arduino-fwuploader\\latest"
}

{
  "DownloadStatus": "Success",
  "Msg": "Map Updated"
}

{
  "Cmd": "Serial",
  "ProgrammerStatus": "Starting"
}

{
  "Msg": "Flashing with command:C:/Users/jamix/.arduino-create/arduino/arduino-fwuploader/2.4.1/arduino-fwuploader.exe firmware list -b arduino:mbed_nano:nanorp2040connect",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Board                       FQBN                                Module   Version",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.5  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.6  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.7  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA     1.4.8  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Arduino Nano RP2040 Connect arduino:mbed_nano:nanorp2040connect NINA   ✔ 1.5.0  ",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "",
  "ProgrammerStatus": "Busy"
}

{
  "Flash": "Ok",
  "ProgrammerStatus": "Done"
}

{
  "Cmd": "Serial",
  "ProgrammerStatus": "Starting"
}

{
  "Msg": "Flashing with command:C:/Users/jamix/.arduino-create/arduino/arduino-fwuploader/2.4.1/arduino-fwuploader.exe firmware get-version -a COM3 -b arduino:mbed_nano:nanorp2040connect",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "rp2040load 1.0.6 - compiled with go1.16.2",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": ".....................",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Error: exit status 1",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Couldn't get firmware version: exit status 3",
  "ProgrammerStatus": "Busy"
}

{
  "Msg": "Executing command: exit status 1",
  "ProgrammerStatus": "Error"
}