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

		<item>
			<title>Wingnut on "Pulse DTR with Windows"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1691#post-10615</link>
			<pubDate>Fri, 11 May 2012 13:35:50 +0000</pubDate>
			<dc:creator>Wingnut</dc:creator>
			<guid isPermaLink="false">10615@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for the post, it helped clarify the steps, but still no-go.&#60;/p&#62;
&#60;p&#62;I've found a work-around by just putting my Windows app into a &#34;scanning&#34; loop, waiting for the selected COM port to disappear during a reset of the controller, then just calling DFU-UTIL to punch up the binary.&#60;/p&#62;
&#60;p&#62;Jay
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Pulse DTR with Windows"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1691#post-10593</link>
			<pubDate>Thu, 10 May 2012 14:40:32 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">10593@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
Is there a delay I should be paying attention to? (Set DTR HIGH for X milliseconds, then LOW for x milliseconds, then send the ASCII data?)
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;You could try replicating the timing we use in our reset.py script:&#60;br /&#62;
&#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/v0.0.12/support/scripts/reset.py#L66&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/blob/v0.0.12/support/scripts/reset.py#L66&#60;/a&#62;&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
When the maple goes into &#34;bootloader&#34; mode via software, will it flash the LED the same way as with the button? (So I can at least visually see whether it worked?)
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;There's only one way to run the bootloader (resetting the board), and it always behaves the same way, so you'll definitely be able to tell if the bootloader is running.&#60;/p&#62;
&#60;p&#62;The bootloader is just the program that's run on reset, so &#34;going into bootloader mode&#34; is synonymous with &#34;being reset&#34;. When the Maple detects the DTR pulse + &#34;1EAF&#34;, it just resets itself via SCB_AIRCR.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wingnut on "Pulse DTR with Windows"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1691#post-10589</link>
			<pubDate>Thu, 10 May 2012 12:26:23 +0000</pubDate>
			<dc:creator>Wingnut</dc:creator>
			<guid isPermaLink="false">10589@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok... after stumbling around a bit, I've gotten a bit further... (I can now send serial data to the Maple (took me a bit to figure out I had to reset the device each time I tried).&#60;/p&#62;
&#60;p&#62;BUT... it's still not responding to DTR pulse or 1EAF Ascii data transmission.&#60;/p&#62;
&#60;p&#62;Is there a delay I should be paying attention to?  (Set DTR HIGH for X milliseconds, then LOW for x milliseconds, then send the ASCII data?)&#60;/p&#62;
&#60;p&#62;When the maple goes into &#34;bootloader&#34; mode via software, will it flash the LED the same way as with the button?  (So I can at least visually see whether it worked?)&#60;/p&#62;
&#60;p&#62;Jay
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wingnut on "Pulse DTR with Windows"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1691#post-10582</link>
			<pubDate>Wed, 09 May 2012 18:15:33 +0000</pubDate>
			<dc:creator>Wingnut</dc:creator>
			<guid isPermaLink="false">10582@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Greetings.&#60;/p&#62;
&#60;p&#62;I'm struggling to build a Windows Flash update utility for the Maple R3 environment... &#60;/p&#62;
&#60;p&#62;My plan is to create a .NET program that can be installed... which will pulse the DTR and put the maple into Bootloader mode... and then launch DFU UTIL in the background to flash software updates to a customer base using the maple board.&#60;/p&#62;
&#60;p&#62;I've been working in .NET to create something that pulses DTR (HI/LOW) and sends the &#34;1EAF&#34; to the device to try to trigger the boatloader... and I can't get a thing out of the board.  In fact, when I try to send ANY data to the device (after the DTR pulse), my program just freezes when I try to send my first ASCII character.&#60;/p&#62;
&#60;p&#62;I have verified that the IDE will upload a compiled sketch to the maple board.  The IDE successfully pulses DTR, uploads the program, and resets the board... so I know my drivers are all OK, and I know that the hardware configuration is all good... (COM Port, etc).&#60;/p&#62;
&#60;p&#62;I'm just getting tripped up on the Windows implementation of this.&#60;/p&#62;
&#60;p&#62;Has anyone already written a windows program that will do what I'm attempting?  Or does anyone have a forehead slapping answer that could help put me on the correct path?&#60;/p&#62;
&#60;p&#62;(thanks in advance)&#60;/p&#62;
&#60;p&#62;Jay
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
