<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: usb_reset error</title>
		<link>http://forums.leaflabs.com/topic.php?id=41</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:09:22 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=41" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "usb_reset error"</title>
			<link>http://forums.leaflabs.com/topic.php?id=41#post-179</link>
			<pubDate>Wed, 02 Jun 2010 22:43:14 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">179@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Signing libusb drivers for windows has a sorted history. Unfortunately, I dont think its ever going to happen. Thankfully, it seems to work for you in spite of being unsigned.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siyuz on "usb_reset error"</title>
			<link>http://forums.leaflabs.com/topic.php?id=41#post-172</link>
			<pubDate>Wed, 02 Jun 2010 16:51:01 +0000</pubDate>
			<dc:creator>siyuz</dc:creator>
			<guid isPermaLink="false">172@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The libusb driver is unsigned, so it cannot be loaded in windows 7 x64 without hacking the driver signature enforcement.  Besides that, as far as I can tell everything is working despite the error.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "usb_reset error"</title>
			<link>http://forums.leaflabs.com/topic.php?id=41#post-170</link>
			<pubDate>Wed, 02 Jun 2010 12:22:46 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">170@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;wait, am i to infer then that beyond this non-fatal error youve got it running on windows 7 64? thats great news, because its technically unsupported for now. This bug, eitherway, comes from dfu-util, perhaps doing the wrong thing inside of windows 7. Ill push a ticket for it, thanks for uncovering it!&#60;/p&#62;
&#60;p&#62;And just so were clear, things are working for you in the system of preference?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siyuz on "usb_reset error"</title>
			<link>http://forums.leaflabs.com/topic.php?id=41#post-168</link>
			<pubDate>Tue, 01 Jun 2010 23:34:03 +0000</pubDate>
			<dc:creator>siyuz</dc:creator>
			<guid isPermaLink="false">168@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I found the error only occurs on my Win7 x64 box, but not my XP 32 box.  It does seem to upload the code, even with the error.  This error still exists in 0.0.4.&#60;/p&#62;
&#60;p&#62;Here is the full build results.&#60;/p&#62;
&#60;p&#62;Going to build using 'make' (ARM)&#60;br /&#62;
	Compiling core...&#60;br /&#62;
	Compiling any libs...&#60;br /&#62;
	Compiling the sketch...&#60;br /&#62;
	running linker asynchronously...&#60;br /&#62;
	running obj copy asynchronously...&#60;br /&#62;
	running size asynchronously...&#60;/p&#62;
&#60;p&#62;C:\Users\siyuz\AppData\Local\Temp\build5070609246465647649.tmp\Blink.cpp.bin  :&#60;br /&#62;
section    size   addr&#60;br /&#62;
.data   10936      0&#60;br /&#62;
Total   10936&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 17000 byte maximum.&#60;br /&#62;
Loading via dfu-util&#60;br /&#62;
Resetting to bootloader via DTR pulse&#60;/p&#62;
&#60;p&#62;Opening USB Device 0x1eaf:0x0003...&#60;br /&#62;
Found Runtime: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=0, name=&#34;DFU Pro&#34;&#60;br /&#62;
Setting Configuration 1...&#60;br /&#62;
Claiming USB DFU Interface...&#60;br /&#62;
Setting Alternate Setting ...&#60;br /&#62;
Determining device status: state = dfuIDLE, status = 0&#60;br /&#62;
dfuIDLE, continuing&#60;br /&#62;
Transfer Size = 0x0400&#60;br /&#62;
bytes_per_hash=218&#60;br /&#62;
Starting download: [##################################################] finished!&#60;br /&#62;
error resetting after download: usb_reset: could not reset device, win error: The system cannot find the file specified.&#60;br /&#62;
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present&#60;/p&#62;
&#60;p&#62;Done!&#60;br /&#62;
Resetting USB to switch back to runtime mode
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "usb_reset error"</title>
			<link>http://forums.leaflabs.com/topic.php?id=41#post-167</link>
			<pubDate>Tue, 01 Jun 2010 22:18:56 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">167@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hmm...that seems like a new one. Can you provide more details please?&#60;/p&#62;
&#60;p&#62;The long delay after reset and serial port enumeration is known. This is because the bootloader lives for quite a while (~6 seconds) and does not itself include a serial port. Once Maple jumps to user code, then the serial port will enumerate and become active. &#60;/p&#62;
&#60;p&#62;Your error looks like something dfu-util spat out? DFU offers an option in the spec to reset the usb bus after downloading new firmware. We do not require this on our end, and its good that you point this out because we used to require it in the rev1 bootloader. Thus, its possible theres some stagnant code somewhere thats still enforcing it that we can throw out. I'll take a look. Odd that we have not seen this before, however.  &#60;/p&#62;
&#60;p&#62;Were pushing a new build soon, 0.0.4, you can already get it here (grab 0.0.4, not LATEST):&#60;br /&#62;
&#60;a href=&#34;http://static.leaflabs.com/pub/leaflabs/maple-ide/&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/leaflabs/maple-ide/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;In this build we cleaned up some of the reset-over-serial code to more gracefully close the serial port file pipes when maple resets, which should actually fix a lot of related problems. Give it a try.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siyuz on "usb_reset error"</title>
			<link>http://forums.leaflabs.com/topic.php?id=41#post-166</link>
			<pubDate>Tue, 01 Jun 2010 21:35:49 +0000</pubDate>
			<dc:creator>siyuz</dc:creator>
			<guid isPermaLink="false">166@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Everything seems to be working (except it takes a while after reset for the serial port to show up), but I keep getting this error.  Is it because it's trying to reset before Windows finished enumerating the devices?&#60;/p&#62;
&#60;p&#62;&#34;error resetting after download: usb_reset: could not reset device, win error: The system cannot find the file specified.&#34;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
