Timeout communicating with programmer Mega 2560 R3

Well i bought a arduino mega 2560 R3 from a guy here in my city, the problem here is that no matter how usb port i connect the board its always is connected as COM3. And i tried changed the port in config in devices manager but i could not upload my marlin firmware. Anyone have a solution for this problem ?

That's quite normal.

Did you buy a broken board?

Please enable verbose output during upload, attempt an upload and post the results here. Do not enable verbose output during compilation.

On my other board every USB Port gave me a different COM Port thats why i said that...

I dont know, o tought It was working since It was connecting in my PC

Ok, im gonna try doing that, never did before.

Arduino: 1.8.15 (Windows 10), Placa:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

O sketch usa 5406 bytes (2%) de espaço de armazenamento para programas. O máximo são 253952 bytes.

Variáveis globais usam 482 bytes (5%) de memória dinâmica, deixando 7710 bytes para variáveis locais. O máximo são 8192 bytes.

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cwiring -PCOM3 -b115200 -D -Uflash:w:C:\Users\ALISSO~1\AppData\Local\Temp\arduino_build_118535/ArduinoISP.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:\Program Files (x86)\Arduino\hardware\tools\avr/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.

Ocorreu um erro enquanto o sketch era carregado

Any solutions here ?

What is written on the chip closest to the USB port?

Have you tried the loop-back test? If the above chip is a 8U2 or 16U2, the test should pass; with a FTDI probably as well. For other chips like CH340 the test is non-conclusive.

its a Mega 16U2 chip

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.