<?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: SerialUSB behaving differently when uploaded to FLASH.</title>
		<link>http://forums.leaflabs.com/topic.php?id=159</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:12:50 +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=159" rel="self" type="application/rss+xml" />

		<item>
			<title>Amir Hadzic on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1285</link>
			<pubDate>Wed, 15 Sep 2010 08:40:11 +0000</pubDate>
			<dc:creator>Amir Hadzic</dc:creator>
			<guid isPermaLink="false">1285@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Aww, now I can't wait to get home from work :\ (thank you, thank you!)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>perry on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1282</link>
			<pubDate>Tue, 14 Sep 2010 21:09:13 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">1282@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hi amir,&#60;/p&#62;
&#60;p&#62;i finally had time to look at it and it turned out to be a stupid bug. you can cherry-pick this commit, it should fix it:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://github.com/leaflabs/libmaple/commit/1cec807e44da29c5a122e57120174f4711d95f25&#34; rel=&#34;nofollow&#34;&#62;http://github.com/leaflabs/libmaple/commit/1cec807e44da29c5a122e57120174f4711d95f25&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1262</link>
			<pubDate>Tue, 14 Sep 2010 14:59:36 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1262@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;were still talking about micros() killing USB right? I have been *told* that this problem is &#34;understood&#34; with a patch on the way. But I wont pretend I know any more details than that. Heh. Sorry. Will keep you posted!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Amir Hadzic on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1167</link>
			<pubDate>Sat, 11 Sep 2010 10:33:45 +0000</pubDate>
			<dc:creator>Amir Hadzic</dc:creator>
			<guid isPermaLink="false">1167@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Those are all hardware workarounds, I need something that's not expensive, preferably a software workaround. Or at least some predictions when this could be fixed...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1141</link>
			<pubDate>Thu, 09 Sep 2010 17:07:06 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1141@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;An alternative, for Arduino owners, which we use ...&#60;/p&#62;
&#60;p&#62;Remove the USB lead, and power.&#60;br /&#62;
GENTLY lever the ATmega from it's socket, and put somewhere safe.&#60;br /&#62;
Some Swiss Army knives seem to have a narrow blade which works well for this.&#60;br /&#62;
Go slow, and lever a little bit (i.e. no more than 1mm) at both ends, almost like rocking back and forth repeatedly.&#60;br /&#62;
BE WARNED, rushing or levering one end too much may crack the chip, and kill it.&#60;br /&#62;
Be very gently, and go slow. (No smut please, I'm British :-)&#60;/p&#62;
&#60;p&#62;The Arduino is now an FTDI USB to serial converter.&#60;br /&#62;
Wire as sniglen suggests, but, of course, there is no need to load a sketch :-)&#60;/p&#62;
&#60;p&#62;PS - Further warning - if you think your Arduino has become sentient (and we think Nikki's 'Evil Ted' may be), then ensure there is *NO* USB or power applied to the Arduino while you are discussing this strategy, or getting ready to do it. Like HAL, 'Evil Ted' does not like to be disabled :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1135</link>
			<pubDate>Thu, 09 Sep 2010 09:25:28 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">1135@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;oops
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1133</link>
			<pubDate>Thu, 09 Sep 2010 09:20:34 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">1133@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I just had a crazy idea! If you have an Arduino you can use that as a USB-serial port.&#60;br /&#62;
Just put a sketch on the Arduino that doesn't use D0 or D1 (leave them as inputs) or serial communication, an empty sketch will do (empty setup and empty loop) or the &#34;Blink&#34; example.&#60;/p&#62;
&#60;p&#62;Then, to use usart1 on the maple, connect the Arduino D0 to Maple D8 and Arduino D1 to Maple D7.&#60;br /&#62;
But &#60;strong&#62;be careful with the non 5V tolerant pins on the Maple&#60;/strong&#62; if you have a 5V Arduino. (So &#60;strong&#62;don't&#60;/strong&#62; use it with usart2 on the Maple). Don't forget to remove the connection if you reprogram the Arduino.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Amir Hadzic on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1070</link>
			<pubDate>Tue, 07 Sep 2010 10:22:30 +0000</pubDate>
			<dc:creator>Amir Hadzic</dc:creator>
			<guid isPermaLink="false">1070@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Oh well, I'll try to come up with something until the bug gets fixed. The real problem with buying the cable or the module (at least for me) is shipping and shipping fees. I have checked my local electronics shops and they don't know what FTDI is so... :\
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1067</link>
			<pubDate>Tue, 07 Sep 2010 09:51:06 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">1067@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I don't know. The module and the cable are basically the same thing. The cable have the ftdi-chip built into the usb-connector, so it's like an even smaller module in the connector. Maybe that, and the cable itself, adds a couple of dollars. But if you have a serial port and a breadboard you can get away with a max232 and a couple of capacitors. Maybe thats ok, for development at least.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Amir Hadzic on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1065</link>
			<pubDate>Tue, 07 Sep 2010 09:33:46 +0000</pubDate>
			<dc:creator>Amir Hadzic</dc:creator>
			<guid isPermaLink="false">1065@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Is there some reason why this cable is 17$ :\
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159&amp;page=2#post-1063</link>
			<pubDate>Tue, 07 Sep 2010 09:11:37 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">1063@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You only need one of them, cable or module, not both. (With the module you need a standard USB-AB cable tough).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Amir Hadzic on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159#post-1062</link>
			<pubDate>Tue, 07 Sep 2010 08:53:10 +0000</pubDate>
			<dc:creator>Amir Hadzic</dc:creator>
			<guid isPermaLink="false">1062@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;That's quite an expensive workaround. You can almost buy an maple board for that cable + module.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>snigelen on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159#post-1058</link>
			<pubDate>Tue, 07 Sep 2010 04:26:14 +0000</pubDate>
			<dc:creator>snigelen</dc:creator>
			<guid isPermaLink="false">1058@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;A workaround is to use one of the hardware USARTS for communication (but then we don't get important bug reports like this). I find it very handy to use a &#60;a href=&#34;http://www.sparkfun.com/commerce/product_info.php?products_id=9115&#34;&#62;FTDI module&#60;/a&#62; or a &#60;a href=&#34;http://www.sparkfun.com/commerce/product_info.php?products_id=9717&#34;&#62;FTDI-cable&#60;/a&#62;. Note that thay come in both 3.3V and 5V versions, so be careful with the 5V variant with USART2 which isn't on 5V tolerant pins.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Amir Hadzic on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159#post-1056</link>
			<pubDate>Tue, 07 Sep 2010 04:14:21 +0000</pubDate>
			<dc:creator>Amir Hadzic</dc:creator>
			<guid isPermaLink="false">1056@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yup, after testing the first example I posted here (the one that uses micros()) the USB stopped working again. I thought that it's my fault (again) so I didn't want to post here :-)&#60;/p&#62;
&#60;p&#62;Let me know if there is a workaround. Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "SerialUSB behaving differently when uploaded to FLASH."</title>
			<link>http://forums.leaflabs.com/topic.php?id=159#post-1051</link>
			<pubDate>Mon, 06 Sep 2010 19:24:00 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">1051@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I think your above problems may be due to a recently discovered bug where micros() kills USB... I think this is due to the new micros() toggling the global interrupt flag (which we haven't tested much yet), but we'll have to have perry look at it.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
