<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/8406" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-04-26T08:52:28+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/8406</id>

		<entry>
		<author><name><![CDATA[simtr]]></name></author>
		<updated>2013-04-26T08:52:28+02:00</updated>

		<published>2013-04-26T08:52:28+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25188#p25188</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25188#p25188"/>
		<title type="html"><![CDATA[Re: Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25188#p25188"><![CDATA[
Fuses :<br />lfuse:w:0xef:m<br />hfuse:w:0xdb:m<br />efuse:w:0xff:m<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19512">simtr</a> — Fri Apr 26, 2013 8:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-04-26T00:39:48+02:00</updated>

		<published>2013-04-26T00:39:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25185#p25185</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25185#p25185"/>
		<title type="html"><![CDATA[Re: Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25185#p25185"><![CDATA[
Are the fuses configured correctly? (For external full  swing crystal?)<br />Is the crystal connected properly?<br /><br />Best regards<p>Statistics: Posted by Guest — Fri Apr 26, 2013 12:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simtr]]></name></author>
		<updated>2013-04-23T11:18:58+02:00</updated>

		<published>2013-04-23T11:18:58+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25173#p25173</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25173#p25173"/>
		<title type="html"><![CDATA[Re: Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25173#p25173"><![CDATA[
VCC is 3.3V, firmware is configured like this:<br /><div class="codebox"><p>Code: </p><pre><code>#define USB_CFG_IOPORTNAME      D<br />/* This is the port where the USB bus is connected. When you configure it to<br /> * &quot;B&quot;, the registers PORTB, PINB and DDRB will be used.<br /> */<br />#define USB_CFG_DMINUS_BIT      3<br />/* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected.<br /> * This may be any bit in the port.<br /> */<br />#define USB_CFG_DPLUS_BIT       2<br />/* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected.<br /> * This may be any bit in the port. Please note that D+ must also be connected<br /> * to interrupt pin INT0! &#91;You can also use other interrupts, see section<br /> * &quot;Optional MCU Description&quot; below, or you can connect D- to the interrupt, as<br /> * it is required if you use the USB_COUNT_SOF feature. If you use D- for the<br /> * interrupt, the USB interrupt will also be triggered at Start-Of-Frame<br /> * markers every millisecond.&#93;<br /> */<br /></code></pre></div><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19512">simtr</a> — Tue Apr 23, 2013 11:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-04-22T23:56:30+02:00</updated>

		<published>2013-04-22T23:56:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25168#p25168</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25168#p25168"/>
		<title type="html"><![CDATA[Re: Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25168#p25168"><![CDATA[
Vcc is 3V ?<br />Your firmware is configured to 12MHz and its correct PINS (PD2 and PD3)?<br /><br />Best regards,<p>Statistics: Posted by Guest — Mon Apr 22, 2013 11:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simtr]]></name></author>
		<updated>2013-04-22T18:21:27+02:00</updated>

		<published>2013-04-22T18:21:27+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25164#p25164</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25164#p25164"/>
		<title type="html"><![CDATA[Re: Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25164#p25164"><![CDATA[
Maybe there is something wrong with my schematic? If I just assemble the USB part of the circuit, it doesn't work either:<br /><br /><img src="http://s13.postimg.org/c8yhtfj47/vusb.png" class="postimage" alt="Image" /><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19512">simtr</a> — Mon Apr 22, 2013 6:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simtr]]></name></author>
		<updated>2013-04-21T23:20:40+02:00</updated>

		<published>2013-04-21T23:20:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25156#p25156</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25156#p25156"/>
		<title type="html"><![CDATA[Re: Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25156#p25156"><![CDATA[
Thx, but DIP and SOIC seem to have the same pinout<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19512">simtr</a> — Sun Apr 21, 2013 11:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-04-21T17:51:04+02:00</updated>

		<published>2013-04-21T17:51:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25153#p25153</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25153#p25153"/>
		<title type="html"><![CDATA[Re: Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25153#p25153"><![CDATA[
The SMD AVRs have multiple Vcc and GND pins compared to their PDIP counterparts.<br /><br />Have you ensured to connect them all. Please make sure also to connect AVcc.<br /><br />If not all of them are connected the device may not work properly with larger clocks!<br /><br />Best regards,<p>Statistics: Posted by Guest — Sun Apr 21, 2013 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simtr]]></name></author>
		<updated>2013-04-20T22:21:53+02:00</updated>

		<published>2013-04-20T22:21:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25151#p25151</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25151#p25151"/>
		<title type="html"><![CDATA[Throughhole design works, SMD doesnt]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8406&amp;p=25151#p25151"><![CDATA[
Hi guys,<br /><br />I can't seem to figure out why my design works with my through-hole prototype, but not with the fabbed SMD version. <br /><br /><div class="codebox"><p>Code: </p><pre><code>&#91;10521.468256&#93; usb 1-1.2: new low-speed USB device number 20 using ehci-pci<br />&#91;10521.482102&#93; hub 1-1:1.0: unable to enumerate USB device on port 2</code></pre></div><br /><br />My setup is pretty similar to this one:<br /><!-- m --><a class="postlink" href="http://codeandlife.com/2012/01/25/avr-attiny-usb-tutorial-part-2/">http://codeandlife.com/2012/01/25/avr-a ... al-part-2/</a><!-- m --><br /><br />The parts on the through-hole prototype:<br />ATTINY2313A-PU-ND,IC MCU AVR 2K FLASH 20MHZ 20DIP<br />10uF Caps (decoupling caps for the attiny=<br />296-31455-1-ND,IC REG LDO 3.3V .1A TO92<br />X147-ND,CRYSTAL 12.000393MHZ 18PF THRU<br />18pf Caps<br /><br />Parts on the SMD version:<br />ATTINY2313A-SU-NDIC MCU AVR 2K FLASH 20MHZ 20SOIC<br />311-1355-1-NDCAP CER 10UF 10V Y5V 0805 (decoupling)<br />1219-1084-1-NDIC REG LDO 3.3V SOT23-5<br />300-8549-1-NDCRYSTAL 12.000393MHZ 18PF SMD<br />22pf Caps <br /><br />I tried the 18pf th caps on the SMD board, no luck either. A test program on the attiny that just turns a pin high an low every 5 seconds works fine.<br /><br />I use a 1k5 pullup for D- and a 1M pulldown for D+. A hub in between device and host did not solve the issue.<br /><br />The fuses are set like this:<br />lfuse:w:0xef:m<br />hfuse:w:0xdb:m<br />efuse:w:0xff:m<br /><br />Any help would be appriciated!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19512">simtr</a> — Sat Apr 20, 2013 10:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
