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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-09-07T22:23:50+02:00</updated>

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

		<entry>
		<author><name><![CDATA[psc]]></name></author>
		<updated>2009-09-07T22:23:50+02:00</updated>

		<published>2009-09-07T22:23:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3227&amp;p=10877#p10877</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3227&amp;p=10877#p10877"/>
		<title type="html"><![CDATA[Re: 20 MHz driver]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3227&amp;p=10877#p10877"><![CDATA[
Hi,<br /><br />Replace the folder named &quot;usbdrv&quot; in your project (Powerswitch?) with the one from <!-- m --><a class="postlink" href="http://www.obdev.at/products/vusb/download.html">http://www.obdev.at/products/vusb/download.html</a><!-- m --><br /><br />You need to tell the compiler what clock to use:<br />F_CPU = 20000000<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=$(DEVICE) -DF_CPU=$(F_CPU) .....<br /><br />Here's for your information the supported clock (usbdrvasm.S):<br />;----------------------------------------------------------------------------<br />; Now include the clock rate specific code<br />;----------------------------------------------------------------------------<br /><br />#ifndef USB_CFG_CLOCK_KHZ<br />#   define USB_CFG_CLOCK_KHZ 12000<br />#endif<br /><br />#if USB_CFG_CHECK_CRC   /* separate dispatcher for CRC type modules */<br />#   if USB_CFG_CLOCK_KHZ == 18000<br />#       include &quot;usbdrvasm18-crc.inc&quot;<br />#   else<br />#       error &quot;USB_CFG_CLOCK_KHZ is not one of the supported crc-rates!&quot;<br />#   endif<br />#else   /* USB_CFG_CHECK_CRC */<br />#   if USB_CFG_CLOCK_KHZ == 12000<br />#       include &quot;usbdrvasm12.inc&quot;<br />#   elif USB_CFG_CLOCK_KHZ == 12800<br />#       include &quot;usbdrvasm128.inc&quot;<br />#   elif USB_CFG_CLOCK_KHZ == 15000<br />#       include &quot;usbdrvasm15.inc&quot;<br />#   elif USB_CFG_CLOCK_KHZ == 16000<br />#       include &quot;usbdrvasm16.inc&quot;<br />#   elif USB_CFG_CLOCK_KHZ == 16500<br />#       include &quot;usbdrvasm165.inc&quot;<br />#   elif USB_CFG_CLOCK_KHZ == 20000<br />#       include &quot;usbdrvasm20.inc&quot;<br />#   else<br />#       error &quot;USB_CFG_CLOCK_KHZ is not one of the supported non-crc-rates!&quot;<br />#   endif<br />#endif /* USB_CFG_CHECK_CRC */<br /><br />pat<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1494">psc</a> — Mon Sep 07, 2009 10:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-09-07T08:18:29+02:00</updated>

		<published>2009-09-07T08:18:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3227&amp;p=10866#p10866</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3227&amp;p=10866#p10866"/>
		<title type="html"><![CDATA[20 MHz driver]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3227&amp;p=10866#p10866"><![CDATA[
Hi,<br /><br />where can I find the latest 20 MHz firmware extension?<br />The firmware contained in the powerswitch example is only good for up to 16.5MHz.<br /><br />Is there an 18 MHz version available as well?<br /><br />Thanks, Tom<p>Statistics: Posted by Guest — Mon Sep 07, 2009 8:18 am</p><hr />
]]></content>
	</entry>
	</feed>
