I have a Arduino Leonardo
board. and i get an error : avrdude: stk500_getsync(): not in sync: resp: resp=0X54
I have downloaded the Arduino environment from here. I am on my Mac.
I selected the Arduino Board as Arduino UNO, and the serial Port as /dev/tty.usbmodemfd121
and when i click on the upload button i get the error message avrdude: stk500_getsync(): not in sync: resp: resp=0X54
.
When I click on the reset button, and click on Upload, I get a popup window that says Serial port /dev/tty.usbmodemfd121 not found. Retry the upload with another serial port
.
and in the list of serial ports, i have
/dev/tty.Bluetooth-Modem
/dev/cu.Bluetooth-modem
/dev/tty.iphone-wirelessiAP
/dev/cu.iphone-wirelessiAP
/dev/tty.Bluetooth-PDA-Sync
/dev/cu.Bluetooth-PDA-Sync
What should i do to run my Hello World code ?
UPDATE
Binary sketch size: 4,858 bytes (of a 28,672 byte maximum)
Found programmer: Id = "B ̄ ̃"; type =
Software Version =
avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device?
1 Answer 1
Things to check:
- Are you running version 1.0.1 of the IDE? It is required to interface to the Leonardo. See Reply #6 from this thread in the Arduino forum.
- Have you reburned the firmware for the Leonardo? See Reply #3 from the above mentioned thread.
- Are you using a USB 3.0 interface? If so, using a USB 2.0 cable in a USB 3.0 interface has been known to cause issues. See this thread from Adafruit.
Uploading...
nearly for 3 mins, and then printed an error message which i have added it as an Update in the post above. \$\endgroup\$