Mega2560 board upload fails

OK, so this tell us:

The ATmega16U2 is receiving data from the computer

There is a failure somewhere in this pipeline:

  1. Conversion of the received USB data to serial
  2. Output of the signal on the ATmega16U2's TX pin
  3. Solder joint between the pin and the pad on the Mega's PCB
  4. Traces on the Mega's PCB
  5. Solder joint between the plated through hole on the Mega's PCB and the RX0 pin on the header
  6. Contact between the RX0 pin on the header and the jumper wire.
  7. Jumper wire.
  8. Contact between the jumper wire and the TX1 pin on the header.
  9. Solder joint between the TX1 pin on the header and the plated through hole on the Mega's PCB.
  10. Traces on the Mega's PCB
  11. Solder joint between pad on the Mega's PCB and the ATmega16U2's RX pin
  12. Read of the signal on the pin.

You know it got as far as (1) because of the RX LED blink and I believe if it had gotten any farther than (12) then you would have seen the TX LED blink.

The easy part of the pipeline to check is the jumper wire continuity. They do sometimes get internal breaks so it is worth a quick check either of the wire or swapping in another one.

1 Like