<?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: Can&#039;t flash my Maple Mini</title>
		<link>http://forums.leaflabs.com/topic.php?id=74406</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:09:57 +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=74406" rel="self" type="application/rss+xml" />

		<item>
			<title>edocod on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105619</link>
			<pubDate>Sat, 10 Jan 2015 13:53:49 +0000</pubDate>
			<dc:creator>edocod</dc:creator>
			<guid isPermaLink="false">105619@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Oh! Here's what happened: I did make install without adding the variable BOARD=maple_mini, so the library was already compiled for another board. With rm -rv libmaple/build/* i deleted all the build files and it started to work :D
&#60;/p&#62;</description>
		</item>
		<item>
			<title>edocod on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105618</link>
			<pubDate>Sat, 10 Jan 2015 13:43:35 +0000</pubDate>
			<dc:creator>edocod</dc:creator>
			<guid isPermaLink="false">105618@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;My one is a Baite one :9&#60;br /&#62;
However, I can compile and upload code using the gcc toolchain, but it just refuses to run! Even the blinky sample doesn't work.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;edoardo@localhost:~/Scrivania/maple/libmaple$ make BOARD=maple_mini install
Install target: flash
./support/scripts/reset.py &#38;amp;&#38;amp; sleep 1                  &#38;amp;&#38;amp; dfu-util -a1 -d 1EAF:0003 -D build/maple_mini.bin -R
Could not find Maple serial port; defaulting to /dev/maple.
Using /dev/maple as Maple serial port
Failed to open serial port /dev/maple for reset

(i press the reset button here)

dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to &#60;a href=&#34;mailto:dfu-util@lists.gnumonks.org&#34;&#62;dfu-util@lists.gnumonks.org&#60;/a&#62;

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1eaf:0003
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 1024
Copying data from PC to DFU device
Download	[=========================] 100%        16056 bytes
Download done.
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>bobc on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105617</link>
			<pubDate>Sat, 10 Jan 2015 08:44:34 +0000</pubDate>
			<dc:creator>bobc</dc:creator>
			<guid isPermaLink="false">105617@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I think you have now downloaded a copy of the bootloader into the user application Flash, so that is not going to work :(&#60;/p&#62;
&#60;p&#62;To change the bootloader you would need to use the serial ROM bootloader or a JTAG/SWD connection. You can get USB-TTL serial adapters for a few $, so that is the cheapest route.&#60;/p&#62;
&#60;p&#62;The &#34;Baite&#34; branded Maple Mini clones seem to be quite reliable, and a lot cheaper.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>edocod on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105615</link>
			<pubDate>Sat, 10 Jan 2015 07:03:18 +0000</pubDate>
			<dc:creator>edocod</dc:creator>
			<guid isPermaLink="false">105615@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I can successfully flash it from dfu-utils, so it's working. The maple ide, however, doesn't work:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;edoardo@localhost:~/Scaricati$ dfu-util -d [1eaf:0003] -a 1 -v -D maple_mini_boot.bin
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to &#60;a href=&#34;mailto:dfu-util@lists.gnumonks.org&#34;&#62;dfu-util@lists.gnumonks.org&#60;/a&#62;

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1eaf:0003
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 1024
Copying data from PC to DFU device
Download	[=========================] 100%        15516 bytes
Download done.
Sent a total of 15516 bytes
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And now i have a continuously rebooting Maple Mini! Are there any logs for the IDE so i can check what's wrong?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>edocod on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105613</link>
			<pubDate>Fri, 09 Jan 2015 15:11:46 +0000</pubDate>
			<dc:creator>edocod</dc:creator>
			<guid isPermaLink="false">105613@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Just read this: &#60;a href=&#34;http://ixox.fr/forum/index.php?topic=2392.0&#34; rel=&#34;nofollow&#34;&#62;http://ixox.fr/forum/index.php?topic=2392.0&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Guess I'll have to throw it away!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>edocod on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105612</link>
			<pubDate>Fri, 09 Jan 2015 15:06:01 +0000</pubDate>
			<dc:creator>edocod</dc:creator>
			<guid isPermaLink="false">105612@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;It was from Aliexpress: &#60;a href=&#34;http://www.aliexpress.com/item/leaflabs-Leaf-maple-mini-ARM-STM32-compatibility/32229442295.html&#34; rel=&#34;nofollow&#34;&#62;http://www.aliexpress.com/item/leaflabs-Leaf-maple-mini-ARM-STM32-compatibility/32229442295.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Could this be the problem?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105611</link>
			<pubDate>Fri, 09 Jan 2015 14:53:26 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105611@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@edocod - is this a real Maple Mini, or an &#34;eBay knock-off&#34;?&#60;/p&#62;
&#60;p&#62;Perpetual bootloader does take a bit of practice, so please try to get there.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>edocod on "Can&#039;t flash my Maple Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74406#post-105610</link>
			<pubDate>Fri, 09 Jan 2015 12:53:26 +0000</pubDate>
			<dc:creator>edocod</dc:creator>
			<guid isPermaLink="false">105610@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;br /&#62;
I've got a Maple for playing with ARM processors, but i can't seem to be able to program it :(&#60;br /&#62;
I tried all that's written on the wiki (page Troubleshooting) but the perpetual mode doesn't work and i can't flash a new bootloader because i don't have a serial port on my pc.&#60;/p&#62;
&#60;p&#62;Here's what dmesg says about the Maple:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[ 9872.820218] usb 6-1: new full-speed USB device number 8 using ohci-pci
[ 9872.989201] usb 6-1: New USB device found, idVendor=1eaf, idProduct=0003
[ 9872.989209] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9872.989214] usb 6-1: Product: Maple 003
[ 9872.989218] usb 6-1: Manufacturer: LeafLabs
[ 9872.989222] usb 6-1: SerialNumber: LLM 003
[ 9875.254881] usb 6-1: USB disconnect, device number 8
[ 9875.645043] usb 6-1: new full-speed USB device number 9 using ohci-pci
[ 9875.818008] usb 6-1: New USB device found, idVendor=1eaf, idProduct=0004
[ 9875.818015] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9875.818021] usb 6-1: Product: Maple
[ 9875.818024] usb 6-1: Manufacturer: LeafLabs
[ 9875.820151] cdc_acm 6-1:1.0: ttyACM6: USB ACM device
[ 9908.332633] cdc_acm 6-1:1.0: failed to set dtr/rts&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The maple gui tries to reset the Maple, but after some seconds it fails:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Binary sketch size is reported above. Check it against a 108000 byte maximum.
Loading via dfu-util
Resetting to bootloader via DTR pulse
Searching for DFU device [1EAF:0003]...
Error!&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here's lsusb:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Bus 006 Device 013: ID 1eaf:0004&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;What can i do?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
