Mac OS X
Arduino IDE
I was able to upload the program to the Arduino Leonardo board before, but I don't know what have been changed to the board after I used visual micro to set breakpoint. And the program cannot be uploaded any more. Below is the message when uploading. Thanks for help.
Arduino: 1.6.3 (Mac OS X), Board: "Arduino Leonardo"
avrdude: Version 6.0.1, compiled on Mar 30 2015 at 12:15:29
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg WunschSystem wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/xinpengyu/.avrduderc"
User configuration file does not exist or is not a regular file, skippingUsing Port : /dev/cu.usbmodem1421
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 20 4 0 no 1024 4 0 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot LoaderConnecting to programmer: .
Found programmer: Id = "VMDPV_1"; type = E
Software Version = V.M; Hardware Version = D.P
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.