<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Fanjita's Rants (Entries tagged as pinouts)</title>
    <link>http://www.fanjita.org/serendipity/</link>
    <description>Perspectives of a PSP Homebrew developer</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6 - http://www.s9y.org/</generator>
    <pubDate>Fri, 03 Feb 2012 17:52:06 GMT</pubDate>

    <image>
        <url>http://www.fanjita.org/serendipity/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Fanjita's Rants - Perspectives of a PSP Homebrew developer</title>
        <link>http://www.fanjita.org/serendipity/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Even lazier ICSP programming</title>
    <link>http://www.fanjita.org/serendipity/archives/37-Even-lazier-ICSP-programming.html</link>
            <category>Arduino</category>
    
    <comments>http://www.fanjita.org/serendipity/archives/37-Even-lazier-ICSP-programming.html#comments</comments>
    <wfw:comment>http://www.fanjita.org/serendipity/wfwcomment.php?cid=37</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.fanjita.org/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    

    <author>nospam@example.com (Fanjita)</author>
    <content:encoded>
    &lt;p&gt;The previous post discussed my gradual drift to using a dedicated ICSP programmer to reflash AVR chips.  This post describes how to make useful ICSP slave boards, to make life easier yet.
&lt;p&gt;First up, some pinouts.  I&#039;m mostly interested in the 6-pin ICSP header, and the ATTiny85 (absolutely tiny, not many I/O pins), ATTiny2313 (a bit bigger, tiny memory, but built-in UART and more I/O pins), and ATmega328 (as used in Arduino).  &lt;i&gt;These are all drawn on a Mac in &quot;Shapes&quot;, by the way.  Another experiment, and it seems OK for basic diagrams, if a little buggy.  &amp;pound;2.99 from the App Store.&lt;/i&gt;
&lt;p&gt;&lt;!-- s9ymdb:15 --&gt;&lt;img width=&quot;320&quot; height=&quot;400&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/ISP6Header.png&quot;  alt=&quot;&quot; /&gt;
&lt;!-- s9ymdb:16 --&gt;&lt;img width=&quot;320&quot; height=&quot;240&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/Tiny85.png&quot;  alt=&quot;&quot; /&gt;
&lt;!-- s9ymdb:17 --&gt;&lt;img  width=&quot;320&quot; height=&quot;400&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/Tiny2313.png&quot;  alt=&quot;&quot; /&gt;&lt;!-- s9ymdb:18 --&gt;&lt;img width=&quot;320&quot; height=&quot;400&quot;  src=&quot;http://www.fanjita.org/serendipity/uploads/Mega328.png&quot;  alt=&quot;&quot; /&gt;
&lt;p&gt;I&#039;ve only marked the pins that are important for ICSP.  Connecting one of these up to an ICSP header is trivial - just connect the corresponding pin labels together between the ICSP header, and an IC socket.  Notes:
&lt;ol&gt;&lt;li&gt;If you want to flash an IC that&#039;s to be fused for an external oscillator, or already is fused that way, then you&#039;ll need to do some work with the XTAL1 and XTAL2 pins before the ICSP master will communicate properly with the slave.  For simple ATTiny work, you don&#039;t need to bother with external oscillators, but for Arduino, you do.
&lt;li&gt;On the ATmega328, the Vref and AVcc pins also connect to Vcc on the ISP header.&lt;/ol&gt;
&lt;p&gt;Ah - but see how a lot of the pins are all in &lt;em&gt;roughly&lt;/em&gt; the same place and order?  Well, I wondered if you could connect up a single socket in such a way that it can be used to program any of these 3 chips?  Luckily, we can!   &lt;br /&gt;&lt;a href=&quot;http://www.fanjita.org/serendipity/archives/37-Even-lazier-ICSP-programming.html#extended&quot;&gt;Continue reading &quot;Even lazier ICSP programming&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 02 Feb 2012 23:00:00 +0000</pubDate>
    <guid isPermaLink="false">http://www.fanjita.org/serendipity/archives/37-guid.html</guid>
    <category>arduino</category>
<category>attiny</category>
<category>icsp</category>
<category>pinouts</category>

</item>

</channel>
</rss>