<?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 not working on custom board after flashed bootloader</title>
		<link>http://forums.leaflabs.com/topic.php?id=74262</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17: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=74262" rel="self" type="application/rss+xml" />

		<item>
			<title>97547906 on "USB not working on custom board after flashed bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74262#post-105169</link>
			<pubDate>Wed, 08 Jan 2014 19:23:16 +0000</pubDate>
			<dc:creator>97547906</dc:creator>
			<guid isPermaLink="false">105169@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;okay, I gave up on the ST Flash Demo loader because I figured maybe I was doing something wrong there. And I was. Now I got the python script to upload the .BIN and everything works!&#60;/p&#62;
&#60;p&#62;Thanks for your suggestions. I guess I just don't know what boxes to tick in the ST loader.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>97547906 on "USB not working on custom board after flashed bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74262#post-105168</link>
			<pubDate>Wed, 08 Jan 2014 17:44:44 +0000</pubDate>
			<dc:creator>97547906</dc:creator>
			<guid isPermaLink="false">105168@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I pulled USB-DP high as you suggested. Windows immediately made the usb connecting noise... But is this just windows recognizing the voltage levels or does it mean they have communicated? Windows said that the usb device was malfunctioning, so thats no good.&#60;/p&#62;
&#60;p&#62;I double checked I am using the correct pins for DISC, USB-DP, USB-DN. I replaced the P transistor and the USB filter(stf202) just to be sure those were in good working order.&#60;/p&#62;
&#60;p&#62;I guess the next option is to upload code via serial1. You suggest compiling for MEMORY_TARGET=jtag, is this an option in the IDE or do I need to compile with libmaple in the command prompt? And will this file upload the same way as the .BIN or do I need to change the memory target location?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosus on "USB not working on custom board after flashed bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74262#post-105167</link>
			<pubDate>Wed, 08 Jan 2014 08:50:17 +0000</pubDate>
			<dc:creator>ventosus</dc:creator>
			<guid isPermaLink="false">105167@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I've got no answer, but a couple more questions that may lead you to the problem.&#60;/p&#62;
&#60;p&#62;Is only the DISC circuitry (pull-up of DP to trigger USB enumeration) not working or is USB per se not working?&#60;/p&#62;
&#60;p&#62;The pin used to toggle the DISC circuitry is hardcoded in the bootloader, do you use the same pin in your custom design? You may want to try to pull-up USB-DP manually with 1k5?&#60;/p&#62;
&#60;p&#62;Can you run sketches natively, e.g. without bootloader (by compiling for MEMORY_TARGET=jtag) and uploading via USART1? Is USB working there?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>97547906 on "USB not working on custom board after flashed bootloader"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74262#post-105166</link>
			<pubDate>Wed, 08 Jan 2014 07:17:13 +0000</pubDate>
			<dc:creator>97547906</dc:creator>
			<guid isPermaLink="false">105166@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am using the STM202 setup suggested by the user siy. (we.easyelectronics.ru/uploads/images/00/22/11/2011/12/27/d14b13.png)&#60;/p&#62;
&#60;p&#62;I successfully flashed the bootloader bin file to the chip using ST flash loader demo. That worked well over serial1 and said it was a success.&#60;/p&#62;
&#60;p&#62;Now I am trying to upload a simple program through Maple IDE to confirm it works. Everytime the IDE &#34;Couldn't find DFU device&#34;&#60;br /&#62;
I have check the continuity of D- and D+ pins from micro controller to the computer.&#60;br /&#62;
I replaced the crystal just to make sure.&#60;br /&#62;
I have tried Boot0 and Boot1 in every which combination. (both should be at 0)&#60;br /&#62;
My computer (Win7x64) does not see any device when I plug in usb. I go to device manager and search and there are no updates. I have used this machine to program a maple rev5 board and it works fine without any tricks.&#60;/p&#62;
&#60;p&#62;I read in the bootloader documentation that the device does not show up as normal the first time, only in DFU mode. I dont really know what is going on and hoping someone might have a solution.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
