<?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: IDE can&#039;t find DFU device</title>
		<link>http://forums.leaflabs.com/topic.php?id=911</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:21:20 +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=911" rel="self" type="application/rss+xml" />

		<item>
			<title>brybry on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5641</link>
			<pubDate>Tue, 12 Jul 2011 21:34:35 +0000</pubDate>
			<dc:creator>brybry</dc:creator>
			<guid isPermaLink="false">5641@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Okay, I got it working.  Well, sort of.&#60;/p&#62;
&#60;p&#62;I got the idea to create another program (to be run on the host) which outputs the same text as when I run dfu-util.exe from the command line.  I put this new program in place of the real dfu-util and did the &#34;upload&#34; from the IDE...&#60;/p&#62;
&#60;p&#62;The IDE did everything just fine, as if it was the real dfu-util with hardware connected!&#60;/p&#62;
&#60;p&#62;So, the first thing I tried after that was to change dfu-util.exe (the real one) to run in Windows XP SP2 compatibility mode.  It worked!  I think it is an issue with the Java Runtime code, but I don't use Java (from a development POV) so I can't say for sure.&#60;/p&#62;
&#60;p&#62;But now I can't seem to get the uploaded program to run correctly, whether I upload from the IDE or the command line.  Oh well... I'm sure I can figure it out.&#60;/p&#62;
&#60;p&#62;Thanks for all your ideas!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brybry on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5638</link>
			<pubDate>Tue, 12 Jul 2011 19:23:38 +0000</pubDate>
			<dc:creator>brybry</dc:creator>
			<guid isPermaLink="false">5638@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yes, I created two new boards (a Flash one and a RAM one).  I don't think I changed anything other than the name.  What might I need to change?  (I made a copy of the RET6 board.)&#60;/p&#62;
&#60;p&#62;When dfu-util is executed normally from the IDE, what does it look like in the console?&#60;/p&#62;
&#60;p&#62;I have this feeling it isn't a problem with the bootloader or the hardware or anything like that.  It's not even getting to the point where those things could cause a problem.  &#60;/p&#62;
&#60;p&#62;It seems like the IDE isn't using dfu-util correctly.&#60;/p&#62;
&#60;p&#62;I'm going to take a look at the IDE source code...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5636</link>
			<pubDate>Tue, 12 Jul 2011 19:07:13 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">5636@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Have you got a suitable definition in your boards.txt?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brybry on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5635</link>
			<pubDate>Tue, 12 Jul 2011 18:59:16 +0000</pubDate>
			<dc:creator>brybry</dc:creator>
			<guid isPermaLink="false">5635@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Okay, I modified the RET6 bootloader and got it uploaded to my board.  I can upload test programs to the board from the command line, so I know that is working.  From the IDE, it still doesn't detect the DFU device.&#60;/p&#62;
&#60;p&#62;This is what I get when I run dfu-util.exe -l:&#60;/p&#62;
&#60;p&#62;dfu-util - (C) 2007-2008 by OpenMoko Inc.&#60;br /&#62;
This program is Free Software and has ABSOLUTELY NO WARRANTY&#60;/p&#62;
&#60;p&#62;Found DFU: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=0, name=&#34;DFU Program RAM 0x20000C00&#34;&#60;br /&#62;
Found DFU: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=1, name=&#34;DFU Program FLASH 0x08005000&#34;&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brybry on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5630</link>
			<pubDate>Tue, 12 Jul 2011 15:16:32 +0000</pubDate>
			<dc:creator>brybry</dc:creator>
			<guid isPermaLink="false">5630@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yes it is high-density.  I'll double check to see if I'm compiling the bootloader for a high-density chip.&#60;/p&#62;
&#60;p&#62;I will check all of this out when I get home this evening, and reply back to you. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5629</link>
			<pubDate>Tue, 12 Jul 2011 15:03:22 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">5629@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;brybry,&#60;/p&#62;
&#60;p&#62;First, can you paste the output from dfu-util -l?&#60;/p&#62;
&#60;p&#62;Next, can you successfully upload from the command line?  Looks like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$ dfu-util -a1 -d 0x1EAF:0x0003 -D your_binary.bin -R&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Where your_binary.bin is whatever compiled program you're trying to upload.  You can get access to the binary which the IDE produces by setting build.path=&#38;lt;some path&#38;gt; in your preferences.txt, compiling your program, then checking &#38;lt;some path&#38;gt; for the .bin.  The location of preferences.txt depends on your system, but you can find it by opening the IDE preferences window and looking where it tells you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5628</link>
			<pubDate>Tue, 12 Jul 2011 14:56:59 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">5628@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;is the stm32f103vtc6 (the chip youre using) a high density device (I think it is...)? In this case you should use the Maple Native/Maple RET6 bootloader instead. The high density chips have 2KB flash pages, not 1k, which is why DFU util isnt working for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brybry on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5627</link>
			<pubDate>Tue, 12 Jul 2011 13:08:49 +0000</pubDate>
			<dc:creator>brybry</dc:creator>
			<guid isPermaLink="false">5627@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;what do you mean?  What did it take to get the bootloader working?&#60;/p&#62;
&#60;p&#62;Well, basically, I had to change the LED and button pins and also the USB &#34;disc&#34; pin.  Once I got that working, Windows asked for the drivers, like is expected, and everything seems to work.  The IDE is even able to reset the board.  And like I said, running &#34;dfu-util.exe -l&#34; from the command line shows the two DFU devices.  But the IDE can't find anything.&#60;/p&#62;
&#60;p&#62;Please let me know what other info you want.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5625</link>
			<pubDate>Tue, 12 Jul 2011 12:09:43 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">5625@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;what is the first part of this story?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brybry on "IDE can&#039;t find DFU device"</title>
			<link>http://forums.leaflabs.com/topic.php?id=911#post-5624</link>
			<pubDate>Tue, 12 Jul 2011 09:14:25 +0000</pubDate>
			<dc:creator>brybry</dc:creator>
			<guid isPermaLink="false">5624@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;After a few frustrating days, I finally got the bootloader working on a different STM32F103 board. &#60;a href=&#34;http://www.micro4you.com/store/mini-stm32-stm32f103-tft-lcd-board-v4/prod_164.html&#34;&#62;(&#60;a href=&#34;http://www.micro4you.com/store/mini-stm32-stm32f103-tft-lcd-board-v4/prod_164.html&#34; rel=&#34;nofollow&#34;&#62;http://www.micro4you.com/store/mini-stm32-stm32f103-tft-lcd-board-v4/prod_164.html&#60;/a&#62;)&#60;/a&#62;  This in turn allowed me to install the drivers and everything seems fine, except that when I go to upload a program, the IDE gives me a &#34;Cannot find DFU device [1EAF:003]&#34; error.&#60;/p&#62;
&#60;p&#62;When I run &#34;dfu-util -l&#34; from the command prompt, it properly displays both devices (Flash and RAM).  It's like the IDE can't understand what dfu-util is returning.&#60;/p&#62;
&#60;p&#62;Using Perpetual Bootloader Mode doesn't make a difference.  BTW, I'm using Windows Vista 32 bit.&#60;/p&#62;
&#60;p&#62;Any advice?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Bryan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
