Error uploading sketch to Nano2040

It's my first time trying to use an Arduino and I'm trying to upload an example sketch but to no avail after more than an hour of trying. Error message is below - thank you!


Arduino: 1.8.18 (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 4576 bytes (14%) of program storage space. Maximum is 30720 bytes.

Global variables use 544 bytes (26%) of dynamic memory, leaving 1504 bytes for local variables. Maximum is 2048 bytes.

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM1 -b115200 -D -Uflash:w:C:\Users\AmirA\AppData\Local\Temp\arduino_build_644668/GPS_SoftwareSerial_EchoTest.ino.hex:i

avrdude: Version 6.3-20190619

     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

     Copyright (c) 2007-2014 Joerg Wunsch



     System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"



     Using Port                    : COM1

     Using Programmer              : arduino

     Overriding Baud Rate          : 115200

avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.

avrdude done. Thank you.

Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Hi @birdofsteel. Despite the similar name, the Arduino Nano RP2040 Connect is a completely different board from the standard Arduino Nano board.

If you are you are using the Tools > Board > Arduino AVR Boards > Arduino Nano menu selection in the Arduino IDE while trying to upload to an Arduino Nano RP2040 Connect connect board, the upload will always fail.

You need to select the Tools > Board > Arduino Mbed OS Nano Boards > Arduino Nano RP2040 Connect before uploading. If you don't have that menu selection then that means you need to install the "Arduino Mbed OS Nano Boards" platform via the Arduino IDE's Boards Manager, following the instructions in the "Quickstart Guide" here:

Didn't have the platform for nano boards installed. Resolved - thank you!

You are welcome. Enjoy your new Nano RP2040 Connect!

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