COMx = Serial-Port, e.g. COM1
Pro Mini: avrdude -c arduino -p m328p -P COMx -b 57600
Duemilanove: avrdude -c arduino -p m328p -P COMx -b 57600
Uno: avrdude -c arduino -p m328p -P COMx -b 115200
Mega: avrdude -c arduino -p m1280 -P COMx -b 57600
Mega2560: avrdude -c wiring -p m2560 -P COMx -b 115200
Arduino as ISP: avrdude -c stk500v1 -p m328p -P COMx -b 19200
On problems with a Mega2560 under Windows run the following command before avrdude (at best with a .bat file). This triggers a reset and starts the bootloader.
mode COMx dtr=on
or avrdude -c arduino -p m2560 -P COMx
If there are communication problems, like a wrong device signature, check the wiring and ISP speed (parameter -B 10
sets the speed to 100kHz).
Always ensure that the AVR-Dragon is powered (USB connection) when connected to a target system.
The AVR-Dragon hardware is very sensitive to improper handling.
On problems, in most cases one (1) or both (1 & 2) analog switches are defective:
On a wrong handling in most cases one of the switching regulators with the marking BBO 93W Z264 or BBO 93W Z265 becomes defective. These are TI TPS62040.
If you have driver errors with Atmel EDBG programming/debugging interface under VMware (virtual machine), then try to enable the following option: VM -> Settings -> USB Controller -> Show all USB input devices
Connect the LPC-Link to the USB-Port.
Then the Device Manager will display USB Device with DFU Capabilities.
If not install the drivers from <LPCXpresso_install_dir>\Drivers\DFU
Open a Command Prompt (cmd.exe) and enter the following commands
cd <LPCXpresso_install_dir>\lpcxpresso\bin\Scripts
for Windows XP
bootLPCXpresso winusb
for Windows Vista / 7 / 8 / 10
bootLPCXpresso hid
If bootLPCXpresso is not working try a longer timeout. For this search in the file for the line
"%BOOT_HOME%\..\dfuapp" /f "%BOOT_HOME%\..\%ROM%" /tl 250 /l dfuapp.log
and change it to
"%BOOT_HOME%\..\dfuapp" /f "%BOOT_HOME%\..\%ROM%" /tl 500 /l dfuapp.log
The Device Manager will display LPC-Link Debug Probe if the firmware loading was successful.
If not install the drivers from <LPCXpresso_install_dir>\Drivers\LPC-Link