<?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/2004" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-12-17T00:37:30+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Grendel]]></name></author>
		<updated>2008-12-17T00:37:30+02:00</updated>

		<published>2008-12-17T00:37:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7128#p7128</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7128#p7128"/>
		<title type="html"><![CDATA[AVR USB on Atmega88]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7128#p7128"><![CDATA[
Almost <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /> I was redesigning my mega8 based project and actually got a mega88. Ended up using a tiny461 instead, since it has exactly the right size for what I need. I did look at the 88 specs in detail tho and I also ran into similar problems w/ the 461 (the 461 uses a newer chip design, similar to the 88 ) -- 3V3 diodes would work on the 8 but not on the 461, had to use 3V6 diodes. Also the pull-up on D- is a lot more sensitive to value variations on the 461. I nailed it down to changes in the I/O pin thresholds and hysteresis, you can find those values in the data sheets under &quot;Typical Characteristics&quot;. Assuming 4.5V at 25C the values for the chips are approx.:<br /><br /><div class="codebox"><p>Code: </p><pre><code>      high   low<br />m8:   1.70V  1.25V<br />m88:  2.25V  2.15V<br />t461: 2.30V  1.95V</code></pre></div><br /><br />This nicely explains why 3V3 ZDs would work w/ the m8 but not the t461. You may have a similar problem, try leaving the diodes out (works on some hosts) or changing them to 3V7 or 3V8 ZDs.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=101">Grendel</a> — Wed Dec 17, 2008 12:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ArtemRu]]></name></author>
		<updated>2008-12-16T10:42:48+02:00</updated>

		<published>2008-12-16T10:42:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7114#p7114</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7114#p7114"/>
		<title type="html"><![CDATA[AVR USB on Atmega88]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7114#p7114"><![CDATA[
<blockquote class="uncited"><div>Link above is broken.<br /></div></blockquote><br />try this one:<br /><!-- m --><a class="postlink" href="http://www.artemlive.com/cgi-bin/news?c=v&amp;id=749">http://www.artemlive.com/cgi-bin/news?c=v&amp;id=749</a><!-- m --><br /><br /><blockquote class="uncited"><div>- make sure the fuses are correct, they are different for m8 and m88</div></blockquote><br /><br />Fuses are correct. I've read the datasheet. The mcu is at 16Mhz and  i checked it.<br /><br /><blockquote class="uncited"><div>- make sure you recompile the project w/ MCU=atmega88</div></blockquote><br /><br />yes, i did<br /><br /><blockquote class="uncited"><div>- are you using 3V3 Z-diodes on D+/D- ? If so, replace them w/ 500mW 3V6 diodes.</div></blockquote><br /><br />i use 3.6V<br /><br /><blockquote class="uncited"><div>- if you run the m88 at 3.3V, change it to 5V @ 16MHz. Use Z-diodes.</div></blockquote><br /><br />i run mcu at 5V and use zener dioides 3.6v<br /><blockquote class="uncited"><div>- Atmel has a m8 to m88 migration guide online <a href="http://atmel.com/dyn/resources/prod_documents/doc2553.pdf" class="postlink">here</a>.</div></blockquote><br /><br />thanks, i'll take a look, but my part of software works fine. Only AVR USB does not work. I have already ported my times routines and some other stuff to atmega88 just reading the datasheet for 88. I've checked - my part works fine.<br /><br />Did you personally run AVR USB on atmega88?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1585">ArtemRu</a> — Tue Dec 16, 2008 10:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Grendel]]></name></author>
		<updated>2008-12-16T03:12:12+02:00</updated>

		<published>2008-12-16T03:12:12+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7102#p7102</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7102#p7102"/>
		<title type="html"><![CDATA[AVR USB on Atmega88]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7102#p7102"><![CDATA[
Link above is broken.<br /><br />- make sure the fuses are correct, they are different for m8 and m88<br />- make sure you recompile the project w/ MCU=atmega88<br />- are you using 3V3 Z-diodes on D+/D- ? If so, replace them w/ 500mW 3V6 diodes.<br />- if you run the m88 at 3.3V, change it to 5V @ 16MHz. Use Z-diodes.<br />- Atmel has a m8 to m88 migration guide online <a href="http://atmel.com/dyn/resources/prod_documents/doc2553.pdf" class="postlink">here</a>.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=101">Grendel</a> — Tue Dec 16, 2008 3:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ArtemRu]]></name></author>
		<updated>2008-12-14T13:33:47+02:00</updated>

		<published>2008-12-14T13:33:47+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7071#p7071</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7071#p7071"/>
		<title type="html"><![CDATA[AVR USB on Atmega88]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2004&amp;p=7071#p7071"><![CDATA[
hello! I am trying to port my usb dance pad to Atmega88<br /><br /><!-- m --><a class="postlink" href="http://www.avrfreaks.net/index.php?modu">http://www.avrfreaks.net/index.php?modu</a><!-- m --> ... em_id=1675<br /><br />Fixed timer names in the code and just replaces atmega8 with atemega88 on the pcb expecting it to work.<br /><br />I am using atmega88-20 at 16Mhz<br /><br />The weird thin is that  AVR USB does not work. Windows says &quot;device is not recognized&quot;. I have found some messages about it on google and here but never found a single solution.<br /><br />Does AVR USB work with atmega88 at all?<br /><br />I have disabled UART and external T0 line at the beginning of my code to avoid any interference.  It did not help.<br /><br />I replaces atmega88 with atmega8 and programmed with the atmega8 code version - everything works. So, it is not the schematic, it is something related to atmega88 features.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1585">ArtemRu</a> — Sun Dec 14, 2008 1:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
