Connection parameters for Arduino Boards

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).


Firmware Recovery

  1. Disconnect the AVRISP from target and unplug the USB cable.
  2. Open the AVRISP by pressing on the 4 plastic clips (on the bottom) that holds the top and bottom parts of the enclosure together.
  3. Short-circuit Pin 1 and Pin 3 on the pinholes next to the USB jack: AVR-ISP
  4. Insert the USB cable. The AVRISP should now start blink red and orange
  5. Run AVR-Studio and select in the menu Tools -> AVRISP mkII Upgrade.
  6. Follow the instructions…
  7. When the upgrade is finished, unplug the AVRISP from USB and remove the short-circuit between Pin 1 and Pin 3.


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: AVR-Dragon


Firmware Recovery

  1. Power off the STK600 and remove all routing cards and targets
  2. Hold down the Program button and power on
  3. Run AVR-Studio and select in the menu Tools -> STK600 Upgrade
  4. Follow the instructions…

Switching Regulators

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


Manual Firmware Update

  1. 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

  2. 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
  3. 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