Timeout communicating with Programmer Error Help

Hi. I am currently using Arduino Nano R3 which is a type of Arduino Mega ADK. When i try to upload my code, i get the the following error:

Sketch uses 8294 bytes (3%) of program storage space. Maximum is 253952 bytes.
Global variables use 358 bytes (4%) of dynamic memory, leaving 7834 bytes for local variables. Maximum is 8192 bytes.
"C:\Users\Bernardo Carlo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\Bernardo Carlo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega2560 -cwiring "-PCOM3" -b115200 -D "-Uflash:w:C:\Users\Bernardo Carlo\AppData\Local\Temp\arduino-sketch-DBF0F1D7B2965F6601031771BBCE7815/mainCode_Gas_Analyzer.ino.hex:i"

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Users\Bernardo Carlo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM3
     Using Programmer              : wiring
     Overriding Baud Rate          : 115200

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.

Failed uploading: uploading error: exit status 1

I want to know what wrong and how to fix and I would appreciate your support. Thank you and have a nice day.

No, it isn't. A Nano R3 is ATmega328p based while an Arduino Mega ADK is ATmega2560 based.

As these use different upload protocols, your upload doesn't work.

Hello and thank you for replying. I am aware of the differences however I used Arduino IDE to find out what type my board is and the software shows that it is AtMega ADK. Even though the board I’m using and bought is Arduino nano r3, the Arduino IDE identifies it as Arduino ATMega ADK. Asides from that, are there any other possible reason why my code won’t and there is a timeout error?

In the IDE you have to select a board. The IDE cannot autoselect the board. Please select "Arduino Nano" as the board and try the upload again.

Adding to that, @curiousindo might have to try the different processor options when selecting Nano.