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

		<item>
			<title>mikep on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-21019</link>
			<pubDate>Mon, 12 Nov 2012 22:50:27 +0000</pubDate>
			<dc:creator>mikep</dc:creator>
			<guid isPermaLink="false">21019@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;As feurig mentioned, you could use some shift registers (&#60;a href=&#34;http://www.arduino.cc/en/Tutorial/ShiftOut&#34; rel=&#34;nofollow&#34;&#62;http://www.arduino.cc/en/Tutorial/ShiftOut&#60;/a&#62;) to give you more output pins. The 74HC595 is pretty inexpensive and gives you an additional 8 output pins by using 3 of the Arduino/Maple pins.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>raymadigan on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-21016</link>
			<pubDate>Mon, 12 Nov 2012 20:26:08 +0000</pubDate>
			<dc:creator>raymadigan</dc:creator>
			<guid isPermaLink="false">21016@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I just figured out the problem, I left the led's connected to the usb pins.  Once I removed them I was able to put it in perpetual bootloader mode and write the bare minimum sketch to the device and it works again.&#60;/p&#62;
&#60;p&#62;I do want to use these pins, so would an idea like this work:&#60;/p&#62;
&#60;p&#62;put a 2 position dip switch between the maple and the wires that connect to the led's.  When open I can load a program from the perpetual bootloader.&#60;/p&#62;
&#60;p&#62;If I know to stop writing to the pins.  My loop checks several other dip switches and one of those could be used to signal to stop writing to the pins and enable the usb function.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>raymadigan on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-21013</link>
			<pubDate>Mon, 12 Nov 2012 13:47:26 +0000</pubDate>
			<dc:creator>raymadigan</dc:creator>
			<guid isPermaLink="false">21013@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If I reset the board it goes back to my program that is blocking the usb port and making it unavailable.  I don't understand something I guess, i just wish I knew what it is.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-21011</link>
			<pubDate>Mon, 12 Nov 2012 13:25:07 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">21011@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If its in bootloader mode then the pc is looking for a dfu to load the code with.&#60;br /&#62;
For programming, it only needs the serial port to reset the board into dfu mode.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>raymadigan on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-21009</link>
			<pubDate>Mon, 12 Nov 2012 13:00:56 +0000</pubDate>
			<dc:creator>raymadigan</dc:creator>
			<guid isPermaLink="false">21009@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you for the help.&#60;/p&#62;
&#60;p&#62;I read the Tips and Tricks, Perpetual Bootloader Mode to make sure I was doing it correctly.  I think I did it, the board stays in the slow blink mode and doesn't seem to run the program.  However my PC can't see the com port to upload a program to it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-21007</link>
			<pubDate>Mon, 12 Nov 2012 08:11:29 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">21007@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hold BUT just after you reset the Maple Mini to be able to upload a new sketch. This will put it into perpetual bootloader mode.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>raymadigan on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-20983</link>
			<pubDate>Sun, 11 Nov 2012 22:11:07 +0000</pubDate>
			<dc:creator>raymadigan</dc:creator>
			<guid isPermaLink="false">20983@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;the problem is now I can't talk to the maple.&#60;/p&#62;
&#60;p&#62;Nothing is wrong with my approach, I just didn't figure out in the beginning that the pins labeled USB are also the pins that are connected to the usb socket and if used make it so the ide can't talk to the device.  Silly mistake, but now I either have to buy a new device or something.  I used the pins because they seemed available.  &#60;/p&#62;
&#60;p&#62;I like the maple mini because I can solder it to my pc board and all of the hardware is in one board.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-20982</link>
			<pubDate>Sun, 11 Nov 2012 21:53:15 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">20982@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ray,&#60;br /&#62;
Either move some of your i/o to shift registers or move up to a regular maple.&#60;br /&#62;
If you are really trying to use the usb pins then something is probably wrong with your approach.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>raymadigan on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-20981</link>
			<pubDate>Sun, 11 Nov 2012 20:55:10 +0000</pubDate>
			<dc:creator>raymadigan</dc:creator>
			<guid isPermaLink="false">20981@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;It's worse then that.  Before I figured this out I started pulling pin 23 high to turn on an led.  When it didn't work I read that it was also one of the usb pins.  Now the serial port is not available and it seems that I cannot write another sketch to the maple mini.&#60;/p&#62;
&#60;p&#62;Is there anyway around this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>raymadigan on "SerialUSB"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9535#post-20980</link>
			<pubDate>Sun, 11 Nov 2012 20:02:53 +0000</pubDate>
			<dc:creator>raymadigan</dc:creator>
			<guid isPermaLink="false">20980@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have run out of pins, and want to use pins 23 and 24.  I read in one of the forum entries that code like&#60;/p&#62;
&#60;p&#62;void setup(){&#60;br /&#62;
  SerialUSB.end();&#60;br /&#62;
  usbPowerOff();&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;will allow the pins to be made available with pinMode ...&#60;/p&#62;
&#60;p&#62;does this make it so once the sketch is uploaded then no other programs can be uploaded because this is the running program?  Or does this still allow the bootloader to operate?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
