hello!!
I am not able to upload any code to arduino nano using upload icon available on arduino IDE tool bar.
when i tried to upload using AVRDUDE and ICSP i got error that
device signature : 0x1e 0x95 0x14
expected : 0x1e 0x95 0x0F
avrdude command :
avrdude -P com4 -b 19200 -c avrisp -p m328p -v -e -U lfuse:r:0xFF:m
avrdude -P com4 -b 19200 -c avrisp -p m328p -v -e -U flash:w:blink.hex -U lock:w:0x0F:m
Also i tried to change the device signature from 0x1e 0x95 0x0F to 0x1e 0x95 0x14 under m328p part id of avrdude.conf file.
but still result is same. kindly suggest where i am making a mistake.?
signature 1E 95 14 is the ATmega328 without the P.
signature 1E 95 0F is the ATmega328P with the P.
The 'P' is the PicoPower version.
The Arduino version is the one with the 'P'. The other one is not supported by Arduino and you would also need another bootloader. Did you buy a cheap clone on Ebay ?
Did you buy a cheap clone on Ebay ?
No, i have original arduino nano v3.0.
last time i programmed nano using avrdude with out any problem, using the same avr dude command(written in first post ), afterwards it is not able to upload any code even with IDE and avrdude.
You select the 'P' version with "-p m328p", so it expects to read the signature of the 'P' version.
According to boards.txt and the photos of the official Nano it should be the 'P' version.
Can you check with a magnifier if you can see the 'P' on the chip ?
Perhaps you can use the option "-p m328" instead of "-p m328p".
You can run avrdude without specific commands and -vvv to check.
yes!! arduino nano contain MEGA 328P named processor
and i tried with -p m328 but avrdude put a notification that it does not contain any m328 processor.
When it has written 'P' on it, the signature should be 1E 95 0F.
Can you try the newest avrdude ?
Or do you program one Arduino with another, and you are looking at the wrong board ?
Somewhere something must be wrong.
When it has written 'P' on it, the signature should be 1E 95 0F.
yes. i agree
Can you try the newest avrdude ?
not till now
Or do you program one Arduino with another, and you are looking at the wrong board ?
My programming connection is right, because with same connection i had programmed nano earlier and
followed below tutorial link for programming
You can run avrdude without specific commands and -vvv to check.
this time after making changes in .conf file. i restarted the computer after that Nano start receiving the instruction.
i think restarting the computer works for me..!
So it is still a magical unknown cause ? Well, it's working now XD