[Top][All Lists]

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

Re: [avr-chat] Config AVRDUDE for ATmega8U2

From: Jeff Keyzer
Subject: Re: [avr-chat] Config AVRDUDE for ATmega8U2
Date: Thu, 24 Mar 2011 18:36:07 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9


I'm not sure where I saw the parameter "at90usb82". Probably on avrfreaks (?). I don't think the avrdude online documentation is necessarily up to date.

I also don't know if the shorter version will work - easy to try though!

Good luck.

Jeff Keyzer
MightyOhm Engineering

On 3/24/2011 6:31 PM, Henry Schwarz wrote:

Thanks very much for your reply. I am also using version 5.10. I will try the command line that you suggested.

I was pleased to see that your programmer is based on the USBtinyISP (I assume from "-c usbtiny") since I was a little concerned that SparkFun says they have only really tested their programmer with the ATmega168 and ATmega328.

I was wondering where you obtained the option "-p at90usb82" from, since it is not listed at http://www.nongnu.org/avrdude/user-manual/avrdude_4.html, but then I actually read that page more thoroughly and saw that "-p ?" lists all supported devices, and I see it there.

BTW, can "-p at90usb82" and "-p usb82" be used interchangeably? I would have thought that the symbolic text in the first column ("usb82") should be used, rather than the more verbose text in the second column ("at90usb82").

Thanks again,

On 3/24/2011 5:00 PM, Jeff Keyzer wrote:

I have programmed the ATmega8U2 with

"avrdude -c usbtiny -p at90usb82 -F -U flash:w:file.hex"

What version of avrdude are you using? I am using 5.10.

Jeff Keyzer
MightyOhm Engineering

On 3/24/2011 4:51 PM, Henry Schwarz wrote:

Hi. I am trying to program the ATmega8U2 on an Arduino Uno
(http://arduino.cc/en/Main/ArduinoBoardUno) using the 8U2's ICSP
interface. I would like to use AVRDUDE and SparkFun's Pocket AVR
Programmer (http://www.sparkfun.com/products/9825).

However, the ATmega8U2 is not listed as a supported device for
AVRDUDE, at least according to the list of parts at

I would have tried AT90USB82, as recommended for the Atmel Flip DFU
programmer (http://arduino.cc/en/Hacking/DFUProgramming8U2) but that
too is not listed.

The discussion at
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=91943 suggests
using the -F switch to disable signature checking, and to then use
AT90USB162 which apparently is compatible, but again, that part does
not seem to be listed as a supported device.

This link (http://forums.adafruit.com/viewtopic.php?f=24&t=19357) from
2007 discusses this question, but they don't say that they
successfully tested their recommended config.

Any suggestions on the best way to proceed?

(To avoid confusion, note that the Arduino Uno's main micro is an
ATmega328, with a 6-pin ICSP header. The ATmega8U2 on the Uno is a
co-processor used for USB apps, with its own separate 6-pin ICSP header.)

Thanks very much,

AVR-chat mailing list

reply via email to

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