avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)


I have this error but I don´t know how to solve it. 

I put on the platformio.ini this:

platform = atmelavr
board = megaatmega2560
framework = arduino
upload_protocol = custom
upload_port = /dev/ttyUSB*
upload_flags =
; use "tool-avrdude-megaavr" for the atmelmegaavr platform
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i

1 comment

Hi! Please check out this StackOverflow answer: https://stackoverflow.com/a/32944999 


Please sign in to leave a comment.