0

I need your help. I designed a board based on the Arduino ATMEGA 2560. I am getting the follow message when I try to upload a sketch to my board.

 avrdude: ser_drain(): read error: The device does not recognize the command.

 avrdude: ser_send(): write error: sorry no info avail

 avrdude: stk500_send(): failed to send command to serial port

 avrdude: ser_recv(): read error: The device does not recognize the command.

 avrdude: stk500v2_ReceiveMessage(): timeout

 avrdude: ser_send(): write error: sorry no info avail

 avrdude: stk500_send(): failed to send command to serial port

 avrdude: ser_recv(): read error: The device does not recognize the command.

I've flashed the boot loader and USB firmware on the ATMEGA16AU, and read it back. Also, it appears I am able to read back the ATMEGA 2560 in the Arduino IDE.

enter image description here

And it shows up under device manager:

enter image description here

Can you help me understand and resolve why I am seeing these error messages?

5
  • So it seems as if the USB device part is correct. Did you select the right bootloader? The log tells us that avrdude uses the STK500 protocol. Did you try other protocols? Sep 17 at 6:51
  • 2
    did you burn the bootloader?
    – Juraj
    Sep 17 at 7:42
  • Juraj...yes I burned a bootloader, but I'm not confident it is the correct one. I used a bootloader from the Arduino Hardware Directory.
    – fijismart
    Sep 17 at 16:21
  • Hi Busybee...I went back and attempted to load the STK500 bootloader, but it was a no go. It is looking for a specific block of memory which is not available on the ATMEGA16U2.
    – fijismart
    Sep 17 at 16:23
  • The STK500 bootloader goes on the ATMega2560...!
    – Majenko
    Sep 18 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.