# Unable to programme Arduino Leonardo

**URL:** <https://forum.core-electronics.com.au/t/unable-to-programme-arduino-leonardo/10287>\
**Category:** Support\
**Created:** [28 May 2021 07:03 UTC](https://forum.core-electronics.com.au/t/unable-to-programme-arduino-leonardo/10287 "2021-05-28T07:03:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![John157637](https://avatars.discourse-cdn.com/v4/letter/j/94ad74/32.png) [@John157637](https://forum.core-electronics.com.au/u/John157637)\
**Post date:** [28 May 2021 07:03 UTC](https://forum.core-electronics.com.au/t/unable-to-programme-arduino-leonardo/10287/1 "2021-05-28T07:03:13Z")

</div>

I ordered 6 Arduino Uno R3’s from core a few months back. I opened the first one today and found that you’ve sent me Leonardos instead. Shouldn’t be a problem except that all the USB cables you sent are for the Uno, and not the micro for the leonardo. Anyway I connected the Leonardo up and tried to upload a sketch using the IDE on an Apple MacBook Pro running Mac OS Big Sur 11.4. The port appears as /dev/cv usb.modem 111201 (Arduino Leonardo) and the Board Info appears as follows  
BN: Arduino Leonardo  
VID: 2A03  
PID: 803  
SN: (null)  
I tried uploading a sketch that has worked successfully on a Uno R3, and I’m getting the following error messages  
Arduino: 1.8.13 (Mac OS X), Board: “Arduino Leonardo”

Sketch uses 5086 bytes (17%) of program storage space. Maximum is 28672 bytes.  
Global variables use 155 bytes (6%) of dynamic memory, leaving 2405 bytes for local variables. Maximum is 2560 bytes.  
ioctl(“TIOCMGET”): Device not configured  
avrdude: ser\_drain(): read error: Device not configured  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_drain(): read error: Device not configured  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_drain(): read error: Device not configured  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured

avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 1 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 2 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 3 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 4 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 5 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 6 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 7 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 8 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 9 of 10: not in sync: resp=0x00  
avrdude: ser\_send(): write error: Device not configured  
avrdude: ser\_recv(): read error: Device not configured  
avrdude: stk500\_recv(): programmer is not responding  
avrdude: stk500\_getsync() attempt 10 of 10: not in sync: resp=0x00  
avrdude: ser\_drain(): read error: Device not configured

Can you please assist with getting this to work

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [28 May 2021 08:32 UTC](https://forum.core-electronics.com.au/t/unable-to-programme-arduino-leonardo/10287/2 "2021-05-28T08:32:47Z")

</div>

There is a good description of the difference between Leonardo and UNO [here](https://www.arduino.cc/en/Guide/ArduinoLeonardoMicro), under the heading Please Read. Note in particular the need to include a Serial.begin() in the setup loop, and the special procedure described in the last paragraph
