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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-03-13T11:42:26+02:00</updated>

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

		<entry>
		<author><name><![CDATA[hud-hud]]></name></author>
		<updated>2011-03-13T11:42:26+02:00</updated>

		<published>2011-03-13T11:42:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=569&amp;p=17854#p17854</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=569&amp;p=17854#p17854"/>
		<title type="html"><![CDATA[Re: Porting powerswitch project to Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=569&amp;p=17854#p17854"><![CDATA[
Hello everybody!<br /><br />I made atmega8 powerswitch<br />but computer doesn't show <br />device vid and pid<br /><br />It just shows massage “unknown device”<br /><br />Please help me to connect to USB<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5029">hud-hud</a> — Sun Mar 13, 2011 11:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[0815user]]></name></author>
		<updated>2007-09-03T22:20:31+02:00</updated>

		<published>2007-09-03T22:20:31+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=569&amp;p=2246#p2246</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=569&amp;p=2246#p2246"/>
		<title type="html"><![CDATA[Porting powerswitch project to Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=569&amp;p=2246#p2246"><![CDATA[
Hi,<br /><br />could you please post the modified firmware?<br /><br />greets<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=421">0815user</a> — Mon Sep 03, 2007 10:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[guzma]]></name></author>
		<updated>2007-07-09T21:16:16+02:00</updated>

		<published>2007-07-09T21:16:16+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=569&amp;p=1657#p1657</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=569&amp;p=1657#p1657"/>
		<title type="html"><![CDATA[Porting powerswitch project to Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=569&amp;p=1657#p1657"><![CDATA[
never mind.. i figured it out <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />but, hey! I'ts a great driver... thanks!  <img class="smilies" src="./../../../images/smilies/icon_lol.gif" alt=":lol:" title="Laughing" />  <img class="smilies" src="./../../../images/smilies/icon_lol.gif" alt=":lol:" title="Laughing" />  <img class="smilies" src="./../../../images/smilies/icon_lol.gif" alt=":lol:" title="Laughing" /><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=309">guzma</a> — Mon Jul 09, 2007 9:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[guzma]]></name></author>
		<updated>2007-07-09T11:51:21+02:00</updated>

		<published>2007-07-09T11:51:21+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=569&amp;p=1656#p1656</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=569&amp;p=1656#p1656"/>
		<title type="html"><![CDATA[Porting powerswitch project to Atmega8]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=569&amp;p=1656#p1656"><![CDATA[
I've been trying to port the powerswitch project to work with an atmega8 avr for a few days now (having read all posts in this forum regarding this topic..) but didn't really manage to get the thing working. <br /><br />I understand that i should change the <br /><br /><div class="codebox"><p>Code: </p><pre><code>static void outputByte&#40;uchar b&#41; </code></pre></div><br /><br />function to be compatible with the atmega8, but i don't really understand howto.<br /><br />when I update the usbconfig.h file with the PORTB-&gt; PORTD changes and change  the outputByte function like this:<br /><br /><div class="codebox"><p>Code: </p><pre><code>static void outputByte&#40;uchar b&#41;<br />&#123;<br />PORTD = &#40;PORTD &amp; ~0xfc&#41; | &#40;b &amp; 0xfc&#41;;<br />PORTD = &#40;PORTD &amp; ~0x30&#41; | &#40;&#40;b &lt;&lt; 4&#41; &amp; 0x30&#41;;<br />&#125; <br /></code></pre></div><br /><br />it simply doesn't do anything.<br /><br />If someone has a working implementation of this ported, please let me know, as my circuit is ready, but i just can't get the usb comm working.<br /><br />Thanks for your help, <br />regards,<br />guz<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=309">guzma</a> — Mon Jul 09, 2007 11:51 am</p><hr />
]]></content>
	</entry>
	</feed>
