Recently , I bought an Arduino Nano Clone And after building a successful firmware simulation,
I was not able to upload the firmware to the Nano Board through Arduino web editor,
the problem I'm not sure which Board I have , it gives many selections
here are the selections
I moved your topic to an appropriate forum category @drmina2023.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
Hi @drmina2023. I'm going to ask you to post the full verbose output from a compilation.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Check the box next to "Show verbose output during: ☐ compilation" in the "Preferences" dialog.
Click the "OK" button.
Select Sketch > Verify/Compile from the Arduino IDE menus.
Wait for the compilation to fail.
You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
Open a forum reply here by clicking the "Reply" button.
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 error messages are correctly formatted.
Press Ctrl+V.
This will paste the compilation output into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Click the "Reply" button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:
Open a forum reply here by clicking the "Reply" button.
Click the "Upload" icon () on the post composer toolbar:
A dialog will open.
In the dialog, select the .txt file you saved.
Click the "Open" button.
Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
Unfortunately there is a bug in the sketch compiler that causes it to fail to find the library when it is installed under a path that contains this sort of character:
The presence of such characters in the path is more likely to occur because Microsoft OneDrive automatically uses the localized name for the Windows Documents folder based on your system locale.
The workaround will be to configure Arduino IDE to use a different path to store libraries. I'll provide instructions you can follow to do that:
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Click the "BROWSE" button on the right side of the "Sketchbook location" field.
The "Select a new sketchbook location" dialog will open.
Select a folder in any location that contains only basic ASCII characters (the characters A-z, 0-9, _, -, . are safe). Make sure to pick a location that will be safe to store your files since, in addition to containing installed libraries, the sketchbook is a convenient location to save your sketches.
Click the "Choose" button in the "Select a new sketchbook location" dialog.
Click the "OK" button in the "Preferences" dialog.
Move all the files from the folder at the path of the old sketchbook location:
now I have 2 sketches that are successfully verified but neither of them were able to be uploaded from the web editor
except for arduino ble which gives the current error message
I tried all the available board from arduino nano and nano with old bootloader and other , they all gave the message
error uploading check is there an available board, except for the nano ble which gave the above error message ,
Any Idea what is wrong ?
/usr/local/bin/arduino-cli compile --fqbn arduino:mbed_nano:nano33ble --build-cache-path /tmp --output-dir /tmp/96974486/build --build-path /tmp/arduino-build-5B39FB79F8191BFDDA35F9BC9B4A83C5 /tmp/96974486/sketch_nov27a
WARNING: library LiquidCrystal I2C claims to run on avr architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
Sketch uses 97456 bytes (9%) of program storage space. Maximum is 983040 bytes.
Global variables use 46200 bytes (17%) of dynamic memory, leaving 215944 bytes for local variables. Maximum is 262144 bytes.
Upload started
Programming with: Serial
Restarting in bootloader mode
Flashing with command:C:/Users/DELL/.arduino-create/arduino/bossac/1.9.1-arduino2/bossac.exe -d --port=COM5 -U -i -e -w C:/Users/DELL/AppData/Local/Temp/arduino-create-agent2026046835/sketch_nov27a.bin -R
Set binary mode
Send auto-baud
Set binary mode
version()=
Connected at 115200 baud
SAM-BA operation failed
There is absolutely no point in trying to upload to your board with any board other than "Arduino Nano" selected because it can never work with one of the other boards selected.
Please try this experiment and then report back with the results:
This procedure is not intended to solve the problem. The purpose is to gather more information.
Connect the Arduino board to your computer with a USB cable.
Press and release the button on the Arduino board that is marked "RESET".
Now please reply here on the forum thread with the answers to the following questions:
Did you see the LED marked "L" on the board blink immediately after you released the "RESET" button?
Did the LED blink only once, or did it blink multiple times quickly immediately after releasing the button?
@ptillisch
I've tried what you said, and the L Lamp flicked just once.
In addition I used another laptop with the stand alone Arduino IDE,
I chose Arduino Nano, And Tried upload the sketch and it gave this error message.
FQBN: arduino:avr:nano
Using board 'nano' from platform in folder: C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Detecting libraries used...
C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\sketch\sketch_nov27xxxx.ino.cpp -o nul
Alternatives for LiquidCrystal_I2C.h: [LiquidCrystal I2C@1.1.2]
ResolveLibrary(LiquidCrystal_I2C.h)
-> candidates: [LiquidCrystal I2C@1.1.2]
C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs -Ic:\Users\DRMINA2019\OneDrive\apps\libraries\LiquidCrystal_I2C C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\sketch\sketch_nov27xxxx.ino.cpp -o nul
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs -Ic:\Users\DRMINA2019\OneDrive\apps\libraries\LiquidCrystal_I2C -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\sketch\sketch_nov27xxxx.ino.cpp -o nul
Alternatives for Keypad.h: [Keypad@3.1.1]
ResolveLibrary(Keypad.h)
-> candidates: [Keypad@3.1.1]
C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs -Ic:\Users\DRMINA2019\OneDrive\apps\libraries\LiquidCrystal_I2C -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -Ic:\Users\DRMINA2019\OneDrive\apps\libraries\Keypad\src C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\sketch\sketch_nov27xxxx.ino.cpp -o nul
Using cached library dependencies for file: c:\Users\DRMINA2019\OneDrive\apps\libraries\LiquidCrystal_I2C\LiquidCrystal_I2C.cpp
Using cached library dependencies for file: C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\Wire.cpp
Using cached library dependencies for file: C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src\utility\twi.c
Using cached library dependencies for file: c:\Users\DRMINA2019\OneDrive\apps\libraries\Keypad\src\Key.cpp
Using cached library dependencies for file: c:\Users\DRMINA2019\OneDrive\apps\libraries\Keypad\src\Keypad.cpp
Generating function prototypes...
C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs -Ic:\Users\DRMINA2019\OneDrive\apps\libraries\LiquidCrystal_I2C -IC:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire\src -Ic:\Users\DRMINA2019\OneDrive\apps\libraries\Keypad\src C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\sketch\sketch_nov27xxxx.ino.cpp -o C:\Users\DRMINA2019\AppData\Local\Temp\3453690401\sketch_merged.cpp
C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\DRMINA2019\AppData\Local\Temp\3453690401\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\eightanaloginputs" "-Ic:\\Users\\DRMINA2019\\OneDrive\\apps\\libraries\\LiquidCrystal_I2C" "-IC:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "-Ic:\\Users\\DRMINA2019\\OneDrive\\apps\\libraries\\Keypad\\src" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\sketch\\sketch_nov27xxxx.ino.cpp" -o "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\sketch\\sketch_nov27xxxx.ino.cpp.o"
Compiling libraries...
Compiling library "LiquidCrystal I2C"
"C:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino" "-IC:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\eightanaloginputs" "-Ic:\\Users\\DRMINA2019\\OneDrive\\apps\\libraries\\LiquidCrystal_I2C" "-IC:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries\\Wire\\src" "-Ic:\\Users\\DRMINA2019\\OneDrive\\apps\\libraries\\Keypad\\src" "c:\\Users\\DRMINA2019\\OneDrive\\apps\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp" -o "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp.o"
Compiling library "Wire"
Using previously compiled file: C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\libraries\Wire\Wire.cpp.o
Using previously compiled file: C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\libraries\Wire\utility\twi.c.o
Compiling library "Keypad"
Using previously compiled file: C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\libraries\Keypad\Keypad.cpp.o
Using previously compiled file: C:\Users\DRMINA2019\AppData\Local\Temp\arduino\sketches\2D364F2D18FCB13875032CCB8C239F0A\libraries\Keypad\Key.cpp.o
Compiling core...
Using precompiled core: C:\Users\DRMINA2019\AppData\Local\Temp\arduino\cores\arduino_avr_nano_cpu_atmega328_8c3cdcb7b1205bc66fdd17ef3f18861d\core.a
Linking everything together...
"C:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A/sketch_nov27xxxx.ino.elf" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\sketch\\sketch_nov27xxxx.ino.cpp.o" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp.o" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\libraries\\Wire\\utility\\twi.c.o" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\libraries\\Keypad\\Key.cpp.o" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A\\libraries\\Keypad\\Keypad.cpp.o" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A/..\\..\\cores\\arduino_avr_nano_cpu_atmega328_8c3cdcb7b1205bc66fdd17ef3f18861d\\core.a" "-LC:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A" -lm
"C:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A/sketch_nov27xxxx.ino.elf" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A/sketch_nov27xxxx.ino.eep"
"C:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A/sketch_nov27xxxx.ino.elf" "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A/sketch_nov27xxxx.ino.hex"
Using library LiquidCrystal I2C at version 1.1.2 in folder: C:\Users\DRMINA2019\OneDrive\apps\libraries\LiquidCrystal_I2C
Using library Wire at version 1.0 in folder: C:\Users\DRMINA2019\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\Wire
Using library Keypad at version 3.1.1 in folder: C:\Users\DRMINA2019\OneDrive\apps\libraries\Keypad
"C:\\Users\\DRMINA2019\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\DRMINA2019\\AppData\\Local\\Temp\\arduino\\sketches\\2D364F2D18FCB13875032CCB8C239F0A/sketch_nov27xxxx.ino.elf"
Sketch uses 10070 bytes (32%) of program storage space. Maximum is 30720 bytes.
Global variables use 822 bytes (40%) of dynamic memory, leaving 1226 bytes for local variables. Maximum is 2048 bytes.
Failed uploading: no upload port provided