Problem on a Program uploading.

Hello,

i Was Purchased two Arduino nano board on to the element14. i was got these board on a time.
but Whenever i was uploading the program they always shows me the error of [problem uploading to board].

please guys guide me or Help me How can i resolve these error ?

Best Regards,
Seggi.

There are more details in that error message. Please post the complete message if beliw does not help.

Did you select the correct com port in the IDE?
2)
Is the board recognised in Windows device manager or the Linux/mac equivalents.
3)
If the board is a clone or older original, select the "old boot loader" option in the tools -> processor menu
4)
If your tools -> processor menu does not have the "old boot loader" option and if the board is a 2018 original, you will have to upgrade the board manager to version 1.6.21 or newer.

Hello sterretje,

Yes, i have selected the right com port .
Processor is also right.
but whenever i am trying for uploading the project i am getting the error messages like the

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xb5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xb5
problem to uploading board.

please Help me to resolve this issue or error.

Best Regards,
seggi.

How about (3) and (4) in my previous reply?

on the tools > processor try to select old bootloader maybe it will be ok

sterretje:
How about (3) and (4) in my previous reply?

99% likely this is the solution - they changed the bootloader on official boards produced after early 2018. Clones and older official boards use the old bootloader. Uploading with the IDE set to the wrong bootloader version will result in the error which you have posted (though so can a variety of other issues).

Why do people read half of an answer and then ignore the rest? We don't type out all that text you ignored for fun!

Hello ,

on Tools > processor they only shows the processors i.e. only the ATmega328P and ATmega168 they don't show the newer or older bootloader option.

Please Help to Resolve the issue.

Best Regards,
seggi.

Do this:

  • Tools > Board > Boards Manager
  • Wait for downloads to finish.
  • Click on "Arduino AVR Boards".
  • Click "Update".
  • Wait for update to finish.
  • Click "Close".

As was written above, it is likely difference between upload speed and the speed defined in the bootloader. You have two choices:

  1. to use appropriate speed for uploading - except of the solution offered by @pert; you can change the speed in the boards.txt (..\hardware\arduino\avr\boards.txt)
    .upload.speed=57600 or 115200 and vice versa
  2. to replace the bootloader for appropriate speed

EDIT: Old bootloader is for 57600baud, the new one is for 115200.

Budvar10:
As was written above, it is likely difference between upload speed and the speed defined in the bootloader. You have two choices:

  1. to use appropriate speed for uploading - except of the solution offered by @pert; you can change the speed in the boards.txt (..\hardware\arduino\avr\boards.txt)
    .upload.speed=57600 or 115200 and vice versa
  2. to replace the bootloader for appropriate speed

EDIT: Old bootloader is for 57600baud, the new one is for 115200.

Don't go editing the boards.txt - just use board manager as pert instructed. Changing boards.txt may not even resolve the problem because if you have previously used board manager, that copy of boards.txt is not even used. Additionally, on windows by default it is installed to a "protected" location where windows will do weird things when you try to change it.