3
\$\begingroup\$

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?
Renan
5,1552 gold badges29 silver badges46 bronze badges
asked Aug 29, 2012 at 13:00
\$\endgroup\$
6
  • 1
    \$\begingroup\$ Why are you selecting Arduino UNO when you are using a Leonardo? The third sentence in the link you provided states, "you must choose Arduino Leonardo from the Tools > Board menu in the Arduino IDE" \$\endgroup\$ Commented Aug 29, 2012 at 14:08
  • 1
    \$\begingroup\$ There is no Arduino Leonardo in the > Tools. \$\endgroup\$ Commented Aug 29, 2012 at 14:34
  • 3
    \$\begingroup\$ Which version of the IDE do you have? You need 1.0.1 for it to work properly with the Leonardo. See here Reply #6 in particular. But read the whole thread as it seems similar to your problem. \$\endgroup\$ Commented Aug 29, 2012 at 15:01
  • \$\begingroup\$ Yes, Thank you for that, i missed it. But, i am unable to upload the Blink code to the board. It says Uploading... nearly for 3 mins, and then printed an error message which i have added it as an Update in the post above. \$\endgroup\$ Commented Aug 29, 2012 at 16:05
  • \$\begingroup\$ Did you try reburning the firmware as talked about in Reply #3 in the above link? Or are you by chance using a USB 3.0 port as was the problem here? \$\endgroup\$ Commented Aug 29, 2012 at 17:19

1 Answer 1

1
\$\begingroup\$

Things to check:

  1. 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.
  2. Have you reburned the firmware for the Leonardo? See Reply #3 from the above mentioned thread.
  3. 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.
answered Aug 29, 2012 at 19:39
\$\endgroup\$

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.