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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-01-04T19:06:00+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-01-04T19:06:00+02:00</updated>

		<published>2009-01-04T19:06:00+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1056&amp;p=7384#p7384</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=7384#p7384"/>
		<title type="html"><![CDATA[How to set fuse bits for Tiny2313 when implementing USB ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=7384#p7384"><![CDATA[
Setting DWEN to 1 disables it, setting it to 0 enables it. This is &quot;fuse&quot; logic: a logic 0 means that the fuse is &quot;blown&quot;, 1 is the default state.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sun Jan 04, 2009 7:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-12-30T03:26:58+02:00</updated>

		<published>2008-12-30T03:26:58+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1056&amp;p=7303#p7303</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=7303#p7303"/>
		<title type="html"><![CDATA[DWEN]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=7303#p7303"><![CDATA[
Be warned that this snippet enables DebugWire, which means you cannot program the processot without a MKII (and STK500?) anymore.<br /><br />If you program is with SPI, do not ever alter the DWEN bit, or you have to find a friend with a MKII to set the fuse back.<p>Statistics: Posted by Guest — Tue Dec 30, 2008 3:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chisteven]]></name></author>
		<updated>2007-12-23T08:38:57+02:00</updated>

		<published>2007-12-23T08:38:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3587#p3587</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3587#p3587"/>
		<title type="html"><![CDATA[How to set fuse bits for Tiny2313 when implementing USB ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3587#p3587"><![CDATA[
Thank you~~<br /><br />I'll try it later and tell you if it works fine or not !<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=669">chisteven</a> — Sun Dec 23, 2007 8:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-12-22T09:23:28+02:00</updated>

		<published>2007-12-22T09:23:28+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3570#p3570</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3570#p3570"/>
		<title type="html"><![CDATA[How to set fuse bits for Tiny2313 when implementing USB ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3570#p3570"><![CDATA[
Christeven,<br /><br />this MAKEFILE snipplet is from Osamu Tamura's own tiny2313 example. It worked fine for me (version 2007-10-03).<br /><br />To use it you need to run &quot;make fuse_tiny2313&quot; before or after flashing the actual code,<br /><br /><div class="codebox"><p>Code: </p><pre><code># Fuse low byte:<br /># 0xef = 1 1 1 0   1 1 1 1<br />#        ^ ^ \+/   \--+--/<br />#        | |  |       +------- CKSEL 3..0 &#40;clock selection -&gt; crystal @ 12 MHz&#41;<br />#        | |  +--------------- SUT 1..0 &#40;BOD enabled, fast rising power&#41;<br />#        | +------------------ CKOUT &#40;clock output on CKOUT pin -&gt; disabled&#41;<br />#        +-------------------- CKDIV8 &#40;divide clock by 8 -&gt; don't divide&#41;<br />#<br /># Fuse high byte:<br /># 0xdb = 1 1 0 1   1 0 1 1<br />#        ^ ^ ^ ^   \-+-/ ^<br />#        | | | |     |   +---- RSTDISBL &#40;disable external reset -&gt; enabled&#41;<br />#        | | | |     +-------- BODLEVEL 2..0 &#40;brownout trigger level -&gt; 2.7V&#41;<br />#        | | | +-------------- WDTON &#40;watchdog timer always on -&gt; disable&#41;<br />#        | | +---------------- SPIEN &#40;enable serial programming -&gt; enabled&#41;<br />#        | +------------------ EESAVE &#40;preserve EEPROM on Chip Erase -&gt; not preserved&#41;<br />#        +-------------------- DWEN &#40;debug wire enable&#41;<br />fuse_tiny2313:   # only needed for attiny2313<br />   $&#40;AVRDUDE&#41; -U hfuse:w:0xdb:m -U lfuse:w:0xef:m<br /></code></pre></div><br /><br />Cheers<br />Gert<p>Statistics: Posted by Guest — Sat Dec 22, 2007 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chisteven]]></name></author>
		<updated>2007-12-19T08:23:16+02:00</updated>

		<published>2007-12-19T08:23:16+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3545#p3545</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3545#p3545"/>
		<title type="html"><![CDATA[How to set fuse bits for Tiny2313 when implementing USB ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1056&amp;p=3545#p3545"><![CDATA[
I try to implement USB with AVR-CDC using ATtiny2313<br /><br />I referenced the datasheet but can't get the right setting for fuse bits,<br /><br />(or it doesn't need to program the fuse bit ? )<br /><br />can anyone tell me which fuse bits should be programmed (set to 0) ?<br /><br />( use 12MHZ crystal oscillator )<br /><br />please give me a hand, thanks a lot~~<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=669">chisteven</a> — Wed Dec 19, 2007 8:23 am</p><hr />
]]></content>
	</entry>
	</feed>
