avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Using avrdude with Atmel USB dongle


From: dimax un
Subject: Re: [avr-gcc-list] Using avrdude with Atmel USB dongle
Date: Thu, 23 Nov 2006 12:38:36 +0200

Did it.
The result is not good. I still get a delay and error message but also
it stuck in Writing flash. See below. Running it second time did not
produce error in USB device but it still got stuck in Flash writing.
( BTW why expected signature for atmega -s FF FF FF. I have to use -F
flag to work it around )


avrdude -p atmega128 -c avrispmkii -P usb -U flash:w:_output/HT300.hex
-U eeprom:w:_output/HT300.eep -F
found 5 busses
avrdude.exe: stk500v2_recv_mk2: error in USB receive

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude.exe: Device signature = 0x1e9702
avrdude.exe: Expected signature for ATMEGA128 is FF FF FF
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle
will be performed
            To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "_output/HT300.hex"
avrdude.exe: input file _output/HT300.hex auto detected as Intel Hex
avrdude.exe: writing flash (31196 bytes):

Writing | #################################################make: ***
[aprog] Interrupt

Interrupt is CTRL-C I have to press after 10-15 sec of waiting.



On 11/20/06, Joerg Wunsch <address@hidden> wrote:
"dimax un" <address@hidden> wrote:

> Programing is working. But I do not understand why it gets error:
> avrdude.exe: stk500v2_recv_mk2: error in USB receive

Can you try the latest version from CVS?  I changed some things in the
libusb initialization there, and hope that this solved the problems
not only on MacOS X but also under Cygwin.

--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list



--
;-------------------------------------------------------
; Micro connection to the MacroVision
; http://www.xdimax.com
;--------------------------------------------------------




reply via email to

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