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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-11-26T20:02:42+02:00</updated>

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

		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2009-11-26T20:02:42+02:00</updated>

		<published>2009-11-26T20:02:42+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3584&amp;p=12159#p12159</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3584&amp;p=12159#p12159"/>
		<title type="html"><![CDATA[back to 8 from 168 very confused?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3584&amp;p=12159#p12159"><![CDATA[
I had a project that was designed on a atmega8, I since upgrade and made many change to it. It now runs on a 168. My project increased in size so  to save space and speed I removed all of the timer code ( TCCR0 , TCCR2, and a few others). The code works great and has ever since on the 168 but I needed to rid of a few 8 chips and cut down the project to do so. I made all of the changes  and the mega8 will not enumerate but does run the code ( as I can blink leds ). I tried putting the 1 watt back on but didnt help<br /><br />Do the mega8's require a timer to work with usb-v and the 168s do not?<br /><br /><br />Just for fun I put the 168 chip in , wrote atmega8 fuses bytes to it with the device set to 8 and change the make file to mega8, and it works on the 168 chip just fine? yet not on the 8 chip?<br /><br /><br />UPDATE: <br />ok its something in the usbdrv folder that is causing the issues. I tried an old version of usb-v and it works however I need the new version with the disconnect and reconnect functions.  grabbed the latest code and still get enumeration failed.<br /><br /><br /><br />FYI: One thing I saw with the newest code is I needed this un-commented for the 168 to even work. <br /><br />#define USBATTR_BUSPOWER        0x80  // USB 1.1 does not define this value any more<br /><br /><br />Another bit of info:<br /><br />I tried to run the hid-mouse and I still can not get the atmage8 to work on it.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Thu Nov 26, 2009 8:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
