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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-07-16T10:20:27+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-07-16T10:20:27+02:00</updated>

		<published>2007-07-16T10:20:27+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=581&amp;p=1704#p1704</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1704#p1704"/>
		<title type="html"><![CDATA[Question on PowerSwitch]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1704#p1704"><![CDATA[
Yes, I should have mentioned that. In order to save space, I've removed the initial USB disconnect.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Mon Jul 16, 2007 10:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iphi]]></name></author>
		<updated>2007-07-13T22:08:17+02:00</updated>

		<published>2007-07-13T22:08:17+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=581&amp;p=1688#p1688</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1688#p1688"/>
		<title type="html"><![CDATA[Question on PowerSwitch]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1688#p1688"><![CDATA[
Die Minimalvariante geht doch!<br />Man muss nur nach dem Flashen mal den USB Stecker ziehen und wieder einstecken.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=292">iphi</a> — Fri Jul 13, 2007 10:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-07-13T20:52:37+02:00</updated>

		<published>2007-07-13T20:52:37+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=581&amp;p=1687#p1687</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1687#p1687"/>
		<title type="html"><![CDATA[Question on PowerSwitch]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1687#p1687"><![CDATA[
I think this minimal main() should suffice, but we have not tested this recently. It is primarily to check the size of the compiled binary.<br /><br />I don't have a PowerSwitch hardware available for testing now, so I can't really confirm whether or not it should work with TEST_DRIVER_SIZE defined.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Jul 13, 2007 8:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iphi]]></name></author>
		<updated>2007-07-13T20:48:18+02:00</updated>

		<published>2007-07-13T20:48:18+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=581&amp;p=1686#p1686</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1686#p1686"/>
		<title type="html"><![CDATA[Question on PowerSwitch]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1686#p1686"><![CDATA[
I have restarted all over and still have the same problem. Here is what I did:<br /><br />1. Compiled the original firmware from PowerSwitch.2007-06-25.zip<br />and flashed it. Works fine<br /><br />2. Added a single line to main.c:<br /><br />#define TEST_DRIVER_SIZE   /* &lt;&lt;&lt; added this line */<br />#ifndef TEST_DRIVER_SIZE    /* define this to check out size of pure driver */<br />...<br /><br />Recompiled and flashed. =&gt; the USB device isn't recognized on the bus any longer. I thought the alternate main() on the very bottom of main.c should suffice for the device being recognized on the USB bus!??<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=292">iphi</a> — Fri Jul 13, 2007 8:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-07-13T18:33:18+02:00</updated>

		<published>2007-07-13T18:33:18+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=581&amp;p=1682#p1682</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1682#p1682"/>
		<title type="html"><![CDATA[Question on PowerSwitch]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1682#p1682"><![CDATA[
The action timers are for timed on/off pulses on the outputs. The USB driver does not need any timer interrupts.<br /><br />If the device is not recognized after your change, you must have broken something in the main module. Maybe it crashes and the driver is therefore unable to respond to requests...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Jul 13, 2007 6:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iphi]]></name></author>
		<updated>2007-07-13T15:31:23+02:00</updated>

		<published>2007-07-13T15:31:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=581&amp;p=1679#p1679</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1679#p1679"/>
		<title type="html"><![CDATA[Question on PowerSwitch]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=581&amp;p=1679#p1679"><![CDATA[
I try to modify PowerSwitch firmware to my own application.<br />I try to leave out all unnecessary code to save flash.<br /><br />Question:<br />What are the ActionTimers good for? Somehow taking them out the device isn't recognized on the USB bus any longer.<br /><br />Does the USB driver need the timer interrupt?<br /><br />Thanks<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=292">iphi</a> — Fri Jul 13, 2007 3:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
