<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MightyOhm &#187; annoying</title>
	<atom:link href="http://mightyohm.com/blog/tag/annoying/feed/" rel="self" type="application/rss+xml" />
	<link>http://mightyohm.com/blog</link>
	<description>Join the resistance.</description>
	<lastBuildDate>Wed, 16 May 2012 17:02:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Arduino &#8211; fix your pin spacing!</title>
		<link>http://mightyohm.com/blog/2008/09/arduino-fix-your-pin-spacing/</link>
		<comments>http://mightyohm.com/blog/2008/09/arduino-fix-your-pin-spacing/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 20:39:27 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[Arduino]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=300</guid>
		<description><![CDATA[From the Arduino Diecimila page on arduino.cc: Physical Characteristics &#8230; Note that the distance between digital pins 7 and 8 is 160 mil (0.16&#8243;), not an even multiple of the 100 mil spacing of the other pins. Seriously, why???  This means you can&#8217;t drop a protoboard on top of an Arduino without a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>From the <a href="http://arduino.cc/en/Main/ArduinoBoardDiecimila">Arduino Diecimila page</a> on <a href="http://www.arduino.cc">arduino.cc</a>:</p>
<blockquote><p><strong>Physical Characteristics</strong></p>
<p>&#8230; Note that the distance between digital pins 7 and 8 is 160 mil (0.16&#8243;), not an even multiple of the 100 mil spacing of the other pins.</p></blockquote>
<p>Seriously, why???  This means you can&#8217;t drop a protoboard on top of an <a href="http://www.arduino.cc">Arduino</a> without a lot of pain dealing with digital pins 8-13.</p>
<p>Of course <em>now it&#8217;s too late to switch</em> because everyone that has designed <a href="http://www.arduino.cc/en/Main/ArduinoShields">shields</a> for the Arduno made them to fit the weird offset between pins 7 and 8.</p>
<p>Grumble&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2008/09/arduino-fix-your-pin-spacing/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>I programmed the RSTDISBL fuse.</title>
		<link>http://mightyohm.com/blog/2008/09/i-programmed-the-rstdisbl-fuse/</link>
		<comments>http://mightyohm.com/blog/2008/09/i-programmed-the-rstdisbl-fuse/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 08:24:02 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[AVR]]></category>

		<guid isPermaLink="false">http://mightyohm.com/blog/?p=287</guid>
		<description><![CDATA[AVR microcontrollers use &#8220;fuse bits&#8221; to set various operational parameters of the device, such as the speed of the internal oscillator or the watchdog timer settings. Most fuse bits can be set or reset without worry, that is, they can be flashed into one state and then flashed back again using an SPI programmer like [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.atmel.com/products/AVR/">AVR microcontrollers</a> use &#8220;<a href="http://www.engbedded.com/cgi-bin/fc.cgi">fuse bits</a>&#8221; to set various operational parameters of the device, such as the speed of the internal oscillator or the watchdog timer settings.</p>
<p>Most fuse bits can be set or reset without worry, that is, they can be flashed into one state and then flashed back again using an <a href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus">SPI</a> programmer like the <a href="http://ladyada.net/make/usbtinyisp/">USBTinyISP</a>.</p>
<p>However, some fuse bits are irreversable or at least awkward to change, similar to the code protection bits on a <a href="http://www.microchip.com">PIC</a> microcontroller.</p>
<p>One example is the RSTDISBL fuse.  This fuse allows bit 6 of PORTC to be used as a general purpose I/O pin instead of the RESET pin.  Well, it turns out that SPI programmers <strong>need</strong> the RESET pin to flash the device.  (RESET is set as part of the routine to enter serial programming mode.)  Once the RSTDISBL fuse is set, no more SPI flashing is possible.  The only way to recover is with a high voltage programmer like the <a href="http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=2735">STK500</a>, which I don&#8217;t have.<a href="http://www.atmel.com/dyn/Products/tools_card.asp?tool_id=2735"><br />
</a></p>
<p>Too bad I didn&#8217;t realize that beforehand.</p>
<p>At least I&#8217;m not the only person who has done this before: <a href="http://support.atmel.no/bin/customer?=&amp;action=viewKbEntry&amp;id=13">http://support.atmel.no/bin/customer?=&amp;action=viewKbEntry&amp;id=13</a></p>
<p><strong>Update:</strong> It&#8217;s alive!!!  I made a high voltage parallel programmer out of an <a href="http://www.arduino.cc">Arduino</a>, flashed the fuses back again, and the AVR came back to life.  The parallel programming protocol is well documented in the datasheet for the part and pretty straightforward.  I think I&#8217;ll transfer the circuit onto a perfboard just in case I ever need to do this again!</p>
]]></content:encoded>
			<wfw:commentRss>http://mightyohm.com/blog/2008/09/i-programmed-the-rstdisbl-fuse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

