<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2009</id>
	<title>Nabble - AVR - AVRdude - Dev</title>
	<updated>2009-12-13T04:09:35Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/AVR---AVRdude---Dev-f2009.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AVR---AVRdude---Dev-f2009.html" />
	<subtitle type="html">AVRDUDE is an open source utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP).</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26765564</id>
	<title>[patch #6866] bug #26703: [Feature Request] Support device reset for 'arduino' programmer type</title>
	<published>2009-12-13T04:09:35Z</published>
	<updated>2009-12-13T04:09:35Z</updated>
	<author>
		<name>Mario Castelán Castro</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #12, patch #6866 (project avrdude):
&lt;br&gt;&lt;br&gt;Can I add this feature (I created patches diffing directly the svn files and
&lt;br&gt;5.8 release) to the avrdude macport as a variant?
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?6866&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?6866&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26765564&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--6866--bug--26703%3A--Feature-Request--Support-device-reset-for-%27arduino%27-programmer-type-tp24508826p26765564.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26760666</id>
	<title>Re: writing two Fuse Bytes faild</title>
	<published>2009-12-12T12:02:23Z</published>
	<updated>2009-12-12T12:02:23Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Markus Burrer wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Depending on which programmer you're using, if it's an STK500 like
&lt;br&gt;&amp;gt; &amp;gt; one, you could setup a trace for it under AVR Studio, and have a
&lt;br&gt;&amp;gt; &amp;gt; look what they are doing. &amp;nbsp;See the STK500 (online) documentation.
&lt;br&gt;&lt;br&gt;&amp;gt; I'm using AVRISP mkII.
&lt;br&gt;&lt;br&gt;That counts as &amp;quot;STK500 alike&amp;quot;. &amp;nbsp;It's using the same higher-level
&lt;br&gt;protocol, just on top of an USB transport instead of RS-232 with the
&lt;br&gt;old STK500.
&lt;br&gt;&lt;br&gt;&amp;gt; Maybe it is possible to debug the USB communication?
&lt;br&gt;&lt;br&gt;Yes, as I mentioned: have a look into the STK500 documentation.
&lt;br&gt;Towards the end, there's a debugging hint. &amp;nbsp;IIRC, you can create a
&lt;br&gt;registry entry denoting a log file that logs the entire programmer
&lt;br&gt;communication.
&lt;br&gt;&lt;br&gt;In AVRDUDE, you can see the equivalent of that with -vvvv (four
&lt;br&gt;options &amp;quot;v&amp;quot;).
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760666&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/writing-two-Fuse-Bytes-faild-tp26756252p26760666.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26760644</id>
	<title>Re: writing two Fuse Bytes faild</title>
	<published>2009-12-12T11:59:47Z</published>
	<updated>2009-12-12T11:59:47Z</updated>
	<author>
		<name>burli</name>
	</author>
	<content type="html">Joerg Wunsch schrieb:
&lt;br&gt;&amp;gt; I didn't program AVR Studio, so I don't know. ;-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Depending on which programmer you're using, if it's an STK500 like
&lt;br&gt;&amp;gt; one, you could setup a trace for it under AVR Studio, and have a look
&lt;br&gt;&amp;gt; what they are doing. &amp;nbsp;See the STK500 (online) documentation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;I'm using AVRISP mkII. Maybe it is possible to debug the USB communication?
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760644&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/writing-two-Fuse-Bytes-faild-tp26756252p26760644.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26760584</id>
	<title>Re: writing two Fuse Bytes faild</title>
	<published>2009-12-12T11:49:47Z</published>
	<updated>2009-12-12T11:49:47Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Markus Burrer wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; how does AVR Studio handels this?
&lt;br&gt;&lt;br&gt;I didn't program AVR Studio, so I don't know. ;-)
&lt;br&gt;&lt;br&gt;Depending on which programmer you're using, if it's an STK500 like
&lt;br&gt;one, you could setup a trace for it under AVR Studio, and have a look
&lt;br&gt;what they are doing. &amp;nbsp;See the STK500 (online) documentation.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760584&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/writing-two-Fuse-Bytes-faild-tp26756252p26760584.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26756689</id>
	<title>Re: writing two Fuse Bytes faild</title>
	<published>2009-12-12T03:20:19Z</published>
	<updated>2009-12-12T03:20:19Z</updated>
	<author>
		<name>burli</name>
	</author>
	<content type="html">Joerg Wunsch schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As Markus Burrer wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; If I repeat the same command, both fuse bytes are written
&lt;br&gt;&amp;gt;&amp;gt; successfull. &amp;nbsp;What's wrong here? (I'm using Ubuntu Linux)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I suspect this is due to the latching of fuse byte changes.
&lt;br&gt;&amp;gt; All fuse changes affecting oscillator options are latched
&lt;br&gt;&amp;gt; internally, and deferred until after the current ISP session
&lt;br&gt;&amp;gt; has terminated. &amp;nbsp;That way, one ISP session always operates
&lt;br&gt;&amp;gt; with the same CPU clock source.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; All AVRDUDE -U options are handled within a single ISP session.
&lt;br&gt;&amp;gt; Running a separate command, of course, initiates a new session.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;how does AVR Studio handels this? There it seems to be a single session
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26756689&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/writing-two-Fuse-Bytes-faild-tp26756252p26756689.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26756321</id>
	<title>Re: writing two Fuse Bytes faild</title>
	<published>2009-12-12T02:08:16Z</published>
	<updated>2009-12-12T02:08:16Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Markus Burrer wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; If I repeat the same command, both fuse bytes are written
&lt;br&gt;&amp;gt; successfull. &amp;nbsp;What's wrong here? (I'm using Ubuntu Linux)
&lt;br&gt;&lt;br&gt;I suspect this is due to the latching of fuse byte changes.
&lt;br&gt;All fuse changes affecting oscillator options are latched
&lt;br&gt;internally, and deferred until after the current ISP session
&lt;br&gt;has terminated. &amp;nbsp;That way, one ISP session always operates
&lt;br&gt;with the same CPU clock source.
&lt;br&gt;&lt;br&gt;All AVRDUDE -U options are handled within a single ISP session.
&lt;br&gt;Running a separate command, of course, initiates a new session.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26756321&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/writing-two-Fuse-Bytes-faild-tp26756252p26756321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26756252</id>
	<title>writing two Fuse Bytes faild</title>
	<published>2009-12-12T01:54:10Z</published>
	<updated>2009-12-12T01:54:10Z</updated>
	<author>
		<name>burli</name>
	</author>
	<content type="html">Hi, if I try to write more than one fuse byte with one command, the
&lt;br&gt;second fuse byte fails. For example
&lt;br&gt;&lt;br&gt;avrdude -pm32 -Ulfuse:w:0xff:m -U hfuse:w:0xc9:m
&lt;br&gt;&lt;br&gt;avrdude: AVR device initialized and ready to accept instructions
&lt;br&gt;&lt;br&gt;Reading | ################################################## | 100% 0.00s
&lt;br&gt;&lt;br&gt;avrdude: Device signature = 0x1e9502
&lt;br&gt;avrdude: reading input file &amp;quot;0xff&amp;quot;
&lt;br&gt;avrdude: writing lfuse (1 bytes):
&lt;br&gt;&lt;br&gt;Writing | ################################################## | 100% 0.00s
&lt;br&gt;&lt;br&gt;avrdude: 1 bytes of lfuse written
&lt;br&gt;avrdude: verifying lfuse memory against 0xff:
&lt;br&gt;avrdude: load data lfuse data from input file 0xff:
&lt;br&gt;avrdude: input file 0xff contains 1 bytes
&lt;br&gt;avrdude: reading on-chip lfuse data:
&lt;br&gt;&lt;br&gt;Reading | ################################################## | 100% 0.00s
&lt;br&gt;&lt;br&gt;avrdude: verifying ...
&lt;br&gt;avrdude: 1 bytes of lfuse verified
&lt;br&gt;avrdude: reading input file &amp;quot;0xc9&amp;quot;
&lt;br&gt;avrdude: writing hfuse (1 bytes):
&lt;br&gt;&lt;br&gt;Writing | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| 0% 0.00s
&lt;br&gt;***failed; 
&lt;br&gt;Writing | ################################################## | 100% 0.03s
&lt;br&gt;&lt;br&gt;avrdude: 1 bytes of hfuse written
&lt;br&gt;avrdude: verifying hfuse memory against 0xc9:
&lt;br&gt;avrdude: load data hfuse data from input file 0xc9:
&lt;br&gt;avrdude: input file 0xc9 contains 1 bytes
&lt;br&gt;avrdude: reading on-chip hfuse data:
&lt;br&gt;&lt;br&gt;Reading | ################################################## | 100% 0.00s
&lt;br&gt;&lt;br&gt;avrdude: verifying ...
&lt;br&gt;avrdude: verification error, first mismatch at byte 0x0000
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xc9 != 0x99
&lt;br&gt;avrdude: verification error; content mismatch
&lt;br&gt;&lt;br&gt;avrdude: safemode: hfuse changed! Was c9, and is now 99
&lt;br&gt;Would you like this fuse to be changed back? [y/n] n
&lt;br&gt;avrdude: safemode: Fuses OK
&lt;br&gt;&lt;br&gt;avrdude done. &amp;nbsp;Thank you.
&lt;br&gt;&lt;br&gt;If I repeat the same command, both fuse bytes are written successfull.
&lt;br&gt;What's wrong here? (I'm using Ubuntu Linux)
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Markus
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26756252&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/writing-two-Fuse-Bytes-faild-tp26756252p26756252.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26679801</id>
	<title>Re: Compiling avrdude with libusb</title>
	<published>2009-12-07T07:10:28Z</published>
	<updated>2009-12-07T07:10:28Z</updated>
	<author>
		<name>David Hoerl</name>
	</author>
	<content type="html">I am using this library right now. I posted on it a short while ago. You 
&lt;br&gt;need libusb and a lib-compat that provides glue functions that map into 
&lt;br&gt;the old libusb:
&lt;br&gt;&lt;br&gt;(my previous post)
&lt;br&gt;&lt;br&gt;Sending this for the archives - had good luck getting libusb-1.0.3 and 
&lt;br&gt;the compatibility library (which maps the new library calls into what 
&lt;br&gt;avrdude expects from libusb.0.1). Its seems faster when downloading but 
&lt;br&gt;didn't really measure it.
&lt;br&gt;&lt;br&gt;For OSX Mac users, a note: if you use a portable, as I do, both old and 
&lt;br&gt;new libusb libraries try to get info out of suspended USB devices like 
&lt;br&gt;the camera. This adds many seconds of delay before the download starts. 
&lt;br&gt;I edited the darwin_usb.c file in libusb.1.0, and essentially commented 
&lt;br&gt;out code. This resulted in a much much faster download.
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (ret != kIOReturnSuccess) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int try_unsuspend = 0; // DFH - was 1
&lt;br&gt;#if DeviceVersion &amp;gt;= 3200 // DFH - was 320
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679801&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Compiling-avrdude-with-libusb-tp26672598p26679801.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26672635</id>
	<title>Re: Compiling avrdude with libusb</title>
	<published>2009-12-06T21:11:44Z</published>
	<updated>2009-12-06T21:11:44Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As dlc wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I've finally gotten a need to use avrdude with a USB AVR
&lt;br&gt;&amp;gt; &amp;nbsp; programmer. &amp;nbsp;I downloaded libusb 1.0.6, ...
&lt;br&gt;&lt;br&gt;Sorry, avrdude so far only works with libusb 0.1.x.
&lt;br&gt;&lt;br&gt;The reason for that is that libusb 1.x covers only a small subset of
&lt;br&gt;the operating systems libusb 0.1.x used to cover, and both versions
&lt;br&gt;are completely API incompatible.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26672635&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Compiling-avrdude-with-libusb-tp26672598p26672635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26672598</id>
	<title>Compiling avrdude with libusb</title>
	<published>2009-12-06T21:06:14Z</published>
	<updated>2009-12-06T21:06:14Z</updated>
	<author>
		<name>Kevin-11</name>
	</author>
	<content type="html">Greetings,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;I've finally gotten a need to use avrdude with a USB AVR programmer. 
&lt;br&gt;&amp;nbsp; I downloaded libusb 1.0.6, built that, got the latest avrdude source 
&lt;br&gt;5.8, configured pointing to the libusb libs, but the configure says this 
&lt;br&gt;about libusb:
&lt;br&gt;checking for usb_get_string_simple in -lusb... no
&lt;br&gt;&lt;br&gt;Nothing I do will get avrdude's configure to recognize libusb. &amp;nbsp;Here are 
&lt;br&gt;the &amp;quot;things&amp;quot; that I set up:
&lt;br&gt;&lt;br&gt;export CFLAGS=-I$IDIR/include
&lt;br&gt;export LDFLAGS=-L$IDIR/lib
&lt;br&gt;cd avrdude-5.8/
&lt;br&gt;./configure --prefix=$IDIR
&lt;br&gt;&lt;br&gt;where IDIR is the installation directory where the libusb stuff lands in 
&lt;br&gt;the appropriate lib and include directories. &amp;nbsp;I've checked, they're there.
&lt;br&gt;&lt;br&gt;There seems some confusion (to me) in on-line resources which refer to 
&lt;br&gt;&amp;quot;the latest libusb&amp;quot;, but then they talk about 0.1.12 which is a year 
&lt;br&gt;old, libusb 1.0.6 is a couple of months old. &amp;nbsp;I vaguely remember reading 
&lt;br&gt;something about one of the libusb trees being abandoned and not working 
&lt;br&gt;correctly, but the dates on the two repositories leave me wondering 
&lt;br&gt;which &amp;quot;branch&amp;quot; might be the old or defective one.
&lt;br&gt;&lt;br&gt;Can someone shed some light on this for me - It is obvious to me that 
&lt;br&gt;I've missed some note or page that details what I should be doing since 
&lt;br&gt;I'm pretty sure that I have the procedure correct, just something is not 
&lt;br&gt;working...
&lt;br&gt;&lt;br&gt;Thanks all,
&lt;br&gt;DLC
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;-------------------------------------------------
&lt;br&gt;Dennis Clark &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TTT Enterprises
&lt;br&gt;www.techtoystoday.com
&lt;br&gt;-------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26672598&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Compiling-avrdude-with-libusb-tp26672598p26672598.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26606115</id>
	<title>[patch #7010] Win32 enhanced bitbang_delay</title>
	<published>2009-12-02T01:37:41Z</published>
	<updated>2009-12-02T01:37:41Z</updated>
	<author>
		<name>Mario Castelán Castro</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?7010&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?7010&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: Win32 enhanced bitbang_delay
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: AVR Downloader/UploaDEr
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: dougy83
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Wed 02 Dec 2009 09:37:40 AM GMT
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: 5 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Originator Email: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;I read that the bitbang_delay is not calibrated for Win32 so I wrote the
&lt;br&gt;following code. It uses the performance counters which are high accuracy
&lt;br&gt;hardware counters (3.6MHz on my 5 yr old laptop). If the counters are not
&lt;br&gt;available, it falls back to the uncalibrated delay method. Seems to have a
&lt;br&gt;~3us overhead on my laptop.
&lt;br&gt;&lt;br&gt;&lt;br&gt;void bitbang_delay(int us)
&lt;br&gt;{
&lt;br&gt;#if defined(WIN32NATIVE)
&lt;br&gt;&amp;nbsp; static LARGE_INTEGER freq;
&lt;br&gt;&amp;nbsp; static enum {eNotInit, eInitOK, eInitFail}freqInit = eNotInit;
&lt;br&gt;&lt;br&gt;&amp;nbsp; if(freqInit == eNotInit)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; if(!QueryPerformanceFrequency(&amp;freq))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; freqInit = eInitFail; &amp;nbsp; &amp;nbsp; &amp;nbsp;// perf counters not available
&lt;br&gt;&amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; freqInit = eInitOK;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; if(freqInit == eInitOK)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; LARGE_INTEGER countNow, countEnd;
&lt;br&gt;&amp;nbsp; &amp;nbsp; QueryPerformanceCounter(&amp;countNow);
&lt;br&gt;&amp;nbsp; &amp;nbsp; countEnd.QuadPart = countNow.QuadPart + freq.QuadPart * us / 1000000ll;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; while (countNow.QuadPart &amp;lt; countEnd.QuadPart)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; QueryPerformanceCounter(&amp;countNow);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; else &amp;nbsp;// no performance counters -- run normal uncalibrated delay
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; volatile int del = us * delay_decrement;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; while (del &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; del--;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;#else
&lt;br&gt;&amp;nbsp; volatile int del = us * delay_decrement;
&lt;br&gt;&lt;br&gt;&amp;nbsp; while (del &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; del--;
&lt;br&gt;#endif /* WIN32NATIVE */
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/patch/?7010&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/patch/?7010&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26606115&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-patch--7010--Win32-enhanced-bitbang_delay-tp26606115p26606115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26605938</id>
	<title>Re: Fwd: Win32 enhanced bitbang_delay</title>
	<published>2009-12-02T01:24:53Z</published>
	<updated>2009-12-02T01:24:53Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Doug Brown wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Could someone incorporate this into the SVN? I've got no idea how to, &amp; I'm
&lt;br&gt;&amp;gt; not on the dev team.
&lt;br&gt;&lt;br&gt;Please, file it as a patch under
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;https://savannah.nongnu.org/patch/?group=avrdude&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://savannah.nongnu.org/patch/?group=avrdude&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26605938&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Win32-enhanced-bitbang_delay-tp26605779p26605938.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26605779</id>
	<title>Fwd: Win32 enhanced bitbang_delay</title>
	<published>2009-12-02T01:11:33Z</published>
	<updated>2009-12-02T01:11:33Z</updated>
	<author>
		<name>Doug Brown-9</name>
	</author>
	<content type="html">Hi avrdude dev,
&lt;br&gt;&lt;br&gt;I read that the bitbang_delay is not calibrated for Win32 so I wrote the
&lt;br&gt;following code. It uses the performance counters which are high accuracy
&lt;br&gt;hardware counters (3.6MHz on my 5 yr old laptop). If the counters are not
&lt;br&gt;available, it falls back to the uncalibrated delay method. Seems to have a
&lt;br&gt;~3us overhead on my laptop.
&lt;br&gt;&lt;br&gt;Could someone incorporate this into the SVN? I've got no idea how to, &amp; I'm
&lt;br&gt;not on the dev team.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Doug.
&lt;br&gt;&lt;br&gt;void bitbang_delay(int us)
&lt;br&gt;{
&lt;br&gt;#if defined(WIN32NATIVE)
&lt;br&gt;&amp;nbsp; static LARGE_INTEGER freq;
&lt;br&gt;&amp;nbsp; static enum {eNotInit, eInitOK, eInitFail}freqInit = eNotInit;
&lt;br&gt;&lt;br&gt;&amp;nbsp; if(freqInit == eNotInit)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; if(!QueryPerformanceFrequency(&amp;freq))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; freqInit = eInitFail; &amp;nbsp; &amp;nbsp; &amp;nbsp;// perf counters not available
&lt;br&gt;&amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; freqInit = eInitOK;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; if(freqInit == eInitOK)
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; LARGE_INTEGER countNow, countEnd;
&lt;br&gt;&amp;nbsp; &amp;nbsp; QueryPerformanceCounter(&amp;countNow);
&lt;br&gt;&amp;nbsp; &amp;nbsp; countEnd.QuadPart = countNow.QuadPart + freq.QuadPart * us / 1000000ll;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; while (countNow.QuadPart &amp;lt; countEnd.QuadPart)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; QueryPerformanceCounter(&amp;countNow);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp; else &amp;nbsp;// no performance counters -- run normal uncalibrated delay
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; volatile int del = us * delay_decrement;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; while (del &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; del--;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;#else
&lt;br&gt;&amp;nbsp; volatile int del = us * delay_decrement;
&lt;br&gt;&lt;br&gt;&amp;nbsp; while (del &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; del--;
&lt;br&gt;#endif /* WIN32NATIVE */
&lt;br&gt;}
&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26605779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Fwd%3A-Win32-enhanced-bitbang_delay-tp26605779p26605779.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26490260</id>
	<title>Xmega/AVRispMkII reset bug fixed</title>
	<published>2009-11-23T20:15:43Z</published>
	<updated>2009-11-23T20:15:43Z</updated>
	<author>
		<name>Erik Walthinsen-4</name>
	</author>
	<content type="html">I'm working on a contract that currently involves build stuff around the 
&lt;br&gt;ATxmega16A4 chip, and so far have managed to bash a toolchain into 
&lt;br&gt;shape, but was having problems with avrdude requiring me to completely 
&lt;br&gt;disconnect the programmer from USB after every programming cycle, which 
&lt;br&gt;was getting rather obnoxious.
&lt;br&gt;&lt;br&gt;I compared the verbose avrdude output from the STK500 log generated by 
&lt;br&gt;AVRstudio, and on a hunch added one missing command, and voila! fixed. 
&lt;br&gt;Why that command has anything to do with hanging on 2nd program I have 
&lt;br&gt;no idea, but so far it's working repeatedly.
&lt;br&gt;&lt;br&gt;The fix is to call stk500v2_loadaddr(pgm,addr) just before the main 
&lt;br&gt;block write loop in stk600_xprog_paged_write(). &amp;nbsp;I'd provide a diff, but 
&lt;br&gt;it's against 5.6 (which works, unlike 5.8 or svn...) and it's a trivial 
&lt;br&gt;change.
&lt;br&gt;&lt;br&gt;I will be filing a bug report with this information shortly.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26490260&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Xmega-AVRispMkII-reset-bug-fixed-tp26490260p26490260.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26457803</id>
	<title>[bug #28066] dragon_jtag and atxmega128A1 fails chip erase</title>
	<published>2009-11-21T07:54:51Z</published>
	<updated>2009-11-21T07:54:51Z</updated>
	<author>
		<name>Mario Castelán Castro</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #1, bug #28066 (project avrdude):
&lt;br&gt;&lt;br&gt;Some more data
&lt;br&gt;&lt;br&gt;Added usb messages sniffed from AVR Studio 4.18 (b684) pressing the &amp;quot;erase
&lt;br&gt;device&amp;quot; button; grouped by sequence numbers.
&lt;br&gt;&lt;br&gt;It seems to be an undocumented command, 0x34 (sequence number 0x17 in the usb
&lt;br&gt;dump).
&lt;br&gt;&lt;br&gt;(file #19100)
&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Additional Item Attachment:
&lt;br&gt;&lt;br&gt;File name: usb-dump-avrstudio.txt &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Size:0 KB
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28066&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28066&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26457803&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28066--dragon_jtag-and-atxmega128A1-fails-chip-erase-tp26451841p26457803.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26451841</id>
	<title>[bug #28066] dragon_jtag and atxmega128A1 fails chip erase</title>
	<published>2009-11-20T15:19:43Z</published>
	<updated>2009-11-20T15:19:43Z</updated>
	<author>
		<name>Mario Castelán Castro</name>
	</author>
	<content type="html">&lt;br&gt;URL:
&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28066&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28066&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Summary: dragon_jtag and atxmega128A1 fails chip erase
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: AVR Downloader/UploaDEr
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted by: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Submitted on: Fri 20 Nov 2009 11:19:41 PM UTC
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Severity: 3 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: 5 - Normal
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item Group: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Status: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Privacy: Public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assigned to: None
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Originator Name: Andreas
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Originator Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451841&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;alohre@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open/Closed: Open
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Discussion Lock: Any
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Details:
&lt;br&gt;&lt;br&gt;Programmer: dragon_jtag
&lt;br&gt;Part: ATXMEGA128A1
&lt;br&gt;avrdude svnrev: 879
&lt;br&gt;&lt;br&gt;commandline: avrdude -vvvvvv -c dragon_jtag -p x128a1 -P usb -e 2&amp;gt;
&lt;br&gt;full-output.log
&lt;br&gt;&lt;br&gt;error message:
&lt;br&gt;jtagmkII_chip_erase(): bad response to chip erase command:
&lt;br&gt;RSP_ILLEGAL_COMMAND
&lt;br&gt;For full output see attached logfile.
&lt;br&gt;&lt;br&gt;The dragon is running latest firmware, upgraded in AVR Studio 4.18 (b684) the
&lt;br&gt;firmwareversion reported in the sign-on message is 6.04
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;File Attachments:
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------
&lt;br&gt;Date: Fri 20 Nov 2009 11:19:42 PM UTC &amp;nbsp;Name: full-output.log &amp;nbsp;Size: 30kB &amp;nbsp;
&lt;br&gt;By: None
&lt;br&gt;&lt;br&gt;&amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/download.php?file_id=19096&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/download.php?file_id=19096&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?28066&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?28066&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451841&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--28066--dragon_jtag-and-atxmega128A1-fails-chip-erase-tp26451841p26451841.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26451482</id>
	<title>Re: dragon_jtag and atxmega128A1 fails on chip erase</title>
	<published>2009-11-20T14:48:03Z</published>
	<updated>2009-11-20T14:48:03Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Andreas Løhre wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; When trying to erase and program the ATXMEGA128A1 with latest svn
&lt;br&gt;&amp;gt; (rev. 879) using dragon_jtag:
&lt;br&gt;&lt;br&gt;I haven't been able to test a Dragon firmware that supports the Xmega.
&lt;br&gt;Quite possible there are still bugs with that.
&lt;br&gt;&lt;br&gt;Please file a bug tracker for this.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451482&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dragon_jtag-and-atxmega128A1-fails-on-chip-erase-tp26450872p26451482.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26451467</id>
	<title>Re: Re: jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE</title>
	<published>2009-11-20T14:47:09Z</published>
	<updated>2009-11-20T14:47:09Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Shaun Jackman wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; My target is the AT90PWM316, which supports ISP and DebugWire, but
&lt;br&gt;&amp;gt; not JTAG. I believe I'm operating in ISP mode and not DebugWire
&lt;br&gt;&amp;gt; mode. &amp;nbsp;Shouldn't this command be supported in this configuration?
&lt;br&gt;&lt;br&gt;No, ISP mode doesn't know a &amp;quot;GO&amp;quot; command, because it is not a
&lt;br&gt;debugging mode. &amp;nbsp;It asserts /RESET all the time anyway, and as soon as
&lt;br&gt;you leave ISP mode, the target is supposed to start, as /RESET is
&lt;br&gt;being deasserted.
&lt;br&gt;&lt;br&gt;In contrast, the debugging modi (JTAG or debugWIRE) can arbitrarily
&lt;br&gt;stop and resume CPU operation; the latter is what CMND_GO is intended
&lt;br&gt;for.
&lt;br&gt;&lt;br&gt;The attempt to send a CMND_GO command even in ISP mode is a benign bug
&lt;br&gt;that slipped in somehow in one of the recent releases.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451467&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jtagmkII_close%28%29%3A-bad-response-to-GO-command%3A-RSP_ILLEGAL_EMULATOR_MODE-tp26395240p26451467.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26450934</id>
	<title>Internal oscillator calibration</title>
	<published>2009-11-20T13:56:58Z</published>
	<updated>2009-11-20T13:56:58Z</updated>
	<author>
		<name>Shaun Jackman</name>
	</author>
	<content type="html">I'm attempting to use the AVR JTAG ICE mkII to calibrate the internal
&lt;br&gt;8 MHz oscillator of the AT90PWM316. I downloaded the source code that
&lt;br&gt;runs on the target device from application note AVR0053 and compiled
&lt;br&gt;it using the open source assembler avra. I flashed the target device
&lt;br&gt;using avrdude and set its fuses to use the internal 8 MHz RC
&lt;br&gt;oscillator (lfuse=0xa2). I then ran avrdude -O to start the
&lt;br&gt;calibration, which is intended to store the result in EEPROM. However,
&lt;br&gt;afterwards the EEPROM is still empty.
&lt;br&gt;&lt;br&gt;Has anyone successfully used the OSCCAL calibration routine specified
&lt;br&gt;in AVR053 with avrdude?
&lt;br&gt;&lt;br&gt;The man page should mention that the target device requires special
&lt;br&gt;firmware to be able to use the OSCCAL feature. The man page makes it
&lt;br&gt;sound as though the programmer does it all automagically with no help
&lt;br&gt;from the target.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Shaun
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26450934&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Internal-oscillator-calibration-tp26450934p26450934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26450872</id>
	<title>dragon_jtag and atxmega128A1 fails on chip erase</title>
	<published>2009-11-20T13:52:32Z</published>
	<updated>2009-11-20T13:52:32Z</updated>
	<author>
		<name>Andreas Løhre</name>
	</author>
	<content type="html">Hello
&lt;br&gt;&lt;br&gt;When trying to erase and program the ATXMEGA128A1 with latest svn
&lt;br&gt;(rev. 879) using dragon_jtag:
&lt;br&gt;avrdude -vvvvv -c dragon_jtag -p x128a1 -P usb -e -U flash:w:testing.hex
&lt;br&gt;it errs out with the error below.
&lt;br&gt;&lt;br&gt;There is no problem programming the part without the erase option.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;avrdude: erasing chip
&lt;br&gt;avrdude: jtagmkII_chip_erase(): Sending chip erase command:
&lt;br&gt;avrdude: jtagmkII_send(): sending 1 bytes
&lt;br&gt;avrdude: Sent: . [1b] . [16] . [00] . [01] . [00] . [00] . [00] . [0e]
&lt;br&gt;. [13] . [a9] . [e2]
&lt;br&gt;avrdude: jtagmkII_recv():
&lt;br&gt;avrdude: Recv: . [1b]
&lt;br&gt;avrdude: Recv: . [16]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [01]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [0e]
&lt;br&gt;avrdude: Recv: . [aa]
&lt;br&gt;avrdude: Recv: . [e3]
&lt;br&gt;avrdude: Recv: . [ca]
&lt;br&gt;&lt;br&gt;avrdude: jtagmkII_recv(): Got message seqno 22 (command_sequence == 22)
&lt;br&gt;&lt;br&gt;Raw message:
&lt;br&gt;0xaa
&lt;br&gt;Illegal command
&lt;br&gt;&lt;br&gt;avrdude: jtagmkII_chip_erase(): bad response to chip erase command:
&lt;br&gt;RSP_ILLEGAL_COMMAND
&lt;br&gt;avrdude: jtagmkII_program_disable(): Sending leave progmode command:
&lt;br&gt;avrdude: jtagmkII_send(): sending 1 bytes
&lt;br&gt;avrdude: Sent: . [1b] . [17] . [00] . [01] . [00] . [00] . [00] . [0e]
&lt;br&gt;. [15] &amp;nbsp; [20] . [06]
&lt;br&gt;avrdude: jtagmkII_recv():
&lt;br&gt;avrdude: Recv: . [1b]
&lt;br&gt;avrdude: Recv: . [17]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [01]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [00]
&lt;br&gt;avrdude: Recv: . [0e]
&lt;br&gt;avrdude: Recv: . [80]
&lt;br&gt;avrdude: Recv: . [04]
&lt;br&gt;avrdude: Recv: . [c5]
&lt;br&gt;&lt;br&gt;avrdude: jtagmkII_recv(): Got message seqno 23 (command_sequence == 23)
&lt;br&gt;&lt;br&gt;Raw message:
&lt;br&gt;0x80
&lt;br&gt;OK
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Dragon info:
&lt;br&gt;&lt;br&gt;JTAG clock &amp;nbsp; &amp;nbsp; &amp;nbsp;: 891.7 kHz (1.1 us)
&lt;br&gt;JTAG ICE mkII sign-on message:
&lt;br&gt;Communications protocol version: 1
&lt;br&gt;M_MCU:
&lt;br&gt;&amp;nbsp; boot-loader FW version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;255
&lt;br&gt;&amp;nbsp; firmware version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6.04
&lt;br&gt;&amp;nbsp; hardware version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1
&lt;br&gt;S_MCU:
&lt;br&gt;&amp;nbsp; boot-loader FW version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;255
&lt;br&gt;&amp;nbsp; firmware version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6.04
&lt;br&gt;&amp;nbsp; hardware version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7
&lt;br&gt;Serial number: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:a2:00:00:77:21
&lt;br&gt;Device ID: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AVRDRAGON
&lt;br&gt;&lt;br&gt;&lt;br&gt;.Andreas
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26450872&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/dragon_jtag-and-atxmega128A1-fails-on-chip-erase-tp26450872p26450872.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26450815</id>
	<title>Re: jtagmkII_close(): bad response to GO command:  RSP_ILLEGAL_EMULATOR_MODE</title>
	<published>2009-11-20T13:47:45Z</published>
	<updated>2009-11-20T13:47:45Z</updated>
	<author>
		<name>Shaun Jackman</name>
	</author>
	<content type="html">2009/11/17 Shaun Jackman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26450815&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sjackman@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; I am using a Atmel JTAG ICE mkII with a AT90PWM316. Whenever avrdude
&lt;br&gt;&amp;gt; exits, it prints the following error message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; avrdude: jtagmkII_close(): bad response to GO command:
&lt;br&gt;&lt;br&gt;RSP_ILLEGAL_EMULATOR_MODE
&lt;br&gt;The application note AVR067 says that
&lt;br&gt;&lt;br&gt;CMND_GO
&lt;br&gt;RSP_ILLEGAL_EMULATOR_MODE
&lt;br&gt;The operation cannot be performed in this emulator mode. (JTAG / DebugWire).
&lt;br&gt;&lt;br&gt;My target is the AT90PWM316, which supports ISP and DebugWire, but not
&lt;br&gt;JTAG. I believe I'm operating in ISP mode and not DebugWire mode.
&lt;br&gt;Shouldn't this command be supported in this configuration?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Shaun
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26450815&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jtagmkII_close%28%29%3A-bad-response-to-GO-command%3A-RSP_ILLEGAL_EMULATOR_MODE-tp26395240p26450815.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26395324</id>
	<title>Re: jtagmkII_close(): bad response to GO command:  RSP_ILLEGAL_EMULATOR_MODE</title>
	<published>2009-11-17T10:46:48Z</published>
	<updated>2009-11-17T10:46:48Z</updated>
	<author>
		<name>Shaun Jackman</name>
	</author>
	<content type="html">Here's the verbose output:
&lt;br&gt;&lt;br&gt;$ avrdude -cjtag2isp -Pusb -ppwm316 -vvv
&lt;br&gt;...
&lt;br&gt;avrdude: jtagmkII_close()
&lt;br&gt;avrdude: jtagmkII_close(): Sending GO command:
&lt;br&gt;avrdude: jtagmkII_send(): sending 1 bytes
&lt;br&gt;avrdude: jtagmkII_recv():
&lt;br&gt;avrdude: jtagmkII_recv(): CRC OK
&lt;br&gt;avrdude: jtagmkII_recv(): Got message seqno 0 (command_sequence == 0)
&lt;br&gt;&lt;br&gt;Illegal emulator mode
&lt;br&gt;&lt;br&gt;avrdude: jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE
&lt;br&gt;avrdude: jtagmkII_close(): Sending sign-off command:
&lt;br&gt;avrdude: jtagmkII_send(): sending 1 bytes
&lt;br&gt;avrdude: jtagmkII_recv():
&lt;br&gt;avrdude: jtagmkII_recv(): CRC OK
&lt;br&gt;avrdude: jtagmkII_recv(): Got message seqno 1 (command_sequence == 1)
&lt;br&gt;&lt;br&gt;OK
&lt;br&gt;&lt;br&gt;&lt;br&gt;avrdude done. &amp;nbsp;Thank you.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26395324&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jtagmkII_close%28%29%3A-bad-response-to-GO-command%3A-RSP_ILLEGAL_EMULATOR_MODE-tp26395240p26395324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26395240</id>
	<title>jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE</title>
	<published>2009-11-17T10:40:41Z</published>
	<updated>2009-11-17T10:40:41Z</updated>
	<author>
		<name>Shaun Jackman</name>
	</author>
	<content type="html">I am using a Atmel JTAG ICE mkII with a AT90PWM316. Whenever avrdude
&lt;br&gt;exits, it prints the following error message:
&lt;br&gt;&lt;br&gt;avrdude: jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE
&lt;br&gt;&lt;br&gt;I usually just ignore it. What does it mean, and can it be fixed?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Shaun
&lt;br&gt;&lt;br&gt;$ avrdude -cjtag2isp -Pusb -ppwm316
&lt;br&gt;&lt;br&gt;avrdude: AVR device initialized and ready to accept instructions
&lt;br&gt;&lt;br&gt;Reading | ################################################## | 100% 0.15s
&lt;br&gt;&lt;br&gt;avrdude: Device signature = 0x1e9483
&lt;br&gt;avrdude: current erase-rewrite cycle count is -50463491 (if being tracked)
&lt;br&gt;&lt;br&gt;avrdude: safemode: Fuses OK
&lt;br&gt;avrdude: jtagmkII_close(): bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE
&lt;br&gt;&lt;br&gt;avrdude done. &amp;nbsp;Thank you.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26395240&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jtagmkII_close%28%29%3A-bad-response-to-GO-command%3A-RSP_ILLEGAL_EMULATOR_MODE-tp26395240p26395240.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26382468</id>
	<title>[bug #21797] AT90PWM316: New part description</title>
	<published>2009-11-16T16:36:50Z</published>
	<updated>2009-11-16T16:36:50Z</updated>
	<author>
		<name>Mario Castelán Castro</name>
	</author>
	<content type="html">&lt;br&gt;Follow-up Comment #1, bug #21797 (project avrdude):
&lt;br&gt;&lt;br&gt;Ping. Could this patch please be applied? It works for me.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; _______________________________________________________
&lt;br&gt;&lt;br&gt;Reply to this item at:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;&lt;a href=&quot;http://savannah.nongnu.org/bugs/?21797&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/bugs/?21797&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;&amp;nbsp; Message sent via/by Savannah
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://savannah.nongnu.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.nongnu.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26382468&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-bug--21797--AT90PWM316%3A-New-part-description-tp14325149p26382468.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26372378</id>
	<title>Re: USB</title>
	<published>2009-11-16T06:01:09Z</published>
	<updated>2009-11-16T06:01:09Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Russell Shaw wrote:
&lt;br&gt;&amp;gt; Joerg Wunsch wrote:
&lt;br&gt;&amp;gt;&amp;gt; As Russell Shaw wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Avrdude runs ok as root, but not as a normal user.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sure, device permission problems.
&lt;br&gt;&lt;br&gt;I got it working now. Directory permissions must have been wrong.
&lt;br&gt;I did: sudo chmod -R +X /dev/bus
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26372378&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26372378.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26372100</id>
	<title>Re: USB</title>
	<published>2009-11-16T05:42:26Z</published>
	<updated>2009-11-16T05:42:26Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Joerg Wunsch wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As Russell Shaw wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Avrdude runs ok as root, but not as a normal user.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sure, device permission problems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; This returns -1 and i can't figure out why.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That's the way permission problems manifest under Linux: you can still
&lt;br&gt;&amp;gt; open the USB device in libusb (apparently, this is done through
&lt;br&gt;&amp;gt; something else than the actual device node), but it fails as soon as
&lt;br&gt;&amp;gt; you try sending a message to it (which is needed in order to request a
&lt;br&gt;&amp;gt; string descriptor entry from the device).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Just to make sure of things, i also tried:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; # chown -R root:avrdude /dev/usb*
&lt;br&gt;&amp;gt;&amp;gt; # chown -R root:avrdude /dev/bus/usb
&lt;br&gt;&amp;gt;&amp;gt; # chmod -R 660 /dev/usb*
&lt;br&gt;&amp;gt;&amp;gt; # chmod -R 660 /dev/bus/usb
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Doesn't help. &amp;nbsp;All these devices are created by your system
&lt;br&gt;&amp;gt; dynamically. &amp;nbsp;As soon as you say &amp;quot;Goodbye!&amp;quot; to the AVRISPmkII, it
&lt;br&gt;&amp;gt; disconnects from and reconnects to the USB, and voila, you've got a
&lt;br&gt;&amp;gt; new /dev/bus/usb/... entry -- again with the wrong permissions.
&lt;/div&gt;&lt;br&gt;I did that temporarily while the device was plugged in to see
&lt;br&gt;what effect it had. If that didn't work (which it didn't), then
&lt;br&gt;no amount of udev rules will help either.
&lt;br&gt;&lt;br&gt;&amp;gt; Why do you insist on ignoring the udev hints that have been given to
&lt;br&gt;&amp;gt; you?
&lt;br&gt;&lt;br&gt;I tried that as well as my own, and various combinations, but it
&lt;br&gt;didn't work.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I currently have a udev rule:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;SUBSYSTEMS==&amp;quot;usb&amp;quot;, ATTRS{product}==&amp;quot;AVRISP mkII&amp;quot;, GROUP=&amp;quot;avrdude&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;ls -l /dev/usb*
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;nbsp;crw-rw---- &amp;nbsp;1 root avrdude 252, &amp;nbsp;17 2009-11-17 00:34 usbdev8.8_ep02
&lt;br&gt;&amp;nbsp; &amp;nbsp;crw-rw---- &amp;nbsp;1 root avrdude 252, &amp;nbsp;18 2009-11-17 00:34 usbdev8.8_ep00
&lt;br&gt;&amp;nbsp; &amp;nbsp;crw-rw---- &amp;nbsp;1 root avrdude 252, &amp;nbsp;16 2009-11-17 00:34 usbdev8.8_ep82
&lt;br&gt;&lt;br&gt;&lt;br&gt;Works ok: &amp;nbsp; &amp;nbsp; sudo avrdude -p m8535 -c avrispmkII -P usb -U flash:w:proj.hex
&lt;br&gt;Doesn't work: &amp;nbsp; &amp;nbsp; &amp;nbsp;avrdude -p m8535 -c avrispmkII -P usb -U flash:w:proj.hex
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;avrdude: usb_open(): cannot read serial number &amp;quot;error sending control message:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Operation not permitted&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;avrdude: usb_open(): cannot read product name &amp;quot;error sending control message:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Operation not permitted&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;avrdude: usbdev_open(): error setting configuration 1: could not set config 1:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Operation not permitted
&lt;br&gt;&amp;nbsp; &amp;nbsp;avrdude: usbdev_open(): did not find any USB device &amp;quot;usb&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26372100&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26372100.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26371754</id>
	<title>Re: USB</title>
	<published>2009-11-16T05:19:20Z</published>
	<updated>2009-11-16T05:19:20Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Joerg Wunsch wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As Russell Shaw wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Avrdude runs ok as root, but not as a normal user.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sure, device permission problems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; This returns -1 and i can't figure out why.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That's the way permission problems manifest under Linux: you can still
&lt;br&gt;&amp;gt; open the USB device in libusb (apparently, this is done through
&lt;br&gt;&amp;gt; something else than the actual device node), but it fails as soon as
&lt;br&gt;&amp;gt; you try sending a message to it (which is needed in order to request a
&lt;br&gt;&amp;gt; string descriptor entry from the device).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Just to make sure of things, i also tried:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; # chown -R root:avrdude /dev/usb*
&lt;br&gt;&amp;gt;&amp;gt; # chown -R root:avrdude /dev/bus/usb
&lt;br&gt;&amp;gt;&amp;gt; # chmod -R 660 /dev/usb*
&lt;br&gt;&amp;gt;&amp;gt; # chmod -R 660 /dev/bus/usb
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Doesn't help. &amp;nbsp;All these devices are created by your system
&lt;br&gt;&amp;gt; dynamically. &amp;nbsp;As soon as you say &amp;quot;Goodbye!&amp;quot; to the AVRISPmkII, it
&lt;br&gt;&amp;gt; disconnects from and reconnects to the USB, and voila, you've got a
&lt;br&gt;&amp;gt; new /dev/bus/usb/... entry -- again with the wrong permissions.
&lt;/div&gt;&lt;br&gt;I did that temporarily while the device was plugged in to see
&lt;br&gt;what effect it had. If that didn't work (which it didn't), then
&lt;br&gt;no amount of udev rules will help either.
&lt;br&gt;&lt;br&gt;&amp;gt; Why do you insist on ignoring the udev hints that have been given to
&lt;br&gt;&amp;gt; you?
&lt;br&gt;&lt;br&gt;I tried that as well as my own, and various combinations, but it
&lt;br&gt;didn't work.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26371754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26371754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26371654</id>
	<title>Re: USB</title>
	<published>2009-11-16T05:10:45Z</published>
	<updated>2009-11-16T05:10:45Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Russell Shaw wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Avrdude runs ok as root, but not as a normal user.
&lt;br&gt;&lt;br&gt;Sure, device permission problems.
&lt;br&gt;&lt;br&gt;&amp;gt; This returns -1 and i can't figure out why.
&lt;br&gt;&lt;br&gt;That's the way permission problems manifest under Linux: you can still
&lt;br&gt;open the USB device in libusb (apparently, this is done through
&lt;br&gt;something else than the actual device node), but it fails as soon as
&lt;br&gt;you try sending a message to it (which is needed in order to request a
&lt;br&gt;string descriptor entry from the device).
&lt;br&gt;&lt;br&gt;&amp;gt; Just to make sure of things, i also tried:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # chown -R root:avrdude /dev/usb*
&lt;br&gt;&amp;gt; # chown -R root:avrdude /dev/bus/usb
&lt;br&gt;&amp;gt; # chmod -R 660 /dev/usb*
&lt;br&gt;&amp;gt; # chmod -R 660 /dev/bus/usb
&lt;br&gt;&lt;br&gt;Doesn't help. &amp;nbsp;All these devices are created by your system
&lt;br&gt;dynamically. &amp;nbsp;As soon as you say &amp;quot;Goodbye!&amp;quot; to the AVRISPmkII, it
&lt;br&gt;disconnects from and reconnects to the USB, and voila, you've got a
&lt;br&gt;new /dev/bus/usb/... entry -- again with the wrong permissions.
&lt;br&gt;&lt;br&gt;Why do you insist on ignoring the udev hints that have been given to
&lt;br&gt;you?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26371654&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26371654.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26371320</id>
	<title>Re: USB</title>
	<published>2009-11-16T04:48:04Z</published>
	<updated>2009-11-16T04:48:04Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Joerg Wunsch wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As Russell Shaw wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I just got a usb AVRISP. What permission should i fix?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You need read/write permission.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As these devices are created dynamically, you cannot do that with a
&lt;br&gt;&amp;gt; plain chmod, but you have to consult your systems dynamic device
&lt;br&gt;&amp;gt; facilitie's documentation. &amp;nbsp;Most Linux systems use udev for that
&lt;br&gt;&amp;gt; purpose, so you'd have to add another udev rule for the VID/PID pairs
&lt;br&gt;&amp;gt; you are interested in.
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;Avrdude runs ok as root, but not as a normal user.
&lt;br&gt;&lt;br&gt;I traced in to libusb:
&lt;br&gt;&lt;br&gt;(gdb) bt
&lt;br&gt;#0 &amp;nbsp;usb_control_msg (dev=0x82437a8, requesttype=128, request=6, value=768, 
&lt;br&gt;index=0, bytes=0xbfffd245 &amp;quot;\333&amp;quot;, &amp;lt;incomplete sequence \373\267&amp;gt;, size=255, 
&lt;br&gt;timeout=1000) at ../linux.c:143
&lt;br&gt;&lt;br&gt;#1 &amp;nbsp;0xb7fbeaea in usb_get_string (dev=0x82437a8, index=0, langid=0, 
&lt;br&gt;buf=0xbfffd245 &amp;quot;\333&amp;quot;, &amp;lt;incomplete sequence \373\267&amp;gt;, buflen=255) at ../usb.c:226
&lt;br&gt;&lt;br&gt;#2 &amp;nbsp;0xb7fbeb32 in usb_get_string_simple (dev=0x82437a8, index=3, buf=0xbfffd484 
&lt;br&gt;&amp;quot;\1&amp;quot;, buflen=256) at ../usb.c:242
&lt;br&gt;&lt;br&gt;#3 &amp;nbsp;0x08073d1d in usbdev_open (port=0xbffff985 &amp;quot;usb&amp;quot;, baud=8452, fd=0x8099528) 
&lt;br&gt;at usb_libusb.c:117
&lt;br&gt;&lt;br&gt;#4 &amp;nbsp;0x0806d95a in stk500v2_open (pgm=0x8098468, port=0xbffff985 &amp;quot;usb&amp;quot;) at 
&lt;br&gt;stk500v2.c:1271
&lt;br&gt;&lt;br&gt;#5 &amp;nbsp;0x0804b239 in main (argc=9, argv=0xbffff7c4) at main.c:778
&lt;br&gt;&lt;br&gt;&lt;br&gt;usb.c:242
&lt;br&gt;&lt;br&gt;char tbuf[255]; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Some devices choke on size &amp;gt; 255 */
&lt;br&gt;...
&lt;br&gt;ret = usb_get_string(dev, 0, 0, tbuf, sizeof(tbuf));
&lt;br&gt;&lt;br&gt;&lt;br&gt;This returns -1 and i can't figure out why. The system hasn't
&lt;br&gt;read anything out of /dev yet.
&lt;br&gt;&lt;br&gt;Just to make sure of things, i also tried:
&lt;br&gt;&lt;br&gt;# chown -R root:avrdude /dev/usb*
&lt;br&gt;# chown -R root:avrdude /dev/bus/usb
&lt;br&gt;# chmod -R 660 /dev/usb*
&lt;br&gt;# chmod -R 660 /dev/bus/usb
&lt;br&gt;&lt;br&gt;and i'm in group avrdude. I have the avrisp plugged in.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26371320&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26371320.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26369232</id>
	<title>Re: USB</title>
	<published>2009-11-16T01:46:40Z</published>
	<updated>2009-11-16T01:46:40Z</updated>
	<author>
		<name>Michal Ludvig-2</name>
	</author>
	<content type="html">On 11/16/2009 09:12 PM, Russell Shaw wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; The udev rules are intended for modifying the files in /dev only.
&lt;br&gt;&amp;gt; However, avrdude is reading stuff in /proc
&lt;br&gt;&lt;br&gt;According to your original post it's clearly accessing /dev:
&lt;br&gt;&lt;br&gt;&amp;gt; open(&amp;quot;/dev/bus/usb/007/001&amp;quot;, O_RDWR) = -1 EACCES (Permission denied)
&lt;br&gt;&lt;br&gt;Modifying udev rules should help.
&lt;br&gt;&lt;br&gt;Michal
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369232&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26369232.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26368665</id>
	<title>Re: USB</title>
	<published>2009-11-16T00:58:11Z</published>
	<updated>2009-11-16T00:58:11Z</updated>
	<author>
		<name>Ormund Williams</name>
	</author>
	<content type="html">On Mon, 2009-11-16 at 16:52 +1100, Russell Shaw wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I just got a usb AVRISP. What permission should i fix? :
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; strace avrdude -p m8535 -c avrispmkII -P usb -v -U flash:w:proj.hex
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;open(&amp;quot;/dev/bus/usb/007/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= -1 EACCES (Permission denied)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; dev/bus/usb/007/001 exists, but i don't know what to do about the
&lt;br&gt;&amp;gt; permissions in this part of the system (debian/unstable).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ls -l /dev/bus/usb/007/001
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;crw-rw-r-- 1 root root 189, 768 2009-11-16 16:15 /dev/bus/usb/007/001
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Avrdude 5.8
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;I created a new group called &amp;quot;isp&amp;quot; then added the following lines to
&lt;br&gt;my /etc/udev/rules.d/91-permissions.rules 
&lt;br&gt;&lt;br&gt;# AvrISP
&lt;br&gt;SUBSYSTEM==&amp;quot;usb_device&amp;quot;,	GROUP=&amp;quot;isp&amp;quot;, \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ATTRS{idVendor}==&amp;quot;03eb&amp;quot;, ATTRS{idProduct}==&amp;quot;2104&amp;quot;
&lt;br&gt;&lt;br&gt;With that any member of the group isp can access the avrisp2.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ormund Williams
&lt;br&gt;OrmLab LLC
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368665&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26368665.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26368152</id>
	<title>Re: USB</title>
	<published>2009-11-16T00:12:56Z</published>
	<updated>2009-11-16T00:12:56Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Joerg Wunsch wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As Russell Shaw wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I just got a usb AVRISP. What permission should i fix?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You need read/write permission.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As these devices are created dynamically, you cannot do that with a
&lt;br&gt;&amp;gt; plain chmod, but you have to consult your systems dynamic device
&lt;br&gt;&amp;gt; facilitie's documentation. &amp;nbsp;Most Linux systems use udev for that
&lt;br&gt;&amp;gt; purpose, so you'd have to add another udev rule for the VID/PID pairs
&lt;br&gt;&amp;gt; you are interested in.
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;The udev rules are intended for modifying the files in /dev only.
&lt;br&gt;&lt;br&gt;However, avrdude is reading stuff in /proc, which has no way
&lt;br&gt;of configuring the permissions of dynamically created files
&lt;br&gt;from what i can see.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368152&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26368152.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26368018</id>
	<title>Re: USB</title>
	<published>2009-11-15T23:57:28Z</published>
	<updated>2009-11-15T23:57:28Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Russell Shaw wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I just got a usb AVRISP. What permission should i fix?
&lt;br&gt;&lt;br&gt;You need read/write permission.
&lt;br&gt;&lt;br&gt;As these devices are created dynamically, you cannot do that with a
&lt;br&gt;plain chmod, but you have to consult your systems dynamic device
&lt;br&gt;facilitie's documentation. &amp;nbsp;Most Linux systems use udev for that
&lt;br&gt;purpose, so you'd have to add another udev rule for the VID/PID pairs
&lt;br&gt;you are interested in.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26368018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26367219</id>
	<title>USB</title>
	<published>2009-11-15T21:52:56Z</published>
	<updated>2009-11-15T21:52:56Z</updated>
	<author>
		<name>Russell Shaw</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I just got a usb AVRISP. What permission should i fix? :
&lt;br&gt;&lt;br&gt;strace avrdude -p m8535 -c avrispmkII -P usb -v -U flash:w:proj.hex
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;open(&amp;quot;/dev/bus/usb/007/001&amp;quot;, O_RDWR) &amp;nbsp; &amp;nbsp;= -1 EACCES (Permission denied)
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&lt;br&gt;dev/bus/usb/007/001 exists, but i don't know what to do about the
&lt;br&gt;permissions in this part of the system (debian/unstable).
&lt;br&gt;&lt;br&gt;ls -l /dev/bus/usb/007/001
&lt;br&gt;&amp;nbsp; &amp;nbsp;crw-rw-r-- 1 root root 189, 768 2009-11-16 16:15 /dev/bus/usb/007/001
&lt;br&gt;&lt;br&gt;&lt;br&gt;Avrdude 5.8
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367219&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/USB-tp26367219p26367219.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26362241</id>
	<title>Re: Speeding up buspirate</title>
	<published>2009-11-15T11:15:02Z</published>
	<updated>2009-11-15T11:15:02Z</updated>
	<author>
		<name>Joerg Wunsch</name>
	</author>
	<content type="html">As Michal Ludvig wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I wanted to implement paged programming for buspirate but as far as
&lt;br&gt;&amp;gt; I can tell that requires support on the programmer side, doesn't it?
&lt;br&gt;&lt;br&gt;At least, in order to help speed things up.
&lt;br&gt;&lt;br&gt;&amp;gt; Is there anything else I can do to speed things up? (apart from
&lt;br&gt;&amp;gt; writing shorter code ;-)
&lt;br&gt;&lt;br&gt;Not without improving the programmer itself. &amp;nbsp;FTDI ran into that some
&lt;br&gt;years ago. &amp;nbsp;They offer some generic bit-banging support, but together
&lt;br&gt;with USB latencies and overhead, that is also pretty slow. &amp;nbsp;In recent
&lt;br&gt;chips, they added a kind of sophisticated hardware block that can be
&lt;br&gt;completely programmed over USB (so it doesn't need to be fixed into a
&lt;br&gt;single target programming architecture), yet allows to speed up things
&lt;br&gt;like page programming by running that at hardware speed. &amp;nbsp;(I didn't
&lt;br&gt;really look into the details, so that's merely hearsay.) &amp;nbsp;I'm afraid
&lt;br&gt;without something like that, any kind of bit-banging beyond that that
&lt;br&gt;could be done directly at some IO port of your computer will always be
&lt;br&gt;very slow. &amp;nbsp;(That's the reason why parallel-port attached simple
&lt;br&gt;bit-bangers were so popular about 10 years ago when the AVR started to
&lt;br&gt;gain its popularity.)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;cheers, J&amp;quot;org &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .-.-. &amp;nbsp; --... ...-- &amp;nbsp; -.. . &amp;nbsp;DL8DTL
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.sax.de/~joerg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sax.de/~joerg/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NIC: JW11-RIPE
&lt;br&gt;Never trust an operating system you don't have sources for. ;-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;avrdude-dev mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26362241&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avrdude-dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.nongnu.org/mailman/listinfo/avrdude-dev&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Speeding-up-buspirate-tp26357324p26362241.html" />
</entry>

</feed>
