avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] What -c programmer name and parameters for an AVRISP MKII USB


From: Ray Pasco
Subject: [avr-chat] What -c programmer name and parameters for an AVRISP MKII USB programmer ?
Date: Fri, 28 Sep 2012 16:32:29 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

What is the proper avrdude programmer name parameter (and other command line parameters ?) for the AVRISP MKII USB programmer ?

I have a brand new AVRISP MKII USB programmer on a Win 7 system that avrdude can't talk to.  The documentation says this programmer name is an alias for the stk500, but that programmer is a serial port programmer.

Isn't this programmer a clone of the STK600 board USB programmer ? When using this "stk600" programmer name parameter avrdude reports "avrdude.exe: ser_open(): can't open device "lpt1": The system cannot find the file specified.". Obviously, this error message is bogus in several ways.

This MKII has the latest firmware programmed into it by Studio 6 on another Win 7 system. Studio 6 can burn programs using this MKII programmer.  I also have an USBTiny USB programmer that works fine with avrdude.

I get this output from avrdude:

> avrdude.exe  -vvvvvv -V -y -p atmega16  -c avrispmkII  -U flash:w:Test.M16.hex

avrdude.exe: Version 5.10, compiled on Jan 19 2010 at 10:45:23
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"

             Using Port                    : com1
             Using Programmer              : avrispmkII
avrdude.exe: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
^C




reply via email to

[Prev in Thread] Current Thread [Next in Thread]