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

		<item>
			<title>cambazz on "Unable to upload code to maple mini r3"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51249#post-104748</link>
			<pubDate>Thu, 10 Oct 2013 15:15:22 +0000</pubDate>
			<dc:creator>cambazz</dc:creator>
			<guid isPermaLink="false">104748@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello, &#60;/p&#62;
&#60;p&#62;I choose maple Rev3+ to flash. And I closely observed the behaivor you suggested, and I determined it was unable to upload. However I then switched to linux.&#60;/p&#62;
&#60;p&#62;Although Linux will not see the serial port, because the device disconnects after a little while, I then set it on perpetual bootloader mode, and programmed it as Mini Rev 2 to flash, and indeed, I am able to upload code, and run my own modified blink. It was also able to switch to run mode from bootloader mode, and I am even able to program without putting in perpetual bootloader mode, (which i accidentally discovered, by pressing reset when the board is trying to upload, and not being able to find and start searching for dfu, you just click reset - and it will find it)&#60;/p&#62;
&#60;p&#62;So this device is marked as maple mini r3, but i have to choose mini rev 2 as board? I have confirmed this is the case.&#60;/p&#62;
&#60;p&#62;Best regards,&#60;br /&#62;
-c.b.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Unable to upload code to maple mini r3"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51249#post-80098</link>
			<pubDate>Sun, 06 Oct 2013 07:02:58 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">80098@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;cambazz - Just to help us a bit more, what is the settings for Tools-&#38;gt;Board when you're uploading from the IDE?&#60;/p&#62;
&#60;p&#62;Have you tried changing the parameter to &#60;code&#62;delay()&#60;/code&#62; in blink to ensure you are seeing the perpetual bootloader, and not the blink program? Try &#60;code&#62;delay(100)&#60;/code&#62;, which is a much faster blink.&#60;/p&#62;
&#60;p&#62;Have you tried removing power from the mini, then applying power again? (That should take it out of perpetual bootloader mode) Does the mini show the program running?&#60;/p&#62;
&#60;p&#62;Edit: Full disclosure. I am not a member of LeafLabs staff.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cambazz on "Unable to upload code to maple mini r3"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51249#post-74586</link>
			<pubDate>Sat, 05 Oct 2013 15:31:33 +0000</pubDate>
			<dc:creator>cambazz</dc:creator>
			<guid isPermaLink="false">74586@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I got myself a pair of maple mini r3 and the regular maple r5. I setup the ide, and although i am able to upload the code into the maple r5 board, I was not able to upload code to the maple mini. I uploaded drivers, and when i run dfu-util.exe  -l, I get:&#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&#60;br /&#62;
 0x20000C00&#34;&#60;br /&#62;
Found DFU: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=1, name=&#34;DFU Program FLA&#60;br /&#62;
SH 0x08005000&#34;&#60;/p&#62;
&#60;p&#62;I got my board in perpetual bootloader mode, and then i tried to upload the blink program. When the board is in bootloader mode, I click upload and then i get:&#60;/p&#62;
&#60;p&#62;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...&#60;/p&#62;
&#60;p&#62;Searching for DFU device [1EAF:0003]...&#60;br /&#62;
Found it!&#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=1, name=&#34;DFU Program FLASH 0x08005000&#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=257&#60;br /&#62;
Starting download: [##################################################] finished!&#60;br /&#62;
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present&#60;br /&#62;
Done!&#60;br /&#62;
Resetting USB to switch back to runtime mode&#60;/p&#62;
&#60;p&#62;However no matter what i tried i was not successful to upload code and execute it. And I wanted to ask, how do we get out of perpetual bootloader mode.&#60;/p&#62;
&#60;p&#62;any ideas/recomendations/help greatly appreciated,&#60;/p&#62;
&#60;p&#62;-c.b.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
