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

		<item>
			<title>poslathian on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9834</link>
			<pubDate>Mon, 19 Mar 2012 16:19:32 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">9834@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;USB-P isnt used now, but it *could* be used to detect in firmware when the board is being powered by USB/when USB is plugged in.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nplayle on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9827</link>
			<pubDate>Mon, 19 Mar 2012 00:24:22 +0000</pubDate>
			<dc:creator>nplayle</dc:creator>
			<guid isPermaLink="false">9827@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ah crap I see where I went wrong. It probably happened because I had to make that part myself and didn't pay close enough attention to the pin numbers. &#60;/p&#62;
&#60;p&#62;I'll see about jumping them with wires to get it working in the time being. Hopefully I'll be able to get something working about it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9826</link>
			<pubDate>Mon, 19 Mar 2012 00:00:02 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">9826@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;No, this is not the case. Seems you have incorrectly connected STF202 and as a result you have DM and DP swapped at MCU. You can find correct connection for STF202 here: &#60;a href=&#34;http://we.easyelectronics.ru/uploads/images/00/22/11/2011/12/27/d14b13.png&#34; rel=&#34;nofollow&#34;&#62;http://we.easyelectronics.ru/uploads/images/00/22/11/2011/12/27/d14b13.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I guess you have tried to &#34;mirror&#34; connections for convenient routing (I'm not quite sure that this is correct, because internal circuit is not symmetric between inputs and outputs). For STF202 pins 2 and 5 form the D- pair and 3 and 4 - D+ pair of input and output pins. You have signal USBD_N connected to pin 4 instead of 5.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nplayle on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9825</link>
			<pubDate>Sun, 18 Mar 2012 21:02:19 +0000</pubDate>
			<dc:creator>nplayle</dc:creator>
			<guid isPermaLink="false">9825@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yep, pin 1 is getting 5.11v according to my scope. &#60;/p&#62;
&#60;p&#62;It looks as though DP is being pulled down occasionally by the USB host when plugged in intially, but DM remains constant at 0V. &#60;/p&#62;
&#60;p&#62;Actually siy, you had mentioned that in certain cases you needed to invert the bootloader logic for DISC, is this one of the cases?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9824</link>
			<pubDate>Sun, 18 Mar 2012 20:38:41 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">9824@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Did you check that you have voltage on pin 1 of the STF202 ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nplayle on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9823</link>
			<pubDate>Sun, 18 Mar 2012 20:33:52 +0000</pubDate>
			<dc:creator>nplayle</dc:creator>
			<guid isPermaLink="false">9823@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hmm... I was hoping it was a USBP issue... I might try jumping that pin high to test and see if it does anything, otherwise break out more sophisticated methods. I just briefly checked the solder joints by visual inspecttion and they looked okay. &#60;/p&#62;
&#60;p&#62;My laptop is running windows server 2008 R2 and it detects a device but doesnt know what it is, (Dev ID and manufacturer ID are both 0x0000) and won't let me install drivers. My desktop (also server 2k8r2) doesn't detect anything. My other laptop (server 2003) detects a device but same issues. I tried getting it into my virtual machine (ubuntu through vmware workstation) but it doesn't pick up the USB device since windows doesnt like it. Unfortunately, I don't have a pure XP or linux machine to test driver issues more closely. My regular maple connects to my laptop just fine. &#60;/p&#62;
&#60;p&#62;I'll troubleshoot some more (likely Tuesday) to see if I can find the issue. Unfortunately, my logic analyser doesn't do USB so it might be a bit of a pain. &#60;/p&#62;
&#60;p&#62;Also thanks for your help siy, your design inspired this setup. If all goes well (ie when all the kinks are worked out) I'm planning on open sourcing this design.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9822</link>
			<pubDate>Sun, 18 Mar 2012 20:04:52 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">9822@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hmm. There are no dependencies on this pin in bootloader. Mini does not have this network either. So, there must be something else. Usually it is quite simple to get MCU start flashing and flash bootloader. More complicated thing is to nail down problem when MCU does not appear on the USB at all. Usually this happens when some pin on MCU or USB socket is not soldered good enough. I'd suggest try to heat up every pin on MCU and USB-related circuit including socket.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nplayle on "USB_P configuration in bootloader?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1484#post-9821</link>
			<pubDate>Sun, 18 Mar 2012 17:01:07 +0000</pubDate>
			<dc:creator>nplayle</dc:creator>
			<guid isPermaLink="false">9821@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi All, &#60;/p&#62;
&#60;p&#62;I'm working on flashing a new bootloader to my take on a maple. In designing the board, I had to change the location of the USB_P input pin, but I can't find anywhere in the code for the bootloader that references the pin&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://dl.dropbox.com/u/20784782/IMU_MainProcessor.pdf&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/20784782/IMU_MainProcessor.pdf&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Anyways, here is the schematic, the USB_P pin was changed from PC11 to PB8. I flashed the Maple bootloader to the device successfully, and it loads the bootloader and stays in perpetual bootloader mode (based on the pulses out from PA5), but shows up as an unrecognised USB device, and I can't seem to install drivers for it. So, I'm wondering if the USB_P pin has something to do with it. I haven't modified anything from the bootloader yet, just looking. I'm planning on using the RET6 branch for modifications though. &#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
