Arduino Nano Error

I was uploding my code to an Arduino nano (with ch340g driver) and I get this error message:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x49
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6e
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x74
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x61
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6c
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x7a
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x69
An error occurred while uploading the sketch

I am having a windows 10 pc and I have tried installing the ch340g driver and the system is also recognizing the board in the coms and ports menu in computer management but I'm still getting this error.

I've also tried restarting my pc several times and have also checked the right com port selected.

Please help me out!!!

Select Tools > Processor > ATmega328p (Old Bootloader) and then try uploading again.

Thanks a lot!!!! :slight_smile: :slight_smile: :slight_smile:
It worked!!!!

You're welcome. I'm glad to hear it's working now. Enjoy!
Per