upload error

hi,
I am having an issue while uploading code from a few days.

error : 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
An error occurred while uploading the sketch

Have a look at the guide above this post .

(deleted)

Yes, the port is correct I am using Arduino from few years.
Board is Arduino mega 2560
I am using window 10 operating system which gets updates on routine.

Uploaded code without any error :slight_smile:
The problem might be due to Bluetooth connected

Now another error: Error opening serial port 'COM4'. (Port busy)
Error opening serial port 'COM4'. (Port not found)
Error opening serial port 'COM4'. (Port not found)

:confused:

Ransher:
The problem might be due to Bluetooth connected

Are you saying you have a Bluetooth module connected to pins 0 and 1 of your Mega?