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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-01-07T12:27:42+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2010-01-07T12:27:42+02:00</updated>

		<published>2010-01-07T12:27:42+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12759#p12759</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12759#p12759"/>
		<title type="html"><![CDATA[Re: eeprom_write break my connection...]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12759#p12759"><![CDATA[
EEPROM writes may take quite a while (milliseconds!). Make sure that you don't wait for the write to complete while interrupts are disabled.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Jan 07, 2010 12:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alan Chatham]]></name></author>
		<updated>2010-01-06T08:53:29+02:00</updated>

		<published>2010-01-06T08:53:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12738#p12738</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12738#p12738"/>
		<title type="html"><![CDATA[Re: eeprom_write break my connection...]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12738#p12738"><![CDATA[
Hello there,<br /><br />I wound up having a similar issue.  In my case, I was doing an EEPROM read before USB even started up, and it was causing super-big connection issues.  The strange part was that it all took place before (well, before in the code) the USB communication started...<br /><br />In my case, I wound up just removing that EEPROM call (not very useful advice, probably...). Still, one thing I noticed was that the AVR was actually doing a semi-reset, and that was messing things up.  This condition is mostly resultant from EMI, or at least, was the case in my circuit.  So you might want to add in a few more decoupling capacitors here and there, and whatever other EMI-reduction methods you can. I guess it depends if you're working on a proto board, since there's not a huge amount of things you can do to cut EMI in that environment...<br /><br />Hope it helps!<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2888">Alan Chatham</a> — Wed Jan 06, 2010 8:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[qdot]]></name></author>
		<updated>2010-01-01T22:36:58+02:00</updated>

		<published>2010-01-01T22:36:58+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12673#p12673</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12673#p12673"/>
		<title type="html"><![CDATA[Re: eeprom_write break my connection...]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12673#p12673"><![CDATA[
I'm using attiny84, PCINT for interrupt handling, and a 16MHz crystal (while powered off 3.3V bus, I know, out of spec <img class="smilies" src="./../../../images/smilies/icon_sad.gif" alt=":(" title="Sad" />), but I have no problem reading and writing the eeprom.<br /><br />Try modifying and building a hid-data example code, it does reads and writes off the eeprom.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=3323">qdot</a> — Fri Jan 01, 2010 10:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-12-30T15:31:59+02:00</updated>

		<published>2009-12-30T15:31:59+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12651#p12651</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12651#p12651"/>
		<title type="html"><![CDATA[eeprom_write break my connection...]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3709&amp;p=12651#p12651"><![CDATA[
Hello,<br /><br />i use tiny85 and 12Mhz crystal...   i need to read and write internal eeprom via usb... read is OK... but then i start to write ... it break my connection... i can write about 1-5 byte's before device disconnected... i try to write only one byte.... then wait about 1 sec before next write... but it is not make success...   i think  eeprom_write is take much time...  hm... very strange... maybe anyone already solve this problem  ?<br /><br />p.s: sorry for bad english <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by Guest — Wed Dec 30, 2009 3:31 pm</p><hr />
]]></content>
	</entry>
	</feed>
