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

		<item>
			<title>samtal on "Inconsistent SerialUSB to IDE connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1271#post-7915</link>
			<pubDate>Fri, 27 Jan 2012 10:27:53 +0000</pubDate>
			<dc:creator>samtal</dc:creator>
			<guid isPermaLink="false">7915@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;RickRantilla&#60;/p&#62;
&#60;p&#62;Don't you feel you are left there alone with your pain. It is shared by many.&#60;br /&#62;
The USB probalem you describe has been reported many times in the past, with no real cure from LeafLabs (except blaiming it on Windows, when I guess 90% of us use Winodws XP).&#60;br /&#62;
I have several Maples r5, and occasunaly I struggle with it up to a level that I just want to give up the Maple, and use a proffesional development board.&#60;br /&#62;
My problem is that I work remotely on the board, thus I can not press the reset.&#60;br /&#62;
My solution is as follows:&#60;br /&#62;
I use a SiLabs USB to serial board to convert from the 5V usb to the 3.3 V Maple.&#60;br /&#62;
(I also have one Prolific USB to UART, and others use FTD or similar).&#60;br /&#62;
That board has a RTS pin, which I connect to the Maple reset pin.&#60;br /&#62;
Each time I upload program to the board, I close the port, and re-open it as soon as I see that the IDE starts to search for the DFU.&#60;br /&#62;
This generates a pulse that resets the board and help loading the program.&#60;br /&#62;
The drawback is that each time I open the port, the board will reset, but I can live with that.&#60;br /&#62;
One more thing you should try -&#60;br /&#62;
In the IDE 'File', 'Preferences' change (extend) the 'Delay after reset' parameter. This will give you larger time latitude in the reset.&#60;br /&#62;
Good luck&#60;br /&#62;
samtal
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cyberia on "Inconsistent SerialUSB to IDE connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1271#post-7745</link>
			<pubDate>Tue, 17 Jan 2012 18:02:47 +0000</pubDate>
			<dc:creator>cyberia</dc:creator>
			<guid isPermaLink="false">7745@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=73&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=73&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;this fixes windows 7 driver signing so that you can use maple on your better computer&#60;/p&#62;
&#60;p&#62;that may help
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Inconsistent SerialUSB to IDE connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1271#post-7737</link>
			<pubDate>Tue, 17 Jan 2012 17:00:52 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">7737@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Rick, we definitely feel your pain on the windows front. Using a single MCU to be both the processor you are programming as well as the programming interface turned out to be a very tricky setup, and while we have been able to smooth things over quite a bit in Mac and linux, Windows has always really really hated all the switching back and forth between &#34;programming&#34; mode and &#34;serial port&#34; mode. Not to mention all the naming issues and that crap. What is really needed is a custom windows driver to behave the right way and handle both the serial port and DFU modes in one driver. In our future products we are switching to a two-chip setup, where the programming interface chip is independent and always on, one permanent serial port. &#60;/p&#62;
&#60;p&#62;However, should definitely be able to power and program at the same time. Just switch the jumper to EXT power  (or BAT) and plug in the USB anyway.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RickRantilla on "Inconsistent SerialUSB to IDE connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1271#post-7707</link>
			<pubDate>Tue, 17 Jan 2012 02:27:04 +0000</pubDate>
			<dc:creator>RickRantilla</dc:creator>
			<guid isPermaLink="false">7707@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks, Larry.  I'm using an old Dell portable with XP because I never could get the IDE running on my Windows 7 machines.&#60;/p&#62;
&#60;p&#62;A different limitation (defect) seems to have turned into a feature for me.  It appears you can't power the Maple from an external power supply and program it at the same time.  So I hooked up a switch to the jumpers for USB vs. External power.  I can now flip this external switch at just the right time while I'm compiling and uploading a revised program and somehow Windows XP &#34;usually&#34; hooks up both com ports.  On to the next problem...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>LarryP on "Inconsistent SerialUSB to IDE connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1271#post-7636</link>
			<pubDate>Sat, 14 Jan 2012 00:22:06 +0000</pubDate>
			<dc:creator>LarryP</dc:creator>
			<guid isPermaLink="false">7636@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@RickRantilla,  &#60;/p&#62;
&#60;p&#62;First off, I feel your pain -- and it shouldn't have to be so !@#$%^ hard!  &#60;/p&#62;
&#60;p&#62;If memory serves, one of MicroSoft Windows &#34;features&#34; is that it's pretty *stupid* about USB devices, and give even less in terms of decode-able error messages.  One manifestation of M$ USB &#34;features&#34;  is that the same device (e.g. Maple + cable) is recognized differently, DEPENDING ON WHICH USB CONNECTOR ON THE WINDOWS HOST IT IS PLUGGED INTO.  So, if you get it working again (good luck; honestly, that's what it takes), note exactly which physical connector you have the cable plugged into on your PC and *ALWAYS* use that same USB connector, whenever you work on your Maple board.  (And if at all possible, don't use that connector for anything else.)  This may not solve all of the problems (remember, we're talking about M$ here), but it may help to get M$'s excuse for operating systems to work more nearly sanely.  &#60;/p&#62;
&#60;p&#62;My fingers are crossed for you!  except when I'm typing ;-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RickRantilla on "Inconsistent SerialUSB to IDE connection"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1271#post-7590</link>
			<pubDate>Thu, 12 Jan 2012 08:42:50 +0000</pubDate>
			<dc:creator>RickRantilla</dc:creator>
			<guid isPermaLink="false">7590@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Arrghhhh!  I'm using IDE 0.0.12 on a Windows XP system connected via USB to a rev 5 Maple.   The interface seems to change from day to day.&#60;/p&#62;
&#60;p&#62;I always select under &#34;tools&#34; &#34;board&#34; to &#34;Flash&#34; and &#34;serial Port&#34; &#34;com3&#34;.  The first few days I'd just hit &#34;upload&#34; and the program would upload as expected.   When I press &#34;Serial Monitor&#34; I'd get a window on &#34;com10&#34; that would receive data from my application, as, for example in the &#34;hello world&#34; stub.  If I went to &#34;tools&#34; &#34;serial port&#34; there would typically be this new port, com10, listed and checked.&#60;/p&#62;
&#60;p&#62;Then I started getting &#34;Couldn't find the DFU device: [lEAF:0003]&#34; error, so I would use the &#34;reset&#34; while uploading.  This required hitting reset at the right time so I also use the &#34;Perpetual bootloader&#34; scheme (pressing reset and the &#34;but&#34; button on the board).  This got more awkward as I installed the Maple board inside my device.&#60;/p&#62;
&#60;p&#62;Now I no longer get the second com10 port after a successful upload, so I can't see what my application is doing anymore.  &#60;/p&#62;
&#60;p&#62;I just reloaded &#34;hello world&#34; and can't get any feedback (no com10).  I also changed it to include &#34;blink&#34; (so I'm sure my new program is there).  The only serial port is com3 and it doesn't work as a monitor.&#60;/p&#62;
&#60;p&#62;Any suggestions?&#60;br /&#62;
thanks in advance...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
