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

		<item>
			<title>importer on "Enhancement: Force Bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=17#post-82</link>
			<pubDate>Sat, 03 Apr 2010 14:54:36 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">82@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Tue 12 of Jan., 2010 16:32 EST, by poslathian]&#60;/p&#62;
&#60;p&#62;Were fooling with bootloader based fixed now, although Im not certain that there isnt a Mac-end fix also.&#60;/p&#62;
&#60;p&#62;Unfortunately, the chip boots into appIDLE mode, not dfuIDLE, and exposes the application descriptors by default. Also, unfortunately, you would need a JTAG to flash a new bootloader on. You might get down and dirty and cut the traces on the boot0/1 pins and try and use the embedded serial bootloader that is fixed on the chip. By the way, were going make Maple V2 compatible with the serial bootloader for just this reason.&#60;/p&#62;
&#60;p&#62;The bootloader-side fix were trying is this:&#60;br /&#62;
DFU spec supports both host side bus reset and client side bus reset to enter dfu mode. Right now it looks something like this:&#60;/p&#62;
&#60;p&#62;Maple in appIDLE&#60;br /&#62;
Host-&#38;gt;Maple DFU Request&#60;br /&#62;
Maple in appDETACH&#60;br /&#62;
Host-&#38;gt;Maple usb bus reset&#60;br /&#62;
Maple in dfuIDLE&#60;/p&#62;
&#60;p&#62;but, on mac, dfu-util is disallowed from issuing the usb bus reset. However, the following is also a valid dfu startup sequence (with the appropriate modifications to the usb functional descriptor)&#60;/p&#62;
&#60;p&#62;Maple in appIDLE&#60;br /&#62;
Host-&#38;gt;Maple DFU Request&#60;br /&#62;
Maple-&#38;gt;Host usb bus reset&#60;br /&#62;
Maple in dfuIDLE&#60;/p&#62;
&#60;p&#62;well see if this works. It wont fix anything without a bootloader upgrade though. Again, im still unconvinced there isnt a software solution
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Enhancement: Force Bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=17#post-81</link>
			<pubDate>Sat, 03 Apr 2010 14:53:46 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">81@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Fri 08 of Jan., 2010 10:52 EST, by rsbohn]&#60;/p&#62;
&#60;p&#62;Seems like the bootloader trouble on Mac OS could be solved if there was some way to force the bootloader to remain active instead of launching an application. By this I mean that the board remains in dfuIDLE mode. Suppose the bootloader would check a pin, perhaps one on the extension port, and remain resident if that pin is grounded. I think this would allow you to flash the board from Mac OS.&#60;/p&#62;
&#60;p&#62;Alternatively, if you could clear out the application in Flash it looks like the bootloader would go to an endless loop (main.c:165). If you can stand to run your programs from RAM every time that might work.&#60;/p&#62;
&#60;p&#62;Do you need JTAG to re-install the bootloader, or is there some way to patch it?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
