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

		<item>
			<title>poslathian on "Unstable serial output"</title>
			<link>http://forums.leaflabs.com/topic.php?id=179#post-1259</link>
			<pubDate>Tue, 14 Sep 2010 14:34:57 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1259@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Very interesting. I was going to suggest it was a timing thing.&#60;br /&#62;
In linux, if you try an open a nonexistant serial port on /dev/ttyACM0, then if a serial device does suddenly crop up, it gets bounced to /dev/ttyACM1,2,3...etc&#60;/p&#62;
&#60;p&#62;This is exactly what happens if you reset the board and then immediately try and open the serial port. the USB init function gets called as part of the user code, not the bootloader. So directly after reset, there is no serial port for about 4 seconds. &#60;/p&#62;
&#60;p&#62;Autoreset seems finicky for unknown reasons, especially when using additional peripherals like lots of timers or interrupts. We are working on this issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GuzZzt on "Unstable serial output"</title>
			<link>http://forums.leaflabs.com/topic.php?id=179#post-1172</link>
			<pubDate>Sun, 12 Sep 2010 13:42:14 +0000</pubDate>
			<dc:creator>GuzZzt</dc:creator>
			<guid isPermaLink="false">1172@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Never mind, I found it myself. It was a hardware problem, I used too much power and that seems to be the cause of the instability. It works fine with an external power source.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GuzZzt on "Unstable serial output"</title>
			<link>http://forums.leaflabs.com/topic.php?id=179#post-1171</link>
			<pubDate>Sun, 12 Sep 2010 13:09:50 +0000</pubDate>
			<dc:creator>GuzZzt</dc:creator>
			<guid isPermaLink="false">1171@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have a problem with the serial output in Linux (Ubuntu 10.4.1 LTS). I can most of the times not auto reset the board so I must press the RST button, but that is not the main problem. When I connect the board /dev/ttyACM0 is in the list but if I turn on the serial monitor that port is almost immediately removed and I instead get /dev/ttyACM1. If I change to that port and start the serial monitor again it changes back... I most of the times get only a few lines of output or none at all. This is very frustrating. &#60;/p&#62;
&#60;p&#62;The program is very simple, a loop that every 100 ms outputs a value from a gyro read by analogRead().&#60;/p&#62;
&#60;p&#62;(I'm new to Linux so I don't know how to debug this. I switched to Linux because I found it working even worse in Windows Vista x64.)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
