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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-02-28T23:54:24+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-02-28T23:54:24+02:00</updated>

		<published>2008-02-28T23:54:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4419#p4419</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4419#p4419"/>
		<title type="html"><![CDATA[enumeration detect for AVR?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4419#p4419"><![CDATA[
Just for your information: We have released EasyLogger 2008-02-28 today. This version adds self-calibration of the RC oscillator.<br /><br />In principle, this calibration algorithm can be used to calibrate the RC oscillator directly to 12 MHz. However, the precision is not high enough for the 12 MHz module (because it does not have a software PLL) and 12 MHz is outside the specified range of OSCCAL values. It's still an interesting field for experiments...<br /><br />The new AVR-USB also offers hooks to inform the application firmware about USB reset and device enumeration.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Feb 28, 2008 11:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-02-15T15:47:57+02:00</updated>

		<published>2008-02-15T15:47:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4243#p4243</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4243#p4243"/>
		<title type="html"><![CDATA[enumeration detect for AVR?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4243#p4243"><![CDATA[
It's not declared in the header, but you can access it if you declare it yourself as<br /><br />extern uchar usbDeviceAddr;<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Feb 15, 2008 3:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iphi]]></name></author>
		<updated>2008-02-15T13:20:46+02:00</updated>

		<published>2008-02-15T13:20:46+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4240#p4240</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4240#p4240"/>
		<title type="html"><![CDATA[enumeration detect for AVR?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4240#p4240"><![CDATA[
<blockquote class="uncited"><div>the host assigns an non-zero usbDeviceAddress</div></blockquote><br />Is there such a global variable for the AVR firmware, too, that shows that connection was successful?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=292">iphi</a> — Fri Feb 15, 2008 1:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-02-14T00:26:56+02:00</updated>

		<published>2008-02-14T00:26:56+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4220#p4220</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4220#p4220"/>
		<title type="html"><![CDATA[enumeration detect for AVR?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4220#p4220"><![CDATA[
Hmm... When enumeration succeeds, the host assigns an non-zero usbDeviceAddress. This is a global variable.<br /><br />With usbSofCount you should be able to calibrate more efficiently, though.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Feb 14, 2008 12:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iphi]]></name></author>
		<updated>2008-02-13T17:59:20+02:00</updated>

		<published>2008-02-13T17:59:20+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4214#p4214</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4214#p4214"/>
		<title type="html"><![CDATA[enumeration detect for AVR?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4214#p4214"><![CDATA[
Think I found the answer in the forum:<br /><br />usbSofCount<br /><br />Tom<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=292">iphi</a> — Wed Feb 13, 2008 5:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iphi]]></name></author>
		<updated>2008-02-11T21:12:48+02:00</updated>

		<published>2008-02-11T21:12:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4205#p4205</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4205#p4205"/>
		<title type="html"><![CDATA[enumeration detect for AVR?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1208&amp;p=4205#p4205"><![CDATA[
Hi,<br /><br />is there a function within the AVR firmware which allows the main loop to find out if enumeration was successful?<br /><br />I'm still thinking about some possibility to do a self calibration of the RC oscillator. One slow but working solution would be to modify OSCCAL until enumeration is successful, then find out the extreme values where enumeration fails and sit in the middle.<br /><br />Thanks, Tom<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=292">iphi</a> — Mon Feb 11, 2008 9:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
