<?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: Unable to upload code to Maple</title>
		<link>http://forums.leaflabs.com/topic.php?id=74077</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:48 +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=74077" rel="self" type="application/rss+xml" />

		<item>
			<title>amatic on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104943</link>
			<pubDate>Mon, 18 Nov 2013 04:12:57 +0000</pubDate>
			<dc:creator>amatic</dc:creator>
			<guid isPermaLink="false">104943@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Just a side note,&#60;br /&#62;
prolonging &#34;Delay after reset&#34; seems to increase uploading success rate. It can be found In file-&#38;gt;preferences. I changed it from 1000 to 4000 ms and most uploads succeed, although not all. Windows 7, 32bit.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104843</link>
			<pubDate>Fri, 01 Nov 2013 08:00:11 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">104843@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello I finally solved my problem with maple-mini r2. Perhaps it's a clone version of Maple-mini. The reason why i think so is that the bootloader wasn't already uploaded to the uC. At the beginning when i plugged the board there were no blinking of blue diode. While trying to upload the program compiler was saying: Couldn't find the DFU device: [1EAF:0003]. Trying the reset button tricks wasn't working at all (&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=73&#38;amp;page=4&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=73&#38;amp;page=4&#60;/a&#62; and &#34;saps&#34; response). I decided to try to upload the bootloader by myself. So i found this link: &#60;a href=&#34;http://leaflabs.com/docs/bootloader.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/bootloader.html&#60;/a&#62; And downloaded all mentioned positions (i used the 2.7 version of python, python33 isn't working for me) And here is one important thing you need if you want to do anything with new bootloader, you need: &#60;a href=&#34;https://www.sparkfun.com/products/718&#34; rel=&#34;nofollow&#34;&#62;https://www.sparkfun.com/products/718&#60;/a&#62; it's FTDI breakout board. In my case it was different board with FT232RL chip. And connect it with instruction i bootloader instruction. And here was another problem for me, im not using recommended board, in my breakout board i hat do connect it like RX1 to RX and TX1 to TX (dont know why, in this setting it only worked, in other case cmd window was showing this error: Can't init. Ensure BOOT0=1, BOOT1=0, and reset device) You also need to connect BOOT1 to gnd pin. Then the bootloader was succesfuly loaded. How happy i was. But it wasnt end of my problems. Diode started blinking as described but IDE couldn't upload program showing again Couldn't find ... error. In device manager Maple R3 has yellow sign. I just reinstalled drivers as described here: &#60;a href=&#34;http://sourceforge.net/apps/trac/libusb-win32/wiki&#34; rel=&#34;nofollow&#34;&#62;http://sourceforge.net/apps/trac/libusb-win32/wiki&#60;/a&#62; . After restart it was fine and IDE FINALY uploaded the blink example. And i'm a happy person right now :). BTW im using the Windows7 x64 version. It's fine now :) I hope it will help someone to solve the problem.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104840</link>
			<pubDate>Thu, 31 Oct 2013 19:35:00 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">104840@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I tried to follow your idea but i doesn't work for me. When i click the upload button in IDE it says:&#60;/p&#62;
&#60;p&#62;Going to build using 'armcompiler' (ARM)&#60;br /&#62;
	Compiling core...&#60;br /&#62;
	No libraries to compile.&#60;br /&#62;
	Compiling the sketch...&#60;br /&#62;
	Linking...&#60;br /&#62;
	Computing sketch size...&#60;/p&#62;
&#60;p&#62;C:\Users\krab\AppData\Local\Temp\build4089010886515028504.tmp\Blink.cpp.bin  :&#60;br /&#62;
section    size   addr&#60;br /&#62;
.data   12736      0&#60;br /&#62;
Total   12736&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 108000 byte maximum.&#60;br /&#62;
Loading via dfu-util&#60;br /&#62;
Resetting to bootloader via DTR pulse&#60;br /&#62;
Searching for DFU device [1EAF:0003]...&#60;br /&#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;Couldn't find the DFU device: [1EAF:0003]&#60;/p&#62;
&#60;p&#62;When this line shows: Searching for DFU device [1EAF:0003]...&#60;/p&#62;
&#60;p&#62;Maple-mini is switching off (there is a sound of disabling a device) and it switch on (another sound). Then after a second this line appear : &#60;/p&#62;
&#60;p&#62;Couldn't find the DFU device: [1EAF:0003]. When i try to hold reset button it's that same.&#60;/p&#62;
&#60;p&#62;//Edit: When i push the button before IDE will start Restoring to bootlodader... i have this information:&#60;/p&#62;
&#60;p&#62;&#34;Reset via USB Serial Failed! Did you select the serial right serial port?&#60;br /&#62;
Assuming the board is in perpetual bootloader mode and continuing to attempt dfu programming...&#34;&#60;/p&#62;
&#60;p&#62;And the rest is that same as before: Couldn't find the DFU device: [1EAF:0003]
&#60;/p&#62;</description>
		</item>
		<item>
			<title>spas on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104839</link>
			<pubDate>Thu, 31 Oct 2013 19:04:26 +0000</pubDate>
			<dc:creator>spas</dc:creator>
			<guid isPermaLink="false">104839@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;When I am uploading to my Olimex board I monitor the console and hit the button when the IDE starts to look for the DFU. Pressing the button before this seems to upset the apple cart and the IDE cannot see the Micro. I hope this helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104838</link>
			<pubDate>Thu, 31 Oct 2013 18:39:37 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">104838@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for your answer. Yep it seems that I ordered a clone version of Maple-mini. I didn't know that it isn't original version. So as far as i know right now my board doesn't have any bootloader inside. I found someone who seems to have same problem as me response &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=73&#38;amp;page=4&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=73&#38;amp;page=4&#60;/a&#62;. I tried to follow him but i dont get the final idea of pushing the reset button in right moment. To answer your question, im using Windows 7 x64. I have installed the drivers to maple board. The Device Manager says thar Maple R3 is connected. While I'm trying to upload the blink example command window says: &#34;Couldn't find the DFU device: [1EAF:0003]&#34;. So am I right that I have to upload by myself the bootloader? I found this link &#60;a href=&#34;http://leaflabs.com/docs/bootloader.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/bootloader.html&#60;/a&#62; and I'm about to try to upload it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104837</link>
			<pubDate>Thu, 31 Oct 2013 18:12:30 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">104837@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;krab - &#60;em&#62;&#34;What if the Malpe Mini don't want to get into the Perpetual Bootloader Mode ?. When i push the button for whatever how long etc. it remains disconnected&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;What OS are you using?&#60;/p&#62;
&#60;p&#62;What do you mean by &#34;disconnected&#34;? The Maple-mini is &#60;strong&#62;NOT&#60;/strong&#62; a USB serial device when it is waiting for a program, so it can look like it is disconnected. It is a USB DFU device when it is waiting for a program.&#60;/p&#62;
&#60;p&#62;Have you got a 'real' Maple-mini, or a clone?&#60;br /&#62;
I find it a bit tricky to get the button clicks right (the time when it flashes is a bit too quick), but AFAIK a real Maple-mini &#60;strong&#62;will always&#60;/strong&#62; go into perpetual bootloader mode unless the buttons are damaged.&#60;/p&#62;
&#60;p&#62;However, I think a few people with clones have reported their clone has had problems.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104836</link>
			<pubDate>Thu, 31 Oct 2013 17:22:33 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">104836@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;What if the Malpe Mini don't want to get into the Perpetual Bootloader Mode ?. When i push the button for whatever how long etc. it remains disconnected
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104824</link>
			<pubDate>Sat, 26 Oct 2013 11:30:07 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">104824@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;EricO - I'm a Mac user, but I'll try to help.&#60;/p&#62;
&#60;p&#62;&#60;em&#62;&#34;Is the Maple supposed to acquire a COM port such as the Arduino board?:&#60;/em&#62;&#60;br /&#62;
The Maple is a bit odd. It changes its USB type.&#60;br /&#62;
When it is ready to have code uploaded, it is a USB DFU device (like a mobile phone), and when it is running normal user programs, it is a USB serial device (like an Arduino).&#60;br /&#62;
This change of USB 'personality' can cause problems on Windows.&#60;/p&#62;
&#60;p&#62;One approach is to put the Maple into the DFU upload state, called 'Perpetual Bootloader Mode':&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/troubleshooting.html#perpetual-bootloader-mode&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/troubleshooting.html#perpetual-bootloader-mode&#60;/a&#62;&#60;br /&#62;
It will stay in that mode until either power is taken away, or code is uploaded from the IDE.&#60;br /&#62;
It takes a  bit of practice to get it, but once in perpetual bootloader mode, the IDE usually sees it, and everything works.&#60;br /&#62;
However the normal test is 'Blink', which can look like perpetual bootloader mode, so make sure your test is a bit more complex or recognisable.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>EricO on "Unable to upload code to Maple"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74077#post-104820</link>
			<pubDate>Fri, 25 Oct 2013 14:28:19 +0000</pubDate>
			<dc:creator>EricO</dc:creator>
			<guid isPermaLink="false">104820@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Running on Windows 7 64bit, I followed the directions from the following post:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=73#post-788&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=73#post-788&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Installation appeared to be successful, I can run the IDE and compile but when I upload code to the device, I get &#34;Couldn't find the DFU device: [1EAF:0003]&#34;&#60;/p&#62;
&#60;p&#62;Is the Maple supposed to acquire a COM port such as the Arduino board?  Mine does not but it does have its own entry in Device Manager.&#60;/p&#62;
&#60;p&#62;I have had this board for four days now, I'd love to see if works ;-)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
