Hi.
I Have Arduino Nanno V3 and when I want to Upload the program to the chip it gives me this error when uploading:
Sketch uses 936 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\Javad\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.0.1-arduino5/bin/avrdude" "-CC:\Users\Javad\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.0.1-arduino5/etc/avrdude.conf" -v -patmega328p -carduino -PCOM6 -b57600 -D "-Uflash:w:C:\Users\Javad\AppData\Local\Temp\arduino\sketches\5A53F1FFF1F5FE4D4EE2B48D5DAFF517/sketch_jun23a.ino.hex:i"
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Users\Javad\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.0.1-arduino5/etc/avrdude.conf"
Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e950f
avrdude: reading input file "C:\Users\Javad\AppData\Local\Temp\arduino\sketches\5A53F1FFF1F5FE4D4EE2B48D5DAFF517/sketch_jun23a.ino.hex"
avrdude: writing flash (936 bytes):
Writing | ################################################## | 100% 0.51s
avrdude: 936 bytes of flash written
avrdude: verifying flash memory against C:\Users\Javad\AppData\Local\Temp\arduino\sketches\5A53F1FFF1F5FE4D4EE2B48D5DAFF517/sketch_jun23a.ino.hex:
avrdude: load data flash data from input file C:\Users\Javad\AppData\Local\Temp\arduino\sketches\5A53F1FFF1F5FE4D4EE2B48D5DAFF517/sketch_jun23a.ino.hex:
avrdude: input file C:\Users\Javad\AppData\Local\Temp\arduino\sketches\5A53F1FFF1F5FE4D4EE2B48D5DAFF517/sketch_jun23a.ino.hex contains 936 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.43s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0040
0x00 != 0x0c
avrdude: verification error; content mismatch
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
I upload the blink sample then when Upload finished (with Error), the program successfully works on board...
I don't know why I get this error.
is this cause a problem later?
how can I get rid of it?
I try to Install Arduino AVR Boards Package Version 1.8.6 which is the latest version.
does not detect the Arduino Nano on USB Port COM6...
I Don't know why ????
I cannot Burn the Bootloader and it gives me this error...
but when I install the 1.6.10 Version, it recognizes the board...
also, I have Arduino Mega but no Problem with Uploading and working with...
this problem is only for Arduino Nano...
but still, this Error was caused.
also, I see something strange on the board behavior, I Program another code (Blink) earlier that blinks the LED at 5000 milliseconds. after causing this Error, seems like this Program still runs at the beginning of the operation and then operates as a new sketch that I program blink 100 milliseconds...
seems the Previous program is still on the chip and I can't change it from the board...
this is just a guess
this is the picture of my board:
and this is the cable that I use:
IDE Version: 2.1.0
Processor: ATmega 328
Programmer: Arduino as ISP
OS: Windows 10