Arduino Leonardo - Blink

Sir, * I have Arduino Leonardo (recently bought). * LED is flashing on Arduino board as soon, as USB cable is plugged in.

  • I am using Ubuntu.11.10
  • In the software I have selected the Board as Arduino, the port as /dev/ttyS0 and the programmer I left the default as AVRISPmkII
  • I could successfully compile the simple blink example
  • But when i upload things it gives some error shown below. Please help on that ... I am so sad with this..

avrdude: Version 5.11, compiled on Sep 7 2011 at 19:34:16 * Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/* * Copyright (c) 2007-2009 Joerg Wunsch* * System wide configuration file is "/home/sherin/Downloads/arduino-1.0.1/hardware/tools/avrdude.conf"* * User configuration file is "/home/sherin/.avrduderc"* * User configuration file does not exist or is not a regular file, skipping* * Using Port : /dev/ttyS0* * Using Programmer : avr109* * Overriding Baud Rate : 57600* * AVR Part : ATmega32U4* * Chip Erase delay : 9000 us* * PAGEL : PD7* * BS2 : PA0* * RESET disposition : dedicated* * RETRY pulse : SCK* * serial program mode : yes* * parallel program mode : yes* * Timeout : 200* * StabDelay : 100* * CmdexeDelay : 25* * SyncLoops : 32* * ByteDelay : 0* * PollIndex : 3* * PollValue : 0x53* * Memory Detail :* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * eeprom 65 10 8 0 no 1024 8 0 9000 9000 0x00 0x00* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00* * Block Poll Page Polled* * Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack* * ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------* * signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00* * Programmer Type : butterfly* * Description : Atmel AppNote AVR109 Boot Loader* Connecting to programmer: .avrdude: Send: . [1b] avrdude: Send: S [53] avrdude: ser_recv(): programmer is not responding avrdude: butterfly_recv(): programmer is not responding

Before trying to upload your code, wait for the LED L to stop Breathing. It takes at least 5 seconds to stop. Then see if it starts Blinking (Factory default). Then only upload your code. (Also check if your Serial port remains the same).