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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-04-22T11:48:26+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-04-22T11:48:26+02:00</updated>

		<published>2009-04-22T11:48:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2671&amp;p=9016#p9016</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2671&amp;p=9016#p9016"/>
		<title type="html"><![CDATA[Re: Attiny25 OSCALL calibration]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2671&amp;p=9016#p9016"><![CDATA[
You really should use some kind of regular calibration, something similar to the code in the libs-device directory of the driver. This may be very tight on the Tiny25, though.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Apr 22, 2009 11:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-04-19T03:19:39+02:00</updated>

		<published>2009-04-19T03:19:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2671&amp;p=8974#p8974</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2671&amp;p=8974#p8974"/>
		<title type="html"><![CDATA[Re: Attiny25 OSCALL calibration]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2671&amp;p=8974#p8974"><![CDATA[
I did it !!! <br /><br />Finaly I was able to calibrate everything!<br /><br />It's now working create!<br /><br />My problem : The zener diode.<br /><br />For some reason, I think they are not precise enought with internal oscal.<br />I've change my hardware using some diode to drop the VCC to somewhere near 3.6v and it's now all good to go!<br /><br />It really bug me cause I've been using the same Zener with an Atmega8 (with external 12mhz crystal) and it was working fine.<br /><br />Thanks anyway!<p>Statistics: Posted by Guest — Sun Apr 19, 2009 3:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-04-18T06:03:45+02:00</updated>

		<published>2009-04-18T06:03:45+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2671&amp;p=8963#p8963</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2671&amp;p=8963#p8963"/>
		<title type="html"><![CDATA[Attiny25 OSCALL calibration]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2671&amp;p=8963#p8963"><![CDATA[
Hi,<br /><br />I'm quite new to the AVR micro, but anyway what I'm trying to accomplish shouldn't be that hard.<br /><br />I've just found a nice USB-Snes which use your driver<br /><!-- m --><a class="postlink" href="http://hobbyelektronik.org/wiki/index.php?title=SNES-Joypad">http://hobbyelektronik.org/wiki/index.p ... NES-Joypad</a><!-- m --> (Translate using Google <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" />)<br /><br />I've manage to remove some bytes from the original source code (as it was compiling to more than 2048K on my PC) and it now fit on my Attiny25.<br /><br />My only concern is the calibration of the oscall. I can't seem to find a working oscall value. I've only tryed about 10-15 value &quot;by hand&quot;.<br /><br />I've been trying for the last 3 days to create a little code (based on the Easy logger) only to populate the EEPROM with a calibration value.  I don't have any equipment to do this by hardware so I was hopping that maybe if I can calibrate a specific Attiny25 chip with this little peice of code. Than keep the EEPROM oscall value. Flash the Snes-Usb code. Reflash EEPROM.... Plug in USB... I was hopping it should now work fine.<br /><br />I can't seem to get it going. I'm using the LED to know when the code is loopping inside the calibration. It appear to stop for no apparent reason, but still I don't have any value in the EEPROM and the device doesnt get reconized by windows.<br /><br />Anyone have a clue?<br /><br />Here's the fact :<br /><br />I've disabled Watchdog to make sure no Watchdog reset would occur during calibration.<br />I'm using the autocalibration mecanism found in the latest EasyLogger sources.<br />I'm using a breadboard to test my circuit.<br />I'm using Zenner diode on the Data pin with a 1.5k pull-up resistor on D-. ..Should I change the pull-up to something else?<br /><br />Thanks !<p>Statistics: Posted by Guest — Sat Apr 18, 2009 6:03 am</p><hr />
]]></content>
	</entry>
	</feed>
