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

		<item>
			<title>mbolivar on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12764</link>
			<pubDate>Tue, 21 Aug 2012 13:44:35 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">12764@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
So somehow, usb must have been disabled at some point. To fix this, I added SerialUSB.enable() into a sample program and uploaded it. ttyACM0 came back and all was good!&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;That is very strange. This all works for me on Ubuntu 12.04, and SerialUSB.begin() gets called from init(), so you shouldn't need to call it yourself.&#60;/p&#62;
&#60;p&#62;Did you forget to call init() in your premain(), like we do in all of our example code? Can you post a short, complete example program that exhibits the problem (no /dev/ttyACMx showing up)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12499</link>
			<pubDate>Fri, 17 Aug 2012 09:47:20 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">12499@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;OK IT ALL WORKs. &#60;/p&#62;
&#60;p&#62;So somehow, usb must have been disabled at some point. To fix this, I added SerialUSB.enable() into a sample program and uploaded it. ttyACM0 came back and all was good! asterix - I also added your code in as a way to prevent the code from moving on until I could see the output - neat! thank you! So if ever ttyACM0 disappears, just need to upload a program with SerialUSB.enable() and it'll be back!&#60;/p&#62;
&#60;p&#62;Thanks everyone!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12494</link>
			<pubDate>Fri, 17 Aug 2012 06:48:50 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">12494@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I'm sorry but none of this has worked :( ttyACM just doesn't even show up in the /dev directory!! Bootloader worked, code uploaded - I rearranged the make/environment command and still no response from screen. Why aren't any ttyACM devices showing up?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>asterix on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12491</link>
			<pubDate>Fri, 17 Aug 2012 06:12:09 +0000</pubDate>
			<dc:creator>asterix</dc:creator>
			<guid isPermaLink="false">12491@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have found a work around for this. In your setup function write in something like this:&#60;/p&#62;
&#60;p&#62;while (SerialUSB.available() &#38;lt; 1 )&#60;br /&#62;
{&#60;br /&#62;
 SerialUSB.write('a');&#60;br /&#62;
 delay ( 1000);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;This somehow forces the commm port open ;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosus on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12490</link>
			<pubDate>Fri, 17 Aug 2012 04:05:54 +0000</pubDate>
			<dc:creator>ventosus</dc:creator>
			<guid isPermaLink="false">12490@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You have to set the environment variable BEFORE running make&#60;/p&#62;
&#60;p&#62;BOARD=maple_mini make install
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12478</link>
			<pubDate>Thu, 16 Aug 2012 22:45:34 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">12478@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi feurig,&#60;/p&#62;
&#60;p&#62;Perpetual bootloader allows me to reupload the code (after double and triple-checking that I am in fact compiling for maple-mini: make BOARD=maple_mini install), but it does not return /dev/ttyACM0. That is, it cannot be used for serial USB communication like the interactive program requires. So when I run: ls /dev/ttyACM* - I don't find any directories!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12468</link>
			<pubDate>Thu, 16 Aug 2012 16:11:36 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">12468@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I often have this issue when I compile code for the wrong processor. You should be able to recover by putting it into permanent bootloader mode as described here. &#60;a href=&#34;http://leaflabs.com/docs/troubleshooting.html#troubleshooting-perpetual-bootloader&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/troubleshooting.html#troubleshooting-perpetual-bootloader&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Maple-mini USB Connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2448#post-12466</link>
			<pubDate>Thu, 16 Aug 2012 11:46:14 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">12466@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;Recently purchased the Maple-mini board and have been using the Linux command-line toolchain. When trying the test-session.cpp program, I found that after I uploaded the program successfully (albeit having to press reset on the board first so that the computer would detect a dfu device), it reads the message - Resetting USB to switch back to runtime mode. I understand that this needs to happen but my Ubuntu is not picking it back up again - i.e. no ttyACM0 port appears in the /dev directory. Thus, I cannot use the 'interactive' features of the program using either minicom or screen. Unplugging and replugging the device or using the reset button does nothing - i.e. dmesg registers a new device was plugged in and then automatically disconnects it! Thus I cannot use any USB interaction! Can someone please please help?!! I need to have this system running ASAP for my project.&#60;/p&#62;
&#60;p&#62;OS: Ubuntu 12.04&#60;/p&#62;
&#60;p&#62;Cheers!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
