<?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: A proposal to improve Maple Firmware (Bootloader)</title>
		<link>http://forums.leaflabs.com/topic.php?id=207</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06:49 +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=207" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=5#post-12294</link>
			<pubDate>Fri, 10 Aug 2012 20:04:23 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12294@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks I guess I misread the above.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=5#post-12288</link>
			<pubDate>Fri, 10 Aug 2012 16:13:37 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12288@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;feurig:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
How permanent is this change and when will we see it rolled into the new codebase?&#60;br /&#62;
Am currently delivering 20 units and am thinking to myself that requiring perpetual bootloader mode is going to make field upgrades between the versions just this side of difficult.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Not sure I understand the question. Why will you need perpetual bootloader mode? The patches just implement the new &#34;open at 1200 baud, close&#34; reset signal. Even with these patches, SerialUSB still accepts the old DTR + &#34;1EAF&#34; reset signal, so if you didn't need perpetual bootloader before, you shouldn't need it now, and if you do, that's a bug.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=5#post-12261</link>
			<pubDate>Thu, 09 Aug 2012 14:36:28 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12261@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This post is about changing the mechanism that the current libmaple uses to enter the bootloader. The change IMHO is significant.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=5#post-12252</link>
			<pubDate>Thu, 09 Aug 2012 05:18:16 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">12252@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;:) easy way add CDC to bootloader but it increase code. Not need for me but this very easy to add CDC support.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=5#post-12241</link>
			<pubDate>Wed, 08 Aug 2012 16:48:07 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12241@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I need usb on mine, it is how we get the data off of the datalogger.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=5#post-12240</link>
			<pubDate>Wed, 08 Aug 2012 15:23:32 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">12240@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I make a simplest bootloader 2K site via serial port and compatible with avrdude (STK500 protocol). So i can add any feature as i need (no need USB for my devices).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=5#post-12238</link>
			<pubDate>Wed, 08 Aug 2012 11:53:24 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12238@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;How permanent is this change and when will we see it rolled into the new codebase?&#60;br /&#62;
Am currently delivering 20 units and am thinking to myself that requiring perpetual bootloader mode is going to make field upgrades between the versions just this side of difficult. I will have to do some testing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12199</link>
			<pubDate>Sun, 05 Aug 2012 14:32:46 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12199@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for the report. I was worried we'd get bad behavior like this. This unfortunately works fine for me on Maple Mini using 64-bit Ubuntu 12.04 and a 64-bit Fedora 17 virtual machine.&#60;/p&#62;
&#60;p&#62;I'll try to get an Arch VM up and running to see if I can reproduce.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosus on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12195</link>
			<pubDate>Sun, 05 Aug 2012 05:37:46 +0000</pubDate>
			<dc:creator>ventosus</dc:creator>
			<guid isPermaLink="false">12195@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I've tested this on a maple mini rev3 on 64bit ArchLinux.&#60;/p&#62;
&#60;p&#62;The method seems to work, but not with the python script (no matter if run with python2 or python3).&#60;/p&#62;
&#60;p&#62;The new reset.py script runs without errors, but the maple mini board is not reset.&#60;/p&#62;
&#60;p&#62;The old reset script/scheme still works as expected, though.&#60;/p&#62;
&#60;p&#62;What works for me is connecting to the maple mini with screen with a baud rate of 1200 and then disconnecting.&#60;/p&#62;
&#60;p&#62;&#38;gt; screen /dev/ttyACM0 1200&#60;br /&#62;
&#38;gt;&#38;gt; C-a C-k&#60;/p&#62;
&#60;p&#62;Then the maple mini does reset.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12183</link>
			<pubDate>Sat, 04 Aug 2012 02:09:05 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12183@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Update: preliminary implementation:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/mbolivar/libmaple/commit/df546c1ab0d8d35e7054be3c67ee8973a70b2ce7/&#34; rel=&#34;nofollow&#34;&#62;https://github.com/mbolivar/libmaple/commit/df546c1ab0d8d35e7054be3c67ee8973a70b2ce7/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The current strategy is to accept both reset signals (DTR + &#34;1EAF&#34; and closing the connection when baud=1200). We can rip out the old sequence once the new one is widely installed.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Please test this out&#60;/strong&#62;! It's in the new-reset-signal branch of &#60;a href=&#34;https://github.com/mbolivar/libmaple&#34;&#62;my libmaple tree&#60;/a&#62;. HOWTO  test(from within libmaple):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$ git remote add -f mbolivar git://github.com/mbolivar/libmaple.git
$ git checkout -b new-reset-signal mbolivar/new-reset-signal
$ make clean
$ cp examples/blinky.cpp main.cpp
$ make clean
$ make&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now play away! &#60;strong&#62;IMPORTANT: the first time you upload using this new code, your board must be in perpetual bootloader mode&#60;/strong&#62;. This is because reset.py in this tree no longer sends the old reset signal, so you'll need to &#34;bootstrap&#34; the install process by doing one upload to get the new reset firmware installed before it starts working.&#60;/p&#62;
&#60;p&#62;Independent confirmation that this works on various machines would be really nice.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Update&#60;/strong&#62;: Seems to work pretty reliably (one failure out of 15ish attempts) on OS X 10.6.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12133</link>
			<pubDate>Tue, 31 Jul 2012 16:13:42 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12133@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
As long as you plan to continue libmaple support for the low end processors&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Yes, definitely. libmaple support for F1s isn't going anywhere, and in fact should continue to improve.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
The joy of this method would be that it would cross usb classes. I have not tested this on lion but you can talk past the drivers directly to the device up through snow-leopard.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Yeah, but it also requires custom USB driver work, which ... yuck. I guess libusb might help on Windows, but it's just not something we can afford to support.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12094</link>
			<pubDate>Sat, 28 Jul 2012 13:45:15 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12094@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Aslo. I am not sure how you would be hurt by implementing a vendor specific control request in addition to whatever you decide to do here. &#60;/p&#62;
&#60;p&#62;The joy of this method would be that it would cross usb classes. I have not tested this on lion but you can talk past the drivers directly to the device up through snow-leopard. (sorry about my osx centered viewpoint) This still would require that your device enumerates (though the same code could be used to reset a cdc device or a hid device or ...) &#60;/p&#62;
&#60;p&#62;I wouldn't solve problems like the double reset issue being experienced elsewhere in the forum.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12080</link>
			<pubDate>Fri, 27 Jul 2012 21:24:39 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12080@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Mboliver My larger concern about the f4 is the cost/accessibility. The $5 verses the $15 arm. Also my issue with the DUE. What you are working out sounds cool! As long as you plan to continue libmaple support for the low end processors then my complaint is kind of mute.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12069</link>
			<pubDate>Fri, 27 Jul 2012 16:23:18 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12069@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
 Is the assumption that the comms processor and the host-reset-handshake will work perfectly always? Will the comms processor NOT have a &#34;the user wants to upload and maybe something isn't work perfectly&#34; button?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;If not always, then often enough that the simple expedient of power cycling should solve any remaining problems. Hopefully, that's not too brazen.&#60;/p&#62;
&#60;p&#62;Point taken, though. The current design has a &#34;comm reset&#34; that we were going to take out, but some perpetual bootloader style thing is a reasonable idea.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Is this board intended to permanently have the comms processor attached, or is it like a few of the ST and NXPresso boards where the JTAG part can be removed, and the board be embedded in a project?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;It's permanently attached. The layout is pretty tight, though, and we don't think the size will disappoint.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "A proposal to improve Maple Firmware (Bootloader)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=207&amp;page=4#post-12068</link>
			<pubDate>Fri, 27 Jul 2012 16:16:38 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12068@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
The key question is, will those lines appear on header pins, or pads that I can get at?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;That's not part of the current plan, which is only to have them accessible via software on the F4. This allows for &#34;manual&#34; access by having that software additionally listen to another pin which has already been broken out.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
But, is this comment saying you are not going to make the signals available to the comms processor to upgrade?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;No. The idea came to us too late in the design to implement. That sort of thing will have to wait for Maple 3 ;).&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
That &#34;Black Magic Probe&#34; looks like an excellent piece of work.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;It is. I've been using them for months, and they work flawlessly. The new editions use the 10-pin JTAG connector, so they'll be perfect for Maple 2. I've corresponded with the developer some as well; he's smart and very responsive.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
