avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Newbie problems with JTAG ICE MK2 and AVRISP MK2


From: Dave N6NZ
Subject: Re: [avrdude-dev] Newbie problems with JTAG ICE MK2 and AVRISP MK2
Date: Tue, 29 Aug 2006 20:22:30 -0700
User-agent: Thunderbird 1.5 (X11/20051201)

What causes usb_bulk_read() to get connection time outs???

-dave

address@hidden:~/robot/libcleddemo$ avrdude -v -v -v -v -c jtag2 -B 8 -p atmega32 -P usb -U fuse:r:fuse.txt

avrdude: Version 5.1
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "/usr/local/atmel/avrdude/etc/avrdude.conf"
         User configuration file is "/home/dave/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

         Using Port            : usb
         Using Programmer      : jtag2
         Setting bit clk period: 8.0
avrdude: jtagmkII_open()
avrdude: usbdev_open(): Found JTAGICE mkII, serno: 00A000004986
avrdude: jtagmkII_getsync()
avrdude: jtagmkII_getsync(): Sending sign-on command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . [00] . [0e] . [01] . [f3] . [97]
avrdude: jtagmkII_recv():
avrdude: usb_fill_buf(): usb_bulk_read() error error reading from bulk endpoint 0x82: Connection timed out
avrdude: jtagmkII_recv(): Timeout receiving packet
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): Sending sign-on command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . [00] . [0e] . [01] . [f3] . [97]
avrdude: jtagmkII_recv():
avrdude: usb_fill_buf(): usb_bulk_read() error error reading from bulk endpoint 0x82: Connection timed out
avrdude: jtagmkII_recv(): Timeout receiving packet
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): Sending sign-on command:
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . [00] . [0e] . [01] . [f3] . [97]
avrdude: jtagmkII_recv():



Dave N6NZ wrote:
So... I am finally getting to the point of trying to stuff bits into an AVR, but can't make the last inch.

Using avrdude with avrisp2:

$avrdude -c avrisp2 -p atmega32 -P usb -e -U flash:w:demo.hex
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive
avrdude: stk500v2_recv_mk2: error in USB receive

and with jtag ice mk2:
$avrdude -c jtag2 -p atmega32 -P usb -e -U flash:w:demo.hex
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1

It is possible that I still have an issue with the Linux hotplug system, but I think I have the permission issues straightened out.

Using avrdude 5.1, Linux, Slackware 10.2

TIA,
  Dave


_______________________________________________
avrdude-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avrdude-dev






reply via email to

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