Wednesday, June 9, 2021

Arduino Nano RP2040 Connect

Just receive Arduino Nano RP2040 Connect:





Install Nano RP2040 Connect to Arduino IDE and fix "An error occurred while uploading the sketch":
 

Install Arduino Nano RP2040 Connect board to Arduino IDE.

- Open Board Manager in Arduino IDE.
- Search and install Arduino Mbed OS Nano Boards by Arduino. It's version 2.1.0 currently.


- Once installed, Arduino Mbed OS Nano Boards > Arduino Nano RP2040 Connect will available in board selection list.

If you have XIAO BLE Sense also, check Remark on "Arduino Nano RP2040 Connect" of "Arduino Mbed OS Boards" vs "Arduino Mbed OS Nano Boards".


Fix "An error occurred while uploading the sketch".

In my case on Raspberry Pi, sketch cannot be uploaded; with "An error occurred while uploading the sketch".

To fix it:
- Switch to mbed_rp2040 installed folder:
/home/pi/.arduino15/packages/arduino/hardware/mbed_rp2040/2.1.0
- Run post_install.sh:
$ sudo ./post_install.sh

- Then, you can upload the sketch again.


More exercise:
read onboard LSM6DSOX IMU module (accelerometer and gyroscope)

No comments:

Post a Comment