عدم آپلود فایل کد به روی arduino nano R3

با سلام.

وقتی کد من کامپایل میشه و به مرحله ی آپلود میرسه. حدود چند دقیقه زمان میبره و در نهایت هم کد رو آپلود نمیکنه. و متن زیر رو ارور میده. در حالی که همیشه اینطور نیست و گاهی اوقات هم فایل رو آپلود میکنه.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xff
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xff
Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

با تشکر

سلام

لطفا یه اسکرین کامل از صفحه کد قرار بدید.

 

تو این قسمت طبق تصویر زیر ، گزینه old bootloader رو انتخاب کنید

 

همون طور که میفرمایید ، اگر همیشه اینطور نیست ، مشکل از کابل usb  تونه یا پورته ، سعی کنید با پورت های متفاوت تست کنید یا کابل رو عوض کنید

ممنون از پاسختون.
تصویر رو به متن سوال اضافه کردم

درسته اما گاها حتی وقتی old bootloader هم انتخاب میکنم با ارور مواجه میشم هنگام آپلود.

در انتها عرض کردم که کابل و پورت رو هم چک کنید