From ded30f86bcb61cc82e2c1e3ede1cff2baf42358c Mon Sep 17 00:00:00 2001 From: Joerg Wunsch <j@uriah.heep.sax.de> Date: Wed, 16 Mar 2022 23:22:14 +0100 Subject: [PATCH] CSS test --- docs/avrdude.html | 38 +++- docs/avrdude_1.html | 30 ++- docs/avrdude_10.html | 31 +++- docs/avrdude_11.html | 34 +++- docs/avrdude_12.html | 137 +++----------- docs/avrdude_13.html | 108 ++++------- docs/avrdude_14.html | 119 +++++++++--- docs/avrdude_15.html | 189 +++++++++---------- docs/avrdude_16.html | 84 ++++----- docs/avrdude_17.html | 229 ++++++++++++----------- docs/avrdude_18.html | 82 +++++--- docs/avrdude_19.html | 406 ++++++++++++---------------------------- docs/avrdude_2.html | 29 ++- docs/avrdude_20.html | 339 ++++------------------------------ docs/avrdude_21.html | 366 ++++-------------------------------- docs/avrdude_22.html | 130 +++++++++++++ docs/avrdude_23.html | 118 ++++++++++++ docs/avrdude_24.html | 110 +++++++++++ docs/avrdude_25.html | 112 +++++++++++ docs/avrdude_26.html | 101 ++++++++++ docs/avrdude_27.html | 101 ++++++++++ docs/avrdude_28.html | 120 ++++++++++++ docs/avrdude_29.html | 107 +++++++++++ docs/avrdude_3.html | 32 +++- docs/avrdude_30.html | 109 +++++++++++ docs/avrdude_31.html | 127 +++++++++++++ docs/avrdude_32.html | 105 +++++++++++ docs/avrdude_33.html | 102 ++++++++++ docs/avrdude_34.html | 130 +++++++++++++ docs/avrdude_35.html | 105 +++++++++++ docs/avrdude_36.html | 101 ++++++++++ docs/avrdude_37.html | 126 +++++++++++++ docs/avrdude_38.html | 108 +++++++++++ docs/avrdude_39.html | 421 ++++++++++++++++++++++++++++++++++++++++++ docs/avrdude_4.html | 30 ++- docs/avrdude_5.html | 30 ++- docs/avrdude_6.html | 29 ++- docs/avrdude_7.html | 30 ++- docs/avrdude_8.html | 30 ++- docs/avrdude_9.html | 36 +++- docs/avrdude_abt.html | 24 ++- docs/avrdude_toc.html | 76 +++++--- 42 files changed, 3389 insertions(+), 1482 deletions(-) create mode 100644 docs/avrdude_22.html create mode 100644 docs/avrdude_23.html create mode 100644 docs/avrdude_24.html create mode 100644 docs/avrdude_25.html create mode 100644 docs/avrdude_26.html create mode 100644 docs/avrdude_27.html create mode 100644 docs/avrdude_28.html create mode 100644 docs/avrdude_29.html create mode 100644 docs/avrdude_30.html create mode 100644 docs/avrdude_31.html create mode 100644 docs/avrdude_32.html create mode 100644 docs/avrdude_33.html create mode 100644 docs/avrdude_34.html create mode 100644 docs/avrdude_35.html create mode 100644 docs/avrdude_36.html create mode 100644 docs/avrdude_37.html create mode 100644 docs/avrdude_38.html create mode 100644 docs/avrdude_39.html diff --git a/docs/avrdude.html b/docs/avrdude.html index 0e069a81..812a4dd9 100644 --- a/docs/avrdude.html +++ b/docs/avrdude.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -92,6 +109,7 @@ by the Free Software Foundation. <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <table class="menu" border="0" cellspacing="0"> @@ -103,11 +121,11 @@ by the Free Software Foundation. </td></tr> <tr><td align="left" valign="top"><a href="avrdude_9.html#Configuration-File">4 Configuration File</a></td><td> </td><td align="left" valign="top"> </td></tr> -<tr><td align="left" valign="top"><a href="avrdude_14.html#Programmer-Specific-Information">5 Programmer Specific Information</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_16.html#Programmer-Specific-Information">5 Programmer Specific Information</a></td><td> </td><td align="left" valign="top"> </td></tr> -<tr><td align="left" valign="top"><a href="avrdude_18.html#Platform-Dependent-Information">Appendix A Platform Dependent Information</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_20.html#Platform-Dependent-Information">Appendix A Platform Dependent Information</a></td><td> </td><td align="left" valign="top"> </td></tr> -<tr><td align="left" valign="top"><a href="avrdude_21.html#Troubleshooting">Appendix B Troubleshooting</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_39.html#Troubleshooting">Appendix B Troubleshooting</a></td><td> </td><td align="left" valign="top"> </td></tr> </table> @@ -304,7 +322,7 @@ utility, but it also contains some performance improvements included in Spence Konde’s <em>DxCore</em> Arduino core (<a href="https://github.com/SpenceKonde/DxCore">https://github.com/SpenceKonde/DxCore</a>). In a nutshell, this programmer consists of simple USB->UART adapter, diode and couple of resistors. It uses serial connection to provide UPDI interface. -See section <a href="avrdude_17.html#SerialUPDI-programmer">SerialUPDI programmer</a> for more details and known issues. +See section <a href="avrdude_19.html#SerialUPDI-programmer">SerialUPDI programmer</a> for more details and known issues. </p> <p>The jtag2updi programmer is supported, and can program AVRs with a UPDI interface. @@ -336,10 +354,18 @@ below for Teensy specific options. <td valign="middle" align="left">[ Up ]</td> <td valign="middle" align="left">[<a href="avrdude_1.html#History" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left">[<a href="avrdude_2.html#Command-Line-Options" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_1.html b/docs/avrdude_1.html index 0e592464..ee104d84 100644 --- a/docs/avrdude_1.html +++ b/docs/avrdude_1.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="History-and-Credits"></a> <h2 class="section">1.1 History and Credits</h2> @@ -99,10 +117,18 @@ Roth. <td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_2.html#Command-Line-Options" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left">[<a href="avrdude_2.html#Command-Line-Options" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_10.html b/docs/avrdude_10.html index 141b143c..e32942ed 100644 --- a/docs/avrdude_10.html +++ b/docs/avrdude_10.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -55,7 +72,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_11.html#Programmer-Definitions" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="AVRDUDE-Defaults-1"></a> <h2 class="section">4.1 AVRDUDE Defaults</h2> @@ -93,16 +111,9 @@ option. <hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_11.html#Programmer-Definitions" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_11.html b/docs/avrdude_11.html index 35ba4254..4ce8a7f8 100644 --- a/docs/avrdude_11.html +++ b/docs/avrdude_11.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -55,7 +72,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[<a href="avrdude_10.html#AVRDUDE-Defaults" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_12.html#Part-Definitions" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Programmer-Definitions-1"></a> <h2 class="section">4.2 Programmer Definitions</h2> @@ -161,11 +179,19 @@ programmer. These values can be changed by new setting them for the new programm <td valign="middle" align="left">[<a href="avrdude_10.html#AVRDUDE-Defaults" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_12.html#Part-Definitions" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_12.html b/docs/avrdude_12.html index b79fbe3e..b500b781 100644 --- a/docs/avrdude_12.html +++ b/docs/avrdude_12.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -54,8 +71,8 @@ ul.no-bullet {list-style: none} <tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> <td valign="middle" align="left">[<a href="avrdude_11.html#Programmer-Definitions" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Parent-Part" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_13.html#Parent-Part" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Part-Definitions-1"></a> <h2 class="section">4.3 Part Definitions</h2> @@ -164,20 +182,19 @@ ul.no-bullet {list-style: none} </pre></div> <table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="#Parent-Part">4.3.1 Parent Part</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_13.html#Parent-Part">4.3.1 Parent Part</a></td><td> </td><td align="left" valign="top"> </td></tr> -<tr><td align="left" valign="top"><a href="#Instruction-Format">4.3.2 Instruction Format</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_14.html#Instruction-Format">4.3.2 Instruction Format</a></td><td> </td><td align="left" valign="top"> </td></tr> </table> <hr> -<a name="Parent-Part"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> <tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Part-Definitions" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Part-Definitions" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Instruction-Format" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_11.html#Programmer-Definitions" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_13.html#Parent-Part" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -187,107 +204,9 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Parent-Part-1"></a> -<h3 class="subsection">4.3.1 Parent Part</h3> - -<p>Parts can also inherit parameters from previously defined parts -using the following syntax. In this case specified integer and -string values override parameter values from the parent part. New -memory definitions are added to the definitions inherited from the -parent. -</p> -<div class="smallexample"> -<pre class="smallexample"> part parent <id> # quoted string - id = <id> ; # quoted string - <any set of other parameters from the list above> - ; -</pre></div> - -<hr> -<a name="Instruction-Format"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Parent-Part" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Part-Definitions" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_13.html#Other-Notes" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Instruction-Format-1"></a> -<h3 class="subsection">4.3.2 Instruction Format</h3> - -<p>Instruction formats are specified as a comma separated list of string -values containing information (bit specifiers) about each of the 32 bits -of the instruction. Bit specifiers may be one of the following formats: -</p> -<dl compact="compact"> -<dt><code>1</code></dt> -<dd><p>The bit is always set on input as well as output -</p> -</dd> -<dt><code>0</code></dt> -<dd><p>the bit is always clear on input as well as output -</p> -</dd> -<dt><code>x</code></dt> -<dd><p>the bit is ignored on input and output -</p> -</dd> -<dt><code>a</code></dt> -<dd><p>the bit is an address bit, the bit-number matches this bit specifier’s -position within the current instruction byte -</p> -</dd> -<dt><code>a<var>N</var></code></dt> -<dd><p>the bit is the <var>N</var>th address bit, bit-number = N, i.e., <code>a12</code> -is address bit 12 on input, <code>a0</code> is address bit 0. -</p> -</dd> -<dt><code>i</code></dt> -<dd><p>the bit is an input data bit -</p> -</dd> -<dt><code>o</code></dt> -<dd><p>the bit is an output data bit -</p> -</dd> -</dl> - -<p>Each instruction must be composed of 32 bit specifiers. The instruction -specification closely follows the instruction data provided in Atmel’s -data sheets for their parts. For example, the EEPROM read and write -instruction for an AT90S2313 AVR part could be encoded as: -</p> -<div class="smallexample"> -<pre class="smallexample"> -read = "1 0 1 0 0 0 0 0 x x x x x x x x", - "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; - -write = "1 1 0 0 0 0 0 0 x x x x x x x x", - "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; - -</pre></div> - - - -<hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Parent-Part" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Part-Definitions" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_13.html#Other-Notes" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_13.html b/docs/avrdude_13.html index 1d4c75ea..e3232ce3 100644 --- a/docs/avrdude_13.html +++ b/docs/avrdude_13.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: 4.4 Other Notes</title> +<title>AVRDUDE: 4.3.1 Parent Part</title> -<meta name="description" content="AVRDUDE: 4.4 Other Notes"> -<meta name="keywords" content="AVRDUDE: 4.4 Other Notes"> +<meta name="description" content="AVRDUDE: 4.3.1 Parent Part"> +<meta name="keywords" content="AVRDUDE: 4.3.1 Parent Part"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Other-Notes"></a> +<a name="Parent-Part"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> <tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_12.html#Instruction-Format" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_12.html#Part-Definitions" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_12.html#Part-Definitions" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_14.html#Instruction-Format" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,70 +82,27 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Other-Notes-1"></a> -<h2 class="section">4.4 Other Notes</h2> +<hr> +<a name="Parent-Part-1"></a> +<h3 class="subsection">4.3.1 Parent Part</h3> - -<ul> -<li> -The <code>devicecode</code> parameter is the device code used by the STK500 -and is obtained from the software section (<code>avr061.zip</code>) of -Atmel’s AVR061 application note available from -<a href="http://www.atmel.com/dyn/resources/prod_documents/doc2525.pdf">http://www.atmel.com/dyn/resources/prod_documents/doc2525.pdf</a>. - -</li><li> -Not all memory types will implement all instructions. - -</li><li> -AVR Fuse bits and Lock bits are implemented as a type of memory. - -</li><li> -Example memory types are: <code>flash</code>, <code>eeprom</code>, <code>fuse</code>, -<code>lfuse</code> (low fuse), <code>hfuse</code> (high fuse), <code>efuse</code> -(extended fuse), <code>signature</code>, <code>calibration</code>, <code>lock</code>. - -</li><li> -The memory type specified on the AVRDUDE command line must match one of -the memory types defined for the specified chip. - -</li><li> -The <code>pwroff_after_write</code> flag causes AVRDUDE to attempt to power -the device off and back on after an unsuccessful write to the affected -memory area if VCC programmer pins are defined. If VCC pins are not -defined for the programmer, a message indicating that the device needs a -power-cycle is printed out. This flag was added to work around a -problem with the at90s4433/2333’s; see the at90s4433 errata at: - -<p> <a href="http://www.atmel.com/dyn/resources/prod_documents/doc1280.pdf">http://www.atmel.com/dyn/resources/prod_documents/doc1280.pdf</a> +<p>Parts can also inherit parameters from previously defined parts +using the following syntax. In this case specified integer and +string values override parameter values from the parent part. New +memory definitions are added to the definitions inherited from the +parent. </p> -</li><li> -The boot loader from application note AVR109 (and thus also the AVR -Butterfly) does not support writing of fuse bits. Writing lock bits -is supported, but is restricted to the boot lock bits (BLBxx). These -are restrictions imposed by the underlying SPM instruction that is used -to program the device from inside the boot loader. Note that programming -the boot lock bits can result in a “shoot-into-your-foot” scenario as -the only way to unprogram these bits is a chip erase, which will also -erase the boot loader code. - -<p>The boot loader implements the “chip erase” function by erasing the -flash pages of the application section. -</p> -<p>Reading fuse and lock bits is fully supported. -</p> -</li></ul> +<div class="smallexample"> +<pre class="smallexample"> part parent <id> # quoted string + id = <id> ; # quoted string + <any set of other parameters from the list above> + ; +</pre></div> <hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_12.html#Instruction-Format" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_14.html b/docs/avrdude_14.html index df085ed8..02b7cba8 100644 --- a/docs/avrdude_14.html +++ b/docs/avrdude_14.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: 5 Programmer Specific Information</title> +<title>AVRDUDE: 4.3.2 Instruction Format</title> -<meta name="description" content="AVRDUDE: 5 Programmer Specific Information"> -<meta name="keywords" content="AVRDUDE: 5 Programmer Specific Information"> +<meta name="description" content="AVRDUDE: 4.3.2 Instruction Format"> +<meta name="keywords" content="AVRDUDE: 4.3.2 Instruction Format"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Programmer-Specific-Information"></a> +<a name="Instruction-Format"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> <tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_13.html#Other-Notes" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[<a href="avrdude_15.html#Atmel-STK600" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_13.html#Parent-Part" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_12.html#Part-Definitions" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_15.html#Other-Notes" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,29 +82,83 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Programmer-Specific-Information-1"></a> -<h1 class="chapter">5 Programmer Specific Information</h1> +<hr> +<a name="Instruction-Format-1"></a> +<h3 class="subsection">4.3.2 Instruction Format</h3> + +<p>Instruction formats are specified as a comma separated list of string +values containing information (bit specifiers) about each of the 32 bits +of the instruction. Bit specifiers may be one of the following formats: +</p> +<dl compact="compact"> +<dt><code>1</code></dt> +<dd><p>The bit is always set on input as well as output +</p> +</dd> +<dt><code>0</code></dt> +<dd><p>the bit is always clear on input as well as output +</p> +</dd> +<dt><code>x</code></dt> +<dd><p>the bit is ignored on input and output +</p> +</dd> +<dt><code>a</code></dt> +<dd><p>the bit is an address bit, the bit-number matches this bit specifier’s +position within the current instruction byte +</p> +</dd> +<dt><code>a<var>N</var></code></dt> +<dd><p>the bit is the <var>N</var>th address bit, bit-number = N, i.e., <code>a12</code> +is address bit 12 on input, <code>a0</code> is address bit 0. +</p> +</dd> +<dt><code>i</code></dt> +<dd><p>the bit is an input data bit +</p> +</dd> +<dt><code>o</code></dt> +<dd><p>the bit is an output data bit +</p> +</dd> +</dl> + +<p>Each instruction must be composed of 32 bit specifiers. The instruction +specification closely follows the instruction data provided in Atmel’s +data sheets for their parts. For example, the EEPROM read and write +instruction for an AT90S2313 AVR part could be encoded as: +</p> +<div class="smallexample"> +<pre class="smallexample"> +read = "1 0 1 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o"; + +write = "1 1 0 0 0 0 0 0 x x x x x x x x", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + +</pre></div> + -<table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="avrdude_15.html#Atmel-STK600">5.1 Atmel STK600</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="avrdude_16.html#Atmel-DFU-bootloader-using-FLIP-version-1">5.2 Atmel DFU bootloader using FLIP version 1</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="avrdude_17.html#SerialUPDI-programmer">5.3 SerialUPDI programmer</a></td><td> </td><td align="left" valign="top"> -</td></tr> -</table> <hr> <table class="header" cellpadding="1" cellspacing="1" border="0"> <tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_13.html#Other-Notes" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[<a href="avrdude_15.html#Atmel-STK600" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_13.html#Parent-Part" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_12.html#Part-Definitions" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_15.html#Other-Notes" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_15.html b/docs/avrdude_15.html index c4f0c0ac..5c6e9d49 100644 --- a/docs/avrdude_15.html +++ b/docs/avrdude_15.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: 5.1 Atmel STK600</title> +<title>AVRDUDE: 4.4 Other Notes</title> -<meta name="description" content="AVRDUDE: 5.1 Atmel STK600"> -<meta name="keywords" content="AVRDUDE: 5.1 Atmel STK600"> +<meta name="description" content="AVRDUDE: 4.4 Other Notes"> +<meta name="keywords" content="AVRDUDE: 4.4 Other Notes"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Atmel-STK600"></a> +<a name="Other-Notes"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_16.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_14.html#Instruction-Format" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,105 +82,79 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Atmel-STK600-1"></a> -<h2 class="section">5.1 Atmel STK600</h2> +<hr> +<a name="Other-Notes-1"></a> +<h2 class="section">4.4 Other Notes</h2> -<p>The following devices are supported by the respective STK600 routing -and socket card: -</p> -<table> -<thead><tr><th width="25%">Routing card</th><th width="25%">Socket card</th><th width="50%">Devices</th></tr></thead> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATTINY10</code></td><td width="50%">ATtiny4 ATtiny5 ATtiny9 ATtiny10</td></tr> -<tr><td width="25%"><code>STK600-RC008T-2</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny11 ATtiny12 ATtiny13 ATtiny13A ATtiny25 ATtiny45 ATtiny85</td></tr> -<tr><td width="25%"><code>STK600-RC008T-7</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny15</td></tr> -<tr><td width="25%"><code>STK600-RC014T-42</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">ATtiny20</td></tr> -<tr><td width="25%"><code>STK600-RC020T-1</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny2313 ATtiny2313A ATtiny4313</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-TinyX3U</code></td><td width="50%">ATtiny43U</td></tr> -<tr><td width="25%"><code>STK600-RC014T-12</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny24 ATtiny44 ATtiny84 ATtiny24A ATtiny44A</td></tr> -<tr><td width="25%"><code>STK600-RC020T-8</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny26 ATtiny261 ATtiny261A ATtiny461 ATtiny861 ATtiny861A</td></tr> -<tr><td width="25%"><code>STK600-RC020T-43</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">ATtiny261 ATtiny261A ATtiny461 ATtiny461A ATtiny861 ATtiny861A</td></tr> -<tr><td width="25%"><code>STK600-RC020T-23</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">ATtiny87 ATtiny167</td></tr> -<tr><td width="25%"><code>STK600-RC028T-3</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny28</td></tr> -<tr><td width="25%"><code>STK600-RC028M-6</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny48 ATtiny88 ATmega8 ATmega8A ATmega48 ATmega88 ATmega168 ATmega48P ATmega48PA ATmega88P ATmega88PA ATmega168P ATmega168PA ATmega328P</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-ATTINY88-QT8</code></td><td width="50%">ATtiny88</td></tr> -<tr><td width="25%"><code>STK600-RC040M-4</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATmega8515 ATmega162</td></tr> -<tr><td width="25%"><code>STK600-RC044M-30</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATmega8515 ATmega162</td></tr> -<tr><td width="25%"><code>STK600-RC040M-5</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATmega8535 ATmega16 ATmega16A ATmega32 ATmega32A ATmega164P ATmega164PA ATmega324P ATmega324PA ATmega644 ATmega644P ATmega644PA ATmega1284P</td></tr> -<tr><td width="25%"><code>STK600-RC044M-31</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATmega8535 ATmega16 ATmega16A ATmega32 ATmega32A ATmega164P ATmega164PA ATmega324P ATmega324PA ATmega644 ATmega644P ATmega644PA ATmega1284P</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-ATMEGA324-QM64</code></td><td width="50%">ATmega324PA</td></tr> -<tr><td width="25%"><code>STK600-RC032M-29</code></td><td width="25%"><code>STK600-TQFP32</code></td><td width="50%">ATmega8 ATmega8A ATmega48 ATmega88 ATmega168 ATmega48P ATmega48PA ATmega88P ATmega88PA ATmega168P ATmega168PA ATmega328P</td></tr> -<tr><td width="25%"><code>STK600-RC064M-9</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATmega64 ATmega64A ATmega128 ATmega128A ATmega1281 ATmega2561 AT90CAN32 AT90CAN64 AT90CAN128</td></tr> -<tr><td width="25%"><code>STK600-RC064M-10</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATmega165 ATmega165P ATmega169 ATmega169P ATmega169PA ATmega325 ATmega325P ATmega329 ATmega329P ATmega645 ATmega649 ATmega649P</td></tr> -<tr><td width="25%"><code>STK600-RC100M-11</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">ATmega640 ATmega1280 ATmega2560</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATMEGA2560</code></td><td width="50%">ATmega2560</td></tr> -<tr><td width="25%"><code>STK600-RC100M-18</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">ATmega3250 ATmega3250P ATmega3290 ATmega3290P ATmega6450 ATmega6490</td></tr> -<tr><td width="25%"><code>STK600-RC032U-20</code></td><td width="25%"><code>STK600-TQFP32</code></td><td width="50%">AT90USB82 AT90USB162 ATmega8U2 ATmega16U2 ATmega32U2</td></tr> -<tr><td width="25%"><code>STK600-RC044U-25</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATmega16U4 ATmega32U4</td></tr> -<tr><td width="25%"><code>STK600-RC064U-17</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATmega32U6 AT90USB646 AT90USB1286 AT90USB647 AT90USB1287</td></tr> -<tr><td width="25%"><code>STK600-RCPWM-22</code></td><td width="25%"><code>STK600-TQFP32</code></td><td width="50%">ATmega32C1 ATmega64C1 ATmega16M1 ATmega32M1 ATmega64M1</td></tr> -<tr><td width="25%"><code>STK600-RCPWM-19</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">AT90PWM2 AT90PWM3 AT90PWM2B AT90PWM3B AT90PWM216 AT90PWM316</td></tr> -<tr><td width="25%"><code>STK600-RCPWM-26</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">AT90PWM81</td></tr> -<tr><td width="25%"><code>STK600-RC044M-24</code></td><td width="25%"><code>STK600-TSSOP44</code></td><td width="50%">ATmega16HVB ATmega32HVB</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-HVE2</code></td><td width="50%">ATmega64HVE</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATMEGA128RFA1</code></td><td width="50%">ATmega128RFA1</td></tr> -<tr><td width="25%"><code>STK600-RC100X-13</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">ATxmega64A1 ATxmega128A1 ATxmega128A1_revD ATxmega128A1U</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATXMEGA1281A1</code></td><td width="50%">ATxmega128A1</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-ATXMEGA128A1-QT16</code></td><td width="50%">ATxmega128A1</td></tr> -<tr><td width="25%"><code>STK600-RC064X-14</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATxmega64A3 ATxmega128A3 ATxmega256A3 ATxmega64D3 ATxmega128D3 ATxmega192D3 ATxmega256D3</td></tr> -<tr><td width="25%"><code>STK600-RC064X-14</code></td><td width="25%"><code>STK600-MLF64</code></td><td width="50%">ATxmega256A3B</td></tr> -<tr><td width="25%"><code>STK600-RC044X-15</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATxmega32A4 ATxmega16A4 ATxmega16D4 ATxmega32D4</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATXMEGAT0</code></td><td width="50%">ATxmega32T0</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-uC3-144</code></td><td width="50%">AT32UC3A0512 AT32UC3A0256 AT32UC3A0128</td></tr> -<tr><td width="25%"><code>STK600-RCUC3A144-33</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3A0512 AT32UC3A0256 AT32UC3A0128</td></tr> -<tr><td width="25%"><code>STK600-RCuC3A100-28</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">AT32UC3A1512 AT32UC3A1256 AT32UC3A1128</td></tr> -<tr><td width="25%"><code>STK600-RCuC3B0-21</code></td><td width="25%"><code>STK600-TQFP64-2</code></td><td width="50%">AT32UC3B0256 AT32UC3B0512RevC AT32UC3B0512 AT32UC3B0128 AT32UC3B064 AT32UC3D1128</td></tr> -<tr><td width="25%"><code>STK600-RCuC3B48-27</code></td><td width="25%"><code>STK600-TQFP48</code></td><td width="50%">AT32UC3B1256 AT32UC3B164</td></tr> -<tr><td width="25%"><code>STK600-RCUC3A144-32</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3A3512 AT32UC3A3256 AT32UC3A3128 AT32UC3A364 AT32UC3A3256S AT32UC3A3128S AT32UC3A364S</td></tr> -<tr><td width="25%"><code>STK600-RCUC3C0-36</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3C0512 AT32UC3C0256 AT32UC3C0128 AT32UC3C064</td></tr> -<tr><td width="25%"><code>STK600-RCUC3C1-38</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">AT32UC3C1512 AT32UC3C1256 AT32UC3C1128 AT32UC3C164</td></tr> -<tr><td width="25%"><code>STK600-RCUC3C2-40</code></td><td width="25%"><code>STK600-TQFP64-2</code></td><td width="50%">AT32UC3C2512 AT32UC3C2256 AT32UC3C2128 AT32UC3C264</td></tr> -<tr><td width="25%"><code>STK600-RCUC3C0-37</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3C0512 AT32UC3C0256 AT32UC3C0128 AT32UC3C064</td></tr> -<tr><td width="25%"><code>STK600-RCUC3C1-39</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">AT32UC3C1512 AT32UC3C1256 AT32UC3C1128 AT32UC3C164</td></tr> -<tr><td width="25%"><code>STK600-RCUC3C2-41</code></td><td width="25%"><code>STK600-TQFP64-2</code></td><td width="50%">AT32UC3C2512 AT32UC3C2256 AT32UC3C2128 AT32UC3C264</td></tr> -<tr><td width="25%"><code>STK600-RCUC3L0-34</code></td><td width="25%"><code>STK600-TQFP48</code></td><td width="50%">AT32UC3L064 AT32UC3L032 AT32UC3L016</td></tr> -<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-AT32UC3L-QM64</code></td><td width="50%">AT32UC3L064</td></tr> -</table> -<p>Ensure the correct socket and routing card are mounted <em>before</em> -powering on the STK600. While the STK600 firmware ensures the socket -and routing card mounted match each other (using a table stored -internally in nonvolatile memory), it cannot handle the case where a -wrong routing card is used, e. g. the routing card -<code>STK600-RC040M-5</code> (which is meant for 40-pin DIP AVRs that have -an ADC, with the power supply pins in the center of the package) was -used but an ATmega8515 inserted (which uses the “industry standard” -pinout with Vcc and GND at opposite corners). +<ul> +<li> +The <code>devicecode</code> parameter is the device code used by the STK500 +and is obtained from the software section (<code>avr061.zip</code>) of +Atmel’s AVR061 application note available from +<a href="http://www.atmel.com/dyn/resources/prod_documents/doc2525.pdf">http://www.atmel.com/dyn/resources/prod_documents/doc2525.pdf</a>. + +</li><li> +Not all memory types will implement all instructions. + +</li><li> +AVR Fuse bits and Lock bits are implemented as a type of memory. + +</li><li> +Example memory types are: <code>flash</code>, <code>eeprom</code>, <code>fuse</code>, +<code>lfuse</code> (low fuse), <code>hfuse</code> (high fuse), <code>efuse</code> +(extended fuse), <code>signature</code>, <code>calibration</code>, <code>lock</code>. + +</li><li> +The memory type specified on the AVRDUDE command line must match one of +the memory types defined for the specified chip. + +</li><li> +The <code>pwroff_after_write</code> flag causes AVRDUDE to attempt to power +the device off and back on after an unsuccessful write to the affected +memory area if VCC programmer pins are defined. If VCC pins are not +defined for the programmer, a message indicating that the device needs a +power-cycle is printed out. This flag was added to work around a +problem with the at90s4433/2333’s; see the at90s4433 errata at: + +<p> <a href="http://www.atmel.com/dyn/resources/prod_documents/doc1280.pdf">http://www.atmel.com/dyn/resources/prod_documents/doc1280.pdf</a> </p> -<p>Note that for devices that use the routing card <code>STK600-RC008T-2</code>, -in order to use ISP mode, the jumper for <code>AREF0</code> must be removed -as it would otherwise block one of the ISP signals. High-voltage -serial programming can be used even with that jumper installed. +</li><li> +The boot loader from application note AVR109 (and thus also the AVR +Butterfly) does not support writing of fuse bits. Writing lock bits +is supported, but is restricted to the boot lock bits (BLBxx). These +are restrictions imposed by the underlying SPM instruction that is used +to program the device from inside the boot loader. Note that programming +the boot lock bits can result in a “shoot-into-your-foot” scenario as +the only way to unprogram these bits is a chip erase, which will also +erase the boot loader code. + +<p>The boot loader implements the “chip erase” function by erasing the +flash pages of the application section. </p> -<p>The ISP system of the STK600 contains a detection against shortcuts -and other wiring errors. AVRDUDE initiates a connection check before -trying to enter ISP programming mode, and display the result if the -target is not found ready to be ISP programmed. -</p> -<p>High-voltage programming requires the target voltage to be set to at -least 4.5 V in order to work. This can be done using -<em>Terminal Mode</em>, see <a href="avrdude_6.html#Terminal-Mode-Operation">Terminal Mode Operation</a>. +<p>Reading fuse and lock bits is fully supported. </p> +</li></ul> + <hr> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_16.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_14.html#Instruction-Format" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_16.html b/docs/avrdude_16.html index 2b3a353e..c6989b35 100644 --- a/docs/avrdude_16.html +++ b/docs/avrdude_16.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1</title> +<title>AVRDUDE: 5 Programmer Specific Information</title> -<meta name="description" content="AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1"> -<meta name="keywords" content="AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1"> +<meta name="description" content="AVRDUDE: 5 Programmer Specific Information"> +<meta name="keywords" content="AVRDUDE: 5 Programmer Specific Information"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Atmel-DFU-bootloader-using-FLIP-version-1"></a> +<a name="Programmer-Specific-Information"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_15.html#Atmel-STK600" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_17.html#SerialUPDI-programmer" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_15.html#Other-Notes" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[ Up ]</td> +<td valign="middle" align="left">[<a href="avrdude_17.html#Atmel-STK600" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,42 +82,23 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Atmel-DFU-bootloader-using-FLIP-version-1-1"></a> -<h2 class="section">5.2 Atmel DFU bootloader using FLIP version 1</h2> - -<p>Bootloaders using the FLIP protocol version 1 experience some very -specific behaviour. -</p> -<p>These bootloaders have no option to access memory areas other than -Flash and EEPROM. -</p> -<p>When the bootloader is started, it enters a <em>security mode</em> where -the only acceptable access is to query the device configuration -parameters (which are used for the signature on AVR devices). The -only way to leave this mode is a <em>chip erase</em>. As a chip erase -is normally implied by the ‘<samp>-U</samp>’ option when reprogramming the -flash, this peculiarity might not be very obvious immediately. -</p> -<p>Sometimes, a bootloader with security mode already disabled seems to -no longer respond with sensible configuration data, but only 0xFF for -all queries. As these queries are used to obtain the equivalent of a -signature, AVRDUDE can only continue in that situation by forcing the -signature check to be overridden with the ‘<samp>-F</samp>’ option. -</p> -<p>A <em>chip erase</em> might leave the EEPROM unerased, at least on some -versions of the bootloader. -</p> <hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_15.html#Atmel-STK600" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_17.html#SerialUPDI-programmer" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> -</tr></table> +<a name="Programmer-Specific-Information-1"></a> +<h1 class="chapter">5 Programmer Specific Information</h1> + +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top"><a href="avrdude_17.html#Atmel-STK600">5.1 Atmel STK600</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_18.html#Atmel-DFU-bootloader-using-FLIP-version-1">5.2 Atmel DFU bootloader using FLIP version 1</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_19.html#SerialUPDI-programmer">5.3 SerialUPDI programmer</a></td><td> </td><td align="left" valign="top"> +</td></tr> +</table> + +<hr> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_17.html b/docs/avrdude_17.html index 5eebbc1b..4f5d9d71 100644 --- a/docs/avrdude_17.html +++ b/docs/avrdude_17.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: 5.3 SerialUPDI programmer</title> +<title>AVRDUDE: 5.1 Atmel STK600</title> -<meta name="description" content="AVRDUDE: 5.3 SerialUPDI programmer"> -<meta name="keywords" content="AVRDUDE: 5.3 SerialUPDI programmer"> +<meta name="description" content="AVRDUDE: 5.1 Atmel STK600"> +<meta name="keywords" content="AVRDUDE: 5.1 Atmel STK600"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="SerialUPDI-programmer"></a> +<a name="Atmel-STK600"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_16.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_18.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,114 +82,114 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="SerialUPDI-programmer-1"></a> -<h2 class="section">5.3 SerialUPDI programmer</h2> +<hr> +<a name="Atmel-STK600-1"></a> +<h2 class="section">5.1 Atmel STK600</h2> -<p>SerialUPDI programmer can be used for programming UPDI-only devices -using very simple serial connection. -You can read more about the details here -<a href="https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md">https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md</a> +<p>The following devices are supported by the respective STK600 routing +and socket card: </p> -<p>SerialUPDI programmer has been tested using FT232RL USB->UART interface -with the following connection layout (copied from Spence Kohde’s page linked -above): -</p> -<div class="example"> -<pre class="example">-------------------- To Target device - DTR| __________________ - Rx |--------------,------------------| UPDI---\/\/----------> - Tx---/\/\/\---Tx |-------|<|---' .--------| Gnd 470 ohm - resistor Vcc|---------------------------------| Vcc - 1k CTS| .` |__________________ - Gnd|--------------------' --------------------- -</pre></div> +<table> +<thead><tr><th width="25%">Routing card</th><th width="25%">Socket card</th><th width="50%">Devices</th></tr></thead> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATTINY10</code></td><td width="50%">ATtiny4 ATtiny5 ATtiny9 ATtiny10</td></tr> +<tr><td width="25%"><code>STK600-RC008T-2</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny11 ATtiny12 ATtiny13 ATtiny13A ATtiny25 ATtiny45 ATtiny85</td></tr> +<tr><td width="25%"><code>STK600-RC008T-7</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny15</td></tr> +<tr><td width="25%"><code>STK600-RC014T-42</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">ATtiny20</td></tr> +<tr><td width="25%"><code>STK600-RC020T-1</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny2313 ATtiny2313A ATtiny4313</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-TinyX3U</code></td><td width="50%">ATtiny43U</td></tr> +<tr><td width="25%"><code>STK600-RC014T-12</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny24 ATtiny44 ATtiny84 ATtiny24A ATtiny44A</td></tr> +<tr><td width="25%"><code>STK600-RC020T-8</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny26 ATtiny261 ATtiny261A ATtiny461 ATtiny861 ATtiny861A</td></tr> +<tr><td width="25%"><code>STK600-RC020T-43</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">ATtiny261 ATtiny261A ATtiny461 ATtiny461A ATtiny861 ATtiny861A</td></tr> +<tr><td width="25%"><code>STK600-RC020T-23</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">ATtiny87 ATtiny167</td></tr> +<tr><td width="25%"><code>STK600-RC028T-3</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny28</td></tr> +<tr><td width="25%"><code>STK600-RC028M-6</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATtiny48 ATtiny88 ATmega8 ATmega8A ATmega48 ATmega88 ATmega168 ATmega48P ATmega48PA ATmega88P ATmega88PA ATmega168P ATmega168PA ATmega328P</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-ATTINY88-QT8</code></td><td width="50%">ATtiny88</td></tr> +<tr><td width="25%"><code>STK600-RC040M-4</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATmega8515 ATmega162</td></tr> +<tr><td width="25%"><code>STK600-RC044M-30</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATmega8515 ATmega162</td></tr> +<tr><td width="25%"><code>STK600-RC040M-5</code></td><td width="25%"><code>STK600-DIP</code></td><td width="50%">ATmega8535 ATmega16 ATmega16A ATmega32 ATmega32A ATmega164P ATmega164PA ATmega324P ATmega324PA ATmega644 ATmega644P ATmega644PA ATmega1284P</td></tr> +<tr><td width="25%"><code>STK600-RC044M-31</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATmega8535 ATmega16 ATmega16A ATmega32 ATmega32A ATmega164P ATmega164PA ATmega324P ATmega324PA ATmega644 ATmega644P ATmega644PA ATmega1284P</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-ATMEGA324-QM64</code></td><td width="50%">ATmega324PA</td></tr> +<tr><td width="25%"><code>STK600-RC032M-29</code></td><td width="25%"><code>STK600-TQFP32</code></td><td width="50%">ATmega8 ATmega8A ATmega48 ATmega88 ATmega168 ATmega48P ATmega48PA ATmega88P ATmega88PA ATmega168P ATmega168PA ATmega328P</td></tr> +<tr><td width="25%"><code>STK600-RC064M-9</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATmega64 ATmega64A ATmega128 ATmega128A ATmega1281 ATmega2561 AT90CAN32 AT90CAN64 AT90CAN128</td></tr> +<tr><td width="25%"><code>STK600-RC064M-10</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATmega165 ATmega165P ATmega169 ATmega169P ATmega169PA ATmega325 ATmega325P ATmega329 ATmega329P ATmega645 ATmega649 ATmega649P</td></tr> +<tr><td width="25%"><code>STK600-RC100M-11</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">ATmega640 ATmega1280 ATmega2560</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATMEGA2560</code></td><td width="50%">ATmega2560</td></tr> +<tr><td width="25%"><code>STK600-RC100M-18</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">ATmega3250 ATmega3250P ATmega3290 ATmega3290P ATmega6450 ATmega6490</td></tr> +<tr><td width="25%"><code>STK600-RC032U-20</code></td><td width="25%"><code>STK600-TQFP32</code></td><td width="50%">AT90USB82 AT90USB162 ATmega8U2 ATmega16U2 ATmega32U2</td></tr> +<tr><td width="25%"><code>STK600-RC044U-25</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATmega16U4 ATmega32U4</td></tr> +<tr><td width="25%"><code>STK600-RC064U-17</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATmega32U6 AT90USB646 AT90USB1286 AT90USB647 AT90USB1287</td></tr> +<tr><td width="25%"><code>STK600-RCPWM-22</code></td><td width="25%"><code>STK600-TQFP32</code></td><td width="50%">ATmega32C1 ATmega64C1 ATmega16M1 ATmega32M1 ATmega64M1</td></tr> +<tr><td width="25%"><code>STK600-RCPWM-19</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">AT90PWM2 AT90PWM3 AT90PWM2B AT90PWM3B AT90PWM216 AT90PWM316</td></tr> +<tr><td width="25%"><code>STK600-RCPWM-26</code></td><td width="25%"><code>STK600-SOIC</code></td><td width="50%">AT90PWM81</td></tr> +<tr><td width="25%"><code>STK600-RC044M-24</code></td><td width="25%"><code>STK600-TSSOP44</code></td><td width="50%">ATmega16HVB ATmega32HVB</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-HVE2</code></td><td width="50%">ATmega64HVE</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATMEGA128RFA1</code></td><td width="50%">ATmega128RFA1</td></tr> +<tr><td width="25%"><code>STK600-RC100X-13</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">ATxmega64A1 ATxmega128A1 ATxmega128A1_revD ATxmega128A1U</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATXMEGA1281A1</code></td><td width="50%">ATxmega128A1</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-ATXMEGA128A1-QT16</code></td><td width="50%">ATxmega128A1</td></tr> +<tr><td width="25%"><code>STK600-RC064X-14</code></td><td width="25%"><code>STK600-TQFP64</code></td><td width="50%">ATxmega64A3 ATxmega128A3 ATxmega256A3 ATxmega64D3 ATxmega128D3 ATxmega192D3 ATxmega256D3</td></tr> +<tr><td width="25%"><code>STK600-RC064X-14</code></td><td width="25%"><code>STK600-MLF64</code></td><td width="50%">ATxmega256A3B</td></tr> +<tr><td width="25%"><code>STK600-RC044X-15</code></td><td width="25%"><code>STK600-TQFP44</code></td><td width="50%">ATxmega32A4 ATxmega16A4 ATxmega16D4 ATxmega32D4</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-ATXMEGAT0</code></td><td width="50%">ATxmega32T0</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>STK600-uC3-144</code></td><td width="50%">AT32UC3A0512 AT32UC3A0256 AT32UC3A0128</td></tr> +<tr><td width="25%"><code>STK600-RCUC3A144-33</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3A0512 AT32UC3A0256 AT32UC3A0128</td></tr> +<tr><td width="25%"><code>STK600-RCuC3A100-28</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">AT32UC3A1512 AT32UC3A1256 AT32UC3A1128</td></tr> +<tr><td width="25%"><code>STK600-RCuC3B0-21</code></td><td width="25%"><code>STK600-TQFP64-2</code></td><td width="50%">AT32UC3B0256 AT32UC3B0512RevC AT32UC3B0512 AT32UC3B0128 AT32UC3B064 AT32UC3D1128</td></tr> +<tr><td width="25%"><code>STK600-RCuC3B48-27</code></td><td width="25%"><code>STK600-TQFP48</code></td><td width="50%">AT32UC3B1256 AT32UC3B164</td></tr> +<tr><td width="25%"><code>STK600-RCUC3A144-32</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3A3512 AT32UC3A3256 AT32UC3A3128 AT32UC3A364 AT32UC3A3256S AT32UC3A3128S AT32UC3A364S</td></tr> +<tr><td width="25%"><code>STK600-RCUC3C0-36</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3C0512 AT32UC3C0256 AT32UC3C0128 AT32UC3C064</td></tr> +<tr><td width="25%"><code>STK600-RCUC3C1-38</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">AT32UC3C1512 AT32UC3C1256 AT32UC3C1128 AT32UC3C164</td></tr> +<tr><td width="25%"><code>STK600-RCUC3C2-40</code></td><td width="25%"><code>STK600-TQFP64-2</code></td><td width="50%">AT32UC3C2512 AT32UC3C2256 AT32UC3C2128 AT32UC3C264</td></tr> +<tr><td width="25%"><code>STK600-RCUC3C0-37</code></td><td width="25%"><code>STK600-TQFP144</code></td><td width="50%">AT32UC3C0512 AT32UC3C0256 AT32UC3C0128 AT32UC3C064</td></tr> +<tr><td width="25%"><code>STK600-RCUC3C1-39</code></td><td width="25%"><code>STK600-TQFP100</code></td><td width="50%">AT32UC3C1512 AT32UC3C1256 AT32UC3C1128 AT32UC3C164</td></tr> +<tr><td width="25%"><code>STK600-RCUC3C2-41</code></td><td width="25%"><code>STK600-TQFP64-2</code></td><td width="50%">AT32UC3C2512 AT32UC3C2256 AT32UC3C2128 AT32UC3C264</td></tr> +<tr><td width="25%"><code>STK600-RCUC3L0-34</code></td><td width="25%"><code>STK600-TQFP48</code></td><td width="50%">AT32UC3L064 AT32UC3L032 AT32UC3L016</td></tr> +<tr><td width="25%"><code></code></td><td width="25%"><code>QT600-AT32UC3L-QM64</code></td><td width="50%">AT32UC3L064</td></tr> +</table> -<p>There are several limitations in current SerialUPDI/AVRDUDE integration, -listed below. +<p>Ensure the correct socket and routing card are mounted <em>before</em> +powering on the STK600. While the STK600 firmware ensures the socket +and routing card mounted match each other (using a table stored +internally in nonvolatile memory), it cannot handle the case where a +wrong routing card is used, e. g. the routing card +<code>STK600-RC040M-5</code> (which is meant for 40-pin DIP AVRs that have +an ADC, with the power supply pins in the center of the package) was +used but an ATmega8515 inserted (which uses the “industry standard” +pinout with Vcc and GND at opposite corners). </p> -<p>At the end of each run there are fuse values being presented to the user. -For most of the UPDI-enabled devices these definitions (low fuse, high -fuse, extended fuse) have no meaning whatsoever, as they have been -simply replaced by array of fuses: fuse0..9. Therefore you can simply -ignore this particular line of AVRDUDE output. +<p>Note that for devices that use the routing card <code>STK600-RC008T-2</code>, +in order to use ISP mode, the jumper for <code>AREF0</code> must be removed +as it would otherwise block one of the ISP signals. High-voltage +serial programming can be used even with that jumper installed. </p> -<p>Currently available devices support only UPDI NVM programming model 0 -and 2, but there is also experimental implementation of model 3 - not -yet tested. +<p>The ISP system of the STK600 contains a detection against shortcuts +and other wiring errors. AVRDUDE initiates a connection check before +trying to enter ISP programming mode, and display the result if the +target is not found ready to be ISP programmed. </p> -<p>One of the core AVRDUDE features is verification of the connection by -reading device signature prior to any operation, but this operation -is not possible on UPDI locked devices. Therefore, to be able to -connect to such a device, you have to provide ‘<samp>-F</samp>’ to override -this check. -</p> -<p>Please note: using ‘<samp>-F</samp>’ during write operation to locked device -will force chip erase. Use carefully. -</p> -<p>Another issue you might notice is slow performance of EEPROM writing -using SerialUPDI for AVR Dx devices. This can be addressed by changing -<em>avrdude.conf</em> section for this device - changing EEPROM page -size to 0x20 (instead of default 1), like so: -</p> -<div class="example"> -<pre class="example">#------------------------------------------------------------ -# AVR128DB28 -#------------------------------------------------------------ - -part parent ".avrdx" - id = "avr128db28"; - desc = "AVR128DB28"; - signature = 0x1E 0x97 0x0E; - - memory "flash" - size = 0x20000; - offset = 0x800000; - page_size = 0x200; - readsize = 0x100; - ; - - memory "eeprom" - size = 0x200; - offset = 0x1400; - page_size = 0x1; - readsize = 0x100; - ; -; -</pre></div> - -<p>USERROW memory has not been defined for new devices except for -experimental addition for AVR128DB28. The point of USERROW is to -provide ability to write configuration details to already locked -device and currently SerialUPDI interface supports this feature, -but it hasn’t been tested on wide variety of chips. Treat this as -something experimental at this point. Please note: on locked devices -it’s not possible to read back USERROW contents when written, so -the automatic verification will most likely fail and to prevent -error messages, use ‘<samp>-V</samp>’. -</p> -<p>Please note that SerialUPDI interface is pretty new and some -issues are to be expected. In case you run into them, please -make sure to run the intended command with debug output enabled -(‘<samp>-v -v -v</samp>’) and provide this verbose output with your -bug report. You can also try to perform the same action using -<em>pymcuprog</em> (<a href="https://github.com/microchip-pic-avr-tools/pymcuprog">https://github.com/microchip-pic-avr-tools/pymcuprog</a>) -utility with ‘<samp>-v debug</samp>’ and provide its output too. -You will notice that both outputs are pretty similar, and this -was implemented like that on purpose - it was supposed to make -analysis of UPDI protocol quirks easier. +<p>High-voltage programming requires the target voltage to be set to at +least 4.5 V in order to work. This can be done using +<em>Terminal Mode</em>, see <a href="avrdude_6.html#Terminal-Mode-Operation">Terminal Mode Operation</a>. </p> <hr> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_16.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_18.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_18.html b/docs/avrdude_18.html index 9b97acf5..807ca22d 100644 --- a/docs/avrdude_18.html +++ b/docs/avrdude_18.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: Appendix A Platform Dependent Information</title> +<title>AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1</title> -<meta name="description" content="AVRDUDE: Appendix A Platform Dependent Information"> -<meta name="keywords" content="AVRDUDE: Appendix A Platform Dependent Information"> +<meta name="description" content="AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1"> +<meta name="keywords" content="AVRDUDE: 5.2 Atmel DFU bootloader using FLIP version 1"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Platform-Dependent-Information"></a> +<a name="Atmel-DFU-bootloader-using-FLIP-version-1"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_17.html#SerialUPDI-programmer" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[<a href="avrdude_19.html#Unix" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_17.html#Atmel-STK600" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_19.html#SerialUPDI-programmer" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,27 +82,36 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Platform-Dependent-Information-1"></a> -<h1 class="appendix">Appendix A Platform Dependent Information</h1> - -<table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="avrdude_19.html#Unix">A.1 Unix</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="avrdude_20.html#Windows">A.2 Windows</a></td><td> </td><td align="left" valign="top"> -</td></tr> -</table> - <hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_17.html#SerialUPDI-programmer" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[<a href="avrdude_19.html#Unix" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -</tr></table> +<a name="Atmel-DFU-bootloader-using-FLIP-version-1-1"></a> +<h2 class="section">5.2 Atmel DFU bootloader using FLIP version 1</h2> + +<p>Bootloaders using the FLIP protocol version 1 experience some very +specific behaviour. +</p> +<p>These bootloaders have no option to access memory areas other than +Flash and EEPROM. +</p> +<p>When the bootloader is started, it enters a <em>security mode</em> where +the only acceptable access is to query the device configuration +parameters (which are used for the signature on AVR devices). The +only way to leave this mode is a <em>chip erase</em>. As a chip erase +is normally implied by the ‘<samp>-U</samp>’ option when reprogramming the +flash, this peculiarity might not be very obvious immediately. +</p> +<p>Sometimes, a bootloader with security mode already disabled seems to +no longer respond with sensible configuration data, but only 0xFF for +all queries. As these queries are used to obtain the equivalent of a +signature, AVRDUDE can only continue in that situation by forcing the +signature check to be overridden with the ‘<samp>-F</samp>’ option. +</p> +<p>A <em>chip erase</em> might leave the EEPROM unerased, at least on some +versions of the bootloader. +</p> +<hr> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_19.html b/docs/avrdude_19.html index 47712fc3..f4c348f8 100644 --- a/docs/avrdude_19.html +++ b/docs/avrdude_19.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: A.1 Unix</title> +<title>AVRDUDE: 5.3 SerialUPDI programmer</title> -<meta name="description" content="AVRDUDE: A.1 Unix"> -<meta name="keywords" content="AVRDUDE: A.1 Unix"> +<meta name="description" content="AVRDUDE: 5.3 SerialUPDI programmer"> +<meta name="keywords" content="AVRDUDE: 5.3 SerialUPDI programmer"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Unix"></a> +<a name="SerialUPDI-programmer"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Installation" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_18.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,80 +82,111 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Unix-1"></a> -<h2 class="section">A.1 Unix</h2> - -<table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="#Unix-Installation">A.1.1 Unix Installation</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Unix-Configuration-Files">A.1.2 Unix Configuration Files</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Unix-Port-Names">A.1.3 Unix Port Names</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Unix-Documentation">A.1.4 Unix Documentation</a></td><td> </td><td align="left" valign="top"> -</td></tr> -</table> - <hr> -<a name="Unix-Installation"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Unix" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#FreeBSD-Installation" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Unix-Installation-1"></a> -<h3 class="subsection">A.1.1 Unix Installation</h3> +<a name="SerialUPDI-programmer-1"></a> +<h2 class="section">5.3 SerialUPDI programmer</h2> -<p>To build and install from the source tarball on Unix like systems: +<p>SerialUPDI programmer can be used for programming UPDI-only devices +using very simple serial connection. +You can read more about the details here +<a href="https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md">https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md</a> +</p> +<p>SerialUPDI programmer has been tested using FT232RL USB->UART interface +with the following connection layout (copied from Spence Kohde’s page linked +above): </p> <div class="example"> -<pre class="example">$ gunzip -c avrdude-6.99-20211218.tar.gz | tar xf - -$ cd avrdude-6.99-20211218 -$ ./configure -$ make -$ su root -c 'make install' +<pre class="example">-------------------- To Target device + DTR| __________________ + Rx |--------------,------------------| UPDI---\/\/----------> + Tx---/\/\/\---Tx |-------|<|---' .--------| Gnd 470 ohm + resistor Vcc|---------------------------------| Vcc + 1k CTS| .` |__________________ + Gnd|--------------------' +-------------------- </pre></div> -<p>The default location of the install is into <code>/usr/local</code> so you -will need to be sure that <code>/usr/local/bin</code> is in your <code>PATH</code> -environment variable. +<p>There are several limitations in current SerialUPDI/AVRDUDE integration, +listed below. </p> -<p>If you do not have root access to your system, you can do the -following instead: +<p>At the end of each run there are fuse values being presented to the user. +For most of the UPDI-enabled devices these definitions (low fuse, high +fuse, extended fuse) have no meaning whatsoever, as they have been +simply replaced by array of fuses: fuse0..9. Therefore you can simply +ignore this particular line of AVRDUDE output. +</p> +<p>Currently available devices support only UPDI NVM programming model 0 +and 2, but there is also experimental implementation of model 3 - not +yet tested. +</p> +<p>One of the core AVRDUDE features is verification of the connection by +reading device signature prior to any operation, but this operation +is not possible on UPDI locked devices. Therefore, to be able to +connect to such a device, you have to provide ‘<samp>-F</samp>’ to override +this check. +</p> +<p>Please note: using ‘<samp>-F</samp>’ during write operation to locked device +will force chip erase. Use carefully. +</p> +<p>Another issue you might notice is slow performance of EEPROM writing +using SerialUPDI for AVR Dx devices. This can be addressed by changing +<em>avrdude.conf</em> section for this device - changing EEPROM page +size to 0x20 (instead of default 1), like so: </p> <div class="example"> -<pre class="example">$ gunzip -c avrdude-6.99-20211218.tar.gz | tar xf - -$ cd avrdude-6.99-20211218 -$ ./configure --prefix=$HOME/local -$ make -$ make install +<pre class="example">#------------------------------------------------------------ +# AVR128DB28 +#------------------------------------------------------------ + +part parent ".avrdx" + id = "avr128db28"; + desc = "AVR128DB28"; + signature = 0x1E 0x97 0x0E; + + memory "flash" + size = 0x20000; + offset = 0x800000; + page_size = 0x200; + readsize = 0x100; + ; + + memory "eeprom" + size = 0x200; + offset = 0x1400; + page_size = 0x1; + readsize = 0x100; + ; +; </pre></div> -<table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="#FreeBSD-Installation">A.1.1.1 FreeBSD Installation</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Linux-Installation">A.1.1.2 Linux Installation</a></td><td> </td><td align="left" valign="top"> -</td></tr> -</table> - +<p>USERROW memory has not been defined for new devices except for +experimental addition for AVR128DB28. The point of USERROW is to +provide ability to write configuration details to already locked +device and currently SerialUPDI interface supports this feature, +but it hasn’t been tested on wide variety of chips. Treat this as +something experimental at this point. Please note: on locked devices +it’s not possible to read back USERROW contents when written, so +the automatic verification will most likely fail and to prevent +error messages, use ‘<samp>-V</samp>’. +</p> +<p>Please note that SerialUPDI interface is pretty new and some +issues are to be expected. In case you run into them, please +make sure to run the intended command with debug output enabled +(‘<samp>-v -v -v</samp>’) and provide this verbose output with your +bug report. You can also try to perform the same action using +<em>pymcuprog</em> (<a href="https://github.com/microchip-pic-avr-tools/pymcuprog">https://github.com/microchip-pic-avr-tools/pymcuprog</a>) +utility with ‘<samp>-v debug</samp>’ and provide its output too. +You will notice that both outputs are pretty similar, and this +was implemented like that on purpose - it was supposed to make +analysis of UPDI protocol quirks easier. +</p> <hr> -<a name="FreeBSD-Installation"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Installation" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Installation" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Linux-Installation" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_18.html#Atmel-DFU-bootloader-using-FLIP-version-1" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -148,223 +196,9 @@ $ make install <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="FreeBSD-Installation-1"></a> -<h4 class="subsubsection">A.1.1.1 FreeBSD Installation</h4> - -<p>AVRDUDE is installed via the FreeBSD Ports Tree as follows: -</p> -<div class="example"> -<pre class="example">% su - root -# cd /usr/ports/devel/avrdude -# make install -</pre></div> - -<p>If you wish to install from a pre-built package instead of the source, -you can use the following instead: -</p> -<div class="example"> -<pre class="example">% su - root -# pkg_add -r avrdude -</pre></div> - -<p>Of course, you must be connected to the Internet for these methods to -work, since that is where the source as well as the pre-built package is -obtained. -</p> -<hr> -<a name="Linux-Installation"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#FreeBSD-Installation" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Installation" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Configuration-Files" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Linux-Installation-1"></a> -<h4 class="subsubsection">A.1.1.2 Linux Installation</h4> - -<p>On rpm based Linux systems (such as RedHat, SUSE, Mandrake, etc.), you -can build and install the rpm binaries directly from the tarball: -</p> -<div class="example"> -<pre class="example">$ su - root -# rpmbuild -tb avrdude-6.99-20211218.tar.gz -# rpm -Uvh /usr/src/redhat/RPMS/i386/avrdude-6.99-20211218-1.i386.rpm -</pre></div> - -<p>Note that the path to the resulting rpm package, differs from system -to system. The above example is specific to RedHat. -</p> -<hr> -<a name="Unix-Configuration-Files"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Linux-Installation" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#FreeBSD-Configuration-Files" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Unix-Configuration-Files-1"></a> -<h3 class="subsection">A.1.2 Unix Configuration Files</h3> - -<p>When AVRDUDE is build using the default ‘<samp>--prefix</samp>’ configure -option, the default configuration file for a Unix system is located at -<code>/usr/local/etc/avrdude.conf</code>. This can be overridden by using the -‘<samp>-C</samp>’ command line option. Additionally, the user’s home directory -is searched for a file named <code>.avrduderc</code>, and if found, is used to -augment the system default configuration file. -</p> -<table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="#FreeBSD-Configuration-Files">A.1.2.1 FreeBSD Configuration Files</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Linux-Configuration-Files">A.1.2.2 Linux Configuration Files</a></td><td> </td><td align="left" valign="top"> -</td></tr> -</table> - -<hr> -<a name="FreeBSD-Configuration-Files"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Configuration-Files" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Configuration-Files" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Linux-Configuration-Files" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="FreeBSD-Configuration-Files-1"></a> -<h4 class="subsubsection">A.1.2.1 FreeBSD Configuration Files</h4> - -<p>When AVRDUDE is installed using the FreeBSD ports system, the system -configuration file is always <code>/usr/local/etc/avrdude.conf</code>. -</p> -<hr> -<a name="Linux-Configuration-Files"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#FreeBSD-Configuration-Files" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Configuration-Files" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Port-Names" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Linux-Configuration-Files-1"></a> -<h4 class="subsubsection">A.1.2.2 Linux Configuration Files</h4> - -<p>When AVRDUDE is installed using from an rpm package, the system -configuration file will be always be <code>/etc/avrdude.conf</code>. -</p> -<hr> -<a name="Unix-Port-Names"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Linux-Configuration-Files" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Documentation" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Unix-Port-Names-1"></a> -<h3 class="subsection">A.1.3 Unix Port Names</h3> - -<p>The parallel and serial port device file names are system specific. -The following table lists the default names for a given system. -</p> -<table> -<tr><td width="30%"><strong>System</strong></td><td width="30%"><strong>Default Parallel Port</strong></td><td width="30%"><strong>Default Serial Port</strong></td></tr> -<tr><td width="30%">FreeBSD</td><td width="30%"><code>/dev/ppi0</code></td><td width="30%"><code>/dev/cuad0</code></td></tr> -<tr><td width="30%">Linux</td><td width="30%"><code>/dev/parport0</code></td><td width="30%"><code>/dev/ttyS0</code></td></tr> -<tr><td width="30%">Solaris</td><td width="30%"><code>/dev/printers/0</code></td><td width="30%"><code>/dev/term/a</code></td></tr> -</table> - -<p>On FreeBSD systems, AVRDUDE uses the ppi(4) interface for -accessing the parallel port and the sio(4) driver for serial port -access. -</p> -<p>On Linux systems, AVRDUDE uses the ppdev interface for -accessing the parallel port and the tty driver for serial port -access. -</p> -<p>On Solaris systems, AVRDUDE uses the ecpp(7D) driver for -accessing the parallel port and the asy(7D) driver for serial port -access. -</p> -<hr> -<a name="Unix-Documentation"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Port-Names" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_20.html#Windows" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Unix-Documentation-1"></a> -<h3 class="subsection">A.1.4 Unix Documentation</h3> - -<p>AVRDUDE installs a manual page as well as info, HTML and PDF -documentation. The manual page is installed in -<code>/usr/local/man/man1</code> area, while the HTML and PDF documentation -is installed in <code>/usr/local/share/doc/avrdude</code> directory. The -info manual is installed in <code>/usr/local/info/avrdude.info</code>. -</p> -<p>Note that these locations can be altered by various configure options -such as ‘<samp>--prefix</samp>’. -</p> -<hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Unix-Port-Names" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Unix" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_20.html#Windows" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_2.html b/docs/avrdude_2.html index 7f9bf837..ac327979 100644 --- a/docs/avrdude_2.html +++ b/docs/avrdude_2.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Command-Line-Options-1"></a> <h1 class="chapter">2 Command Line Options</h1> <a name="index-options"></a> @@ -79,16 +97,9 @@ ul.no-bullet {list-style: none} </table> <hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_1.html#History" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[<a href="avrdude_3.html#Option-Descriptions" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_6.html#Terminal-Mode-Operation" title="Next chapter"> >> </a>]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_20.html b/docs/avrdude_20.html index 0f704262..6404c70c 100644 --- a/docs/avrdude_20.html +++ b/docs/avrdude_20.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: A.2 Windows</title> +<title>AVRDUDE: Appendix A Platform Dependent Information</title> -<meta name="description" content="AVRDUDE: A.2 Windows"> -<meta name="keywords" content="AVRDUDE: A.2 Windows"> +<meta name="description" content="AVRDUDE: Appendix A Platform Dependent Information"> +<meta name="keywords" content="AVRDUDE: Appendix A Platform Dependent Information"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Windows"></a> +<a name="Platform-Dependent-Information"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_19.html#Unix-Documentation" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Installation" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_19.html#SerialUPDI-programmer" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[ Up ]</td> +<td valign="middle" align="left">[<a href="avrdude_21.html#Unix" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,311 +82,21 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Windows-1"></a> -<h2 class="section">A.2 Windows</h2> +<hr> +<a name="Platform-Dependent-Information-1"></a> +<h1 class="appendix">Appendix A Platform Dependent Information</h1> <table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="#Windows-Installation">A.2.1 Installation</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_21.html#Unix">A.1 Unix</a></td><td> </td><td align="left" valign="top"> </td></tr> -<tr><td align="left" valign="top"><a href="#Windows-Configuration-Files">A.2.2 Configuration Files</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Windows-Port-Names">A.2.3 Port Names</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Documentation">A.2.4 Documentation</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_30.html#Windows">A.2 Windows</a></td><td> </td><td align="left" valign="top"> </td></tr> </table> <hr> -<a name="Windows-Installation"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Windows" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Configuration-Files" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Installation"></a> -<h3 class="subsection">A.2.1 Installation</h3> - -<p>A Windows executable of avrdude is included in WinAVR which can be found at -<a href="http://sourceforge.net/projects/winavr">http://sourceforge.net/projects/winavr</a>. WinAVR is a suite of executable, -open source software development tools for the AVR for the Windows platform. -</p> -<p>There are two options to build avrdude from source under Windows. -The first one is to use Cygwin (<a href="http://www.cygwin.com/">http://www.cygwin.com/</a>). -</p> -<p>To build and install from the source tarball for Windows (using Cygwin): -</p> -<div class="example"> -<pre class="example">$ set PREFIX=<your install directory path> -$ export PREFIX -$ gunzip -c avrdude-6.99-20211218.tar.gz | tar xf - -$ cd avrdude-6.99-20211218 -$ ./configure LDFLAGS="-static" --prefix=$PREFIX --datadir=$PREFIX ---sysconfdir=$PREFIX/bin --enable-versioned-doc=no -$ make -$ make install -</pre></div> - -<p>Note that recent versions of Cygwin (starting with 1.7) removed the -MinGW support from the compiler that is needed in order to build a -native Win32 API binary that does not require to install the Cygwin -library <code>cygwin1.dll</code> at run-time. Either try using an older -compiler version that still supports MinGW builds, or use MinGW -(<a href="http://www.mingw.org/">http://www.mingw.org/</a>) directly. -</p> - - -<hr> -<a name="Windows-Configuration-Files"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Installation" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Configuration-file-names" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Configuration-Files"></a> -<h3 class="subsection">A.2.2 Configuration Files</h3> - -<table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="#Configuration-file-names">A.2.2.1 Configuration file names</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#How-AVRDUDE-finds-the-configuration-files_002e">A.2.2.2 How AVRDUDE finds the configuration files.</a></td><td> </td><td align="left" valign="top"> -</td></tr> -</table> - -<hr> -<a name="Configuration-file-names"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Configuration-Files" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Configuration-Files" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#How-AVRDUDE-finds-the-configuration-files_002e" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Configuration-file-names-1"></a> -<h4 class="subsubsection">A.2.2.1 Configuration file names</h4> - -<p>AVRDUDE on Windows looks for a system configuration file name of -<code>avrdude.conf</code> and looks for a user override configuration file of -<code>avrdude.rc</code>. -</p> -<hr> -<a name="How-AVRDUDE-finds-the-configuration-files_002e"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Configuration-file-names" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Configuration-Files" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Port-Names" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="How-AVRDUDE-finds-the-configuration-files_002e-1"></a> -<h4 class="subsubsection">A.2.2.2 How AVRDUDE finds the configuration files.</h4> - -<p>AVRDUDE on Windows has a different way of searching for the system and -user configuration files. Below is the search method for locating the -configuration files: -</p> -<ol> -<li> -Only for the system configuration file: -<code><directory from which application loaded>/../etc/avrdude.conf</code> - -</li><li> -The directory from which the application loaded. - -</li><li> -The current directory. - -</li><li> -The Windows system directory. On Windows NT, the name of this directory -is <code>SYSTEM32</code>. - -</li><li> -Windows NT: The 16-bit Windows system directory. The name of this -directory is <code>SYSTEM</code>. - -</li><li> -The Windows directory. - -</li><li> -The directories that are listed in the PATH environment variable. - -</li></ol> - - -<hr> -<a name="Windows-Port-Names"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#How-AVRDUDE-finds-the-configuration-files_002e" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Serial-Ports" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Port-Names"></a> -<h3 class="subsection">A.2.3 Port Names</h3> - -<table class="menu" border="0" cellspacing="0"> -<tr><td align="left" valign="top"><a href="#Serial-Ports">A.2.3.1 Serial Ports</a></td><td> </td><td align="left" valign="top"> -</td></tr> -<tr><td align="left" valign="top"><a href="#Parallel-Ports">A.2.3.2 Parallel Ports</a></td><td> </td><td align="left" valign="top"> -</td></tr> -</table> - -<hr> -<a name="Serial-Ports"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Port-Names" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Port-Names" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Parallel-Ports" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Serial-Ports-1"></a> -<h4 class="subsubsection">A.2.3.1 Serial Ports</h4> - -<p>When you select a serial port (i.e. when using an STK500) use the -Windows serial port device names such as: com1, com2, etc. -</p> -<hr> -<a name="Parallel-Ports"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Serial-Ports" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows-Port-Names" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="#Documentation" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Parallel-Ports-1"></a> -<h4 class="subsubsection">A.2.3.2 Parallel Ports</h4> - -<p>AVRDUDE will accept 3 Windows parallel port names: lpt1, lpt2, or -lpt3. Each of these names corresponds to a fixed parallel port base -address: -</p> -<dl compact="compact"> -<dt><code>lpt1</code></dt> -<dd><p>0x378 -</p> -</dd> -<dt><code>lpt2</code></dt> -<dd><p>0x278 -</p> -</dd> -<dt><code>lpt3</code></dt> -<dd><p>0x3BC -</p> -</dd> -</dl> - -<p>On your desktop PC, lpt1 will be the most common choice. If you are -using a laptop, you might have to use lpt3 instead of lpt1. Select the -name of the port the corresponds to the base address of the parallel -port that you want. -</p> -<p>If the parallel port can be accessed through a different -address, this address can be specified directly, using the common C -language notation (i. e., hexadecimal values are prefixed by <code>0x</code>). -</p> -<hr> -<a name="Documentation"></a> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Parallel-Ports" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left"> </td> -<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> -<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[Index]</td> -<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> -</tr></table> -<a name="Documentation-1"></a> -<h3 class="subsection">A.2.4 Documentation</h3> - -<p>AVRDUDE installs a manual page as well as info, HTML and PDF -documentation. The manual page is installed in -<code>/usr/local/man/man1</code> area, while the HTML and PDF documentation -is installed in <code>/usr/local/share/doc/avrdude</code> directory. The -info manual is installed in <code>/usr/local/info/avrdude.info</code>. -</p> -<p>Note that these locations can be altered by various configure options -such as ‘<samp>--prefix</samp>’ and ‘<samp>--datadir</samp>’. -</p> - -<hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="#Parallel-Ports" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[<a href="#Windows" title="Up section"> Up </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_21.html#Troubleshooting" title="Next chapter"> >> </a>]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_21.html b/docs/avrdude_21.html index 85572e55..6711637b 100644 --- a/docs/avrdude_21.html +++ b/docs/avrdude_21.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -10,10 +10,10 @@ Maintained by: Many creative people. Send bugs and suggestions to <texi2html-bug@nongnu.org> --> <head> -<title>AVRDUDE: Appendix B Troubleshooting</title> +<title>AVRDUDE: A.1 Unix</title> -<meta name="description" content="AVRDUDE: Appendix B Troubleshooting"> -<meta name="keywords" content="AVRDUDE: Appendix B Troubleshooting"> +<meta name="description" content="AVRDUDE: A.1 Unix"> +<meta name="keywords" content="AVRDUDE: A.1 Unix"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 5.0"> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -49,13 +66,13 @@ ul.no-bullet {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> -<a name="Troubleshooting"></a> +<a name="Unix"></a> <table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_20.html#Documentation" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[ > ]</td> -<td valign="middle" align="left">[ >> ]</td> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_22.html#Unix-Installation" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,328 +82,25 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> -<a name="Troubleshooting-1"></a> -<h1 class="appendix">Appendix B Troubleshooting</h1> +<hr> +<a name="Unix-1"></a> +<h2 class="section">A.1 Unix</h2> -<p>In general, please report any bugs encountered via -<br> -<a href="https://github.com/avrdudes/avrdude/issues">https://github.com/avrdudes/avrdude/issues</a>. -</p> - -<ul> -<li> -Problem: I’m using a serial programmer under Windows and get the following -error: - -<p><code>avrdude: serial_open(): can't set attributes for device "com1"</code>, -</p> -<p>Solution: This problem seems to appear with certain versions of Cygwin. Specifying -<code>"/dev/com1"</code> instead of <code>"com1"</code> should help. -</p> - -</li><li> -Problem: I’m using Linux and my AVR910 programmer is really slow. - -<p>Solution (short): <code>setserial <var>port</var> low_latency</code> -</p> -<p>Solution (long): -There are two problems here. First, the system may wait some time before it -passes data from the serial port to the program. Under Linux the following -command works around this (you may need root privileges for this). -</p> -<p><code>setserial <var>port</var> low_latency</code> -</p> -<p>Secondly, the serial interface chip may delay the interrupt for some time. -This behaviour can be changed by setting the FIFO-threshold to one. Under Linux this -can only be done by changing the kernel source in <code>drivers/char/serial.c</code>. -Search the file for <code>UART_FCR_TRIGGER_8</code> and replace it with <code>UART_FCR_TRIGGER_1</code>. Note that overall performance might suffer if there -is high throughput on serial lines. Also note that you are modifying the kernel at -your own risk. -</p> - -</li><li> -Problem: I’m not using Linux and my AVR910 programmer is really slow. - -<p>Solutions: The reasons for this are the same as above. -If you know how to work around this on your OS, please let us know. -</p> -</li><li> -Problem: Updating the flash ROM from terminal mode does not work with the -JTAG ICEs. - -<p>Solution: None at this time. Currently, the JTAG ICE code cannot -write to the flash ROM one byte at a time. -</p> -</li><li> -Problem: Page-mode programming the EEPROM (using the -U option) does -not erase EEPROM cells before writing, and thus cannot overwrite any -previous value != 0xff. - -<p>Solution: None. This is an inherent feature of the way JTAG EEPROM -programming works, and is documented that way in the Atmel AVR -datasheets. -In order to successfully program the EEPROM that way, a prior chip -erase (with the EESAVE fuse unprogrammed) is required. -This also applies to the STK500 and STK600 in high-voltage programming mode. -</p> -</li><li> -Problem: How do I turn off the <var>DWEN</var> fuse? - -<p>Solution: If the <var>DWEN</var> (debugWire enable) fuse is activated, -the <var>/RESET</var> pin is not functional anymore, so normal ISP -communication cannot be established. -There are two options to deactivate that fuse again: high-voltage -programming, or getting the JTAG ICE mkII talk debugWire, and -prepare the target AVR to accept normal ISP communication again. -</p> -<p>The first option requires a programmer that is capable of high-voltage -programming (either serial or parallel, depending on the AVR device), -for example the STK500. In high-voltage programming mode, the -<var>/RESET</var> pin is activated initially using a 12 V pulse (thus the -name <em>high voltage</em>), so the target AVR can subsequently be -reprogrammed, and the <var>DWEN</var> fuse can be cleared. Typically, this -operation cannot be performed while the AVR is located in the target -circuit though. -</p> -<p>The second option requires a JTAG ICE mkII that can talk the debugWire -protocol. The ICE needs to be connected to the target using the -JTAG-to-ISP adapter, so the JTAG ICE mkII can be used as a debugWire -initiator as well as an ISP programmer. AVRDUDE will then be activated -using the <var>jtag2isp</var> programmer type. The initial ISP -communication attempt will fail, but AVRDUDE then tries to initiate a -debugWire reset. When successful, this will leave the target AVR in a -state where it can accept standard ISP communication. The ICE is then -signed off (which will make it signing off from the USB as well), so -AVRDUDE has to be called again afterwards. This time, standard ISP -communication can work, so the <var>DWEN</var> fuse can be cleared. -</p> -<p>The pin mapping for the JTAG-to-ISP adapter is: -</p> -<table> -<tr><td width="20%"><strong>JTAG pin</strong></td><td width="20%"><strong>ISP pin</strong></td></tr> -<tr><td width="20%">1</td><td width="20%">3</td></tr> -<tr><td width="20%">2</td><td width="20%">6</td></tr> -<tr><td width="20%">3</td><td width="20%">1</td></tr> -<tr><td width="20%">4</td><td width="20%">2</td></tr> -<tr><td width="20%">6</td><td width="20%">5</td></tr> -<tr><td width="20%">9</td><td width="20%">4</td></tr> +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top"><a href="avrdude_22.html#Unix-Installation">A.1.1 Unix Installation</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_25.html#Unix-Configuration-Files">A.1.2 Unix Configuration Files</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_28.html#Unix-Port-Names">A.1.3 Unix Port Names</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_29.html#Unix-Documentation">A.1.4 Unix Documentation</a></td><td> </td><td align="left" valign="top"> +</td></tr> </table> -</li><li> -Problem: Multiple USBasp or USBtinyISP programmers connected simultaneously are not -found. - -<p>Solution: The USBtinyISP code supports distinguishing multiple -programmers based on their bus:device connection tuple that describes -their place in the USB hierarchy on a specific host. This tuple can -be added to the <var>-P usb</var> option, similar to adding a serial number -on other USB-based programmers. -</p> -<p>The actual naming convention for the bus and device names is -operating-system dependent; AVRDUDE will print out what it found -on the bus when running it with (at least) one <var>-v</var> option. -By specifying a string that cannot match any existing device -(for example, <var>-P usb:xxx</var>), the scan will list all possible -candidate devices found on the bus. -</p> -<p>Examples: -</p><div class="example"> -<pre class="example">avrdude -c usbtiny -p atmega8 -P usb:003:025 (Linux) -avrdude -c usbtiny -p atmega8 -P usb:/dev/usb:/dev/ugen1.3 (FreeBSD 8+) -avrdude -c usbtiny -p atmega8 \ - -P usb:bus-0:\\.\libusb0-0001--0x1781-0x0c9f (Windows) -</pre></div> - -</li><li> -Problem: I cannot do … when the target is in debugWire mode. - -<p>Solution: debugWire mode imposes several limitations. -</p> -<p>The debugWire protocol is Atmel’s proprietary one-wire (plus ground) -protocol to allow an in-circuit emulation of the smaller AVR devices, -using the <var>/RESET</var> line. -DebugWire mode is initiated by activating the <var>DWEN</var> -fuse, and then power-cycling the target. -While this mode is mainly intended for debugging/emulation, it -also offers limited programming capabilities. -Effectively, the only memory areas that can be read or programmed -in this mode are flash ROM and EEPROM. -It is also possible to read out the signature. -All other memory areas cannot be accessed. -There is no -<em>chip erase</em> -functionality in debugWire mode; instead, while reprogramming the -flash ROM, each flash ROM page is erased right before updating it. -This is done transparently by the JTAG ICE mkII (or AVR Dragon). -The only way back from debugWire mode is to initiate a special -sequence of commands to the JTAG ICE mkII (or AVR Dragon), so the -debugWire mode will be temporarily disabled, and the target can -be accessed using normal ISP programming. -This sequence is automatically initiated by using the JTAG ICE mkII -or AVR Dragon in ISP mode, when they detect that ISP mode cannot be -entered. -</p> -</li><li> -Problem: I want to use my JTAG ICE mkII to program an -Xmega device through PDI. The documentation tells me to use the -<em>XMEGA PDI adapter for JTAGICE mkII</em> that is supposed to ship -with the kit, yet I don’t have it. - -<p>Solution: Use the following pin mapping: -</p> -<table> -<tr><td width="20%"><strong>JTAGICE</strong></td><td width="20%"><strong>Target</strong></td><td width="20%"><strong>Squid cab-</strong></td><td width="20%"><strong>PDI</strong></td></tr> -<tr><td width="20%"><strong>mkII probe</strong></td><td width="20%"><strong>pins</strong></td><td width="20%"><strong>le colors</strong></td><td width="20%"><strong>header</strong></td></tr> -<tr><td width="20%">1 (TCK)</td><td width="20%"></td><td width="20%">Black</td><td width="20%"></td></tr> -<tr><td width="20%">2 (GND)</td><td width="20%">GND</td><td width="20%">White</td><td width="20%">6</td></tr> -<tr><td width="20%">3 (TDO)</td><td width="20%"></td><td width="20%">Grey</td><td width="20%"></td></tr> -<tr><td width="20%">4 (VTref)</td><td width="20%">VTref</td><td width="20%">Purple</td><td width="20%">2</td></tr> -<tr><td width="20%">5 (TMS)</td><td width="20%"></td><td width="20%">Blue</td><td width="20%"></td></tr> -<tr><td width="20%">6 (nSRST)</td><td width="20%">PDI_CLK</td><td width="20%">Green</td><td width="20%">5</td></tr> -<tr><td width="20%">7 (N.C.)</td><td width="20%"></td><td width="20%">Yellow</td><td width="20%"></td></tr> -<tr><td width="20%">8 (nTRST)</td><td width="20%"></td><td width="20%">Orange</td><td width="20%"></td></tr> -<tr><td width="20%">9 (TDI)</td><td width="20%">PDI_DATA</td><td width="20%">Red</td><td width="20%">1</td></tr> -<tr><td width="20%">10 (GND)</td><td width="20%"></td><td width="20%">Brown</td><td width="20%"></td></tr> -</table> - -</li><li> -Problem: I want to use my AVR Dragon to program an -Xmega device through PDI. - -<p>Solution: Use the 6 pin ISP header on the Dragon and the following pin mapping: -</p> -<table> -<tr><td width="20%"><strong>Dragon</strong></td><td width="20%"><strong>Target</strong></td></tr> -<tr><td width="20%"><strong>ISP Header</strong></td><td width="20%"><strong>pins</strong></td></tr> -<tr><td width="20%">1 (MISO)</td><td width="20%">PDI_DATA</td></tr> -<tr><td width="20%">2 (VCC)</td><td width="20%">VCC</td></tr> -<tr><td width="20%">3 (SCK)</td><td width="20%"></td></tr> -<tr><td width="20%">4 (MOSI)</td><td width="20%"></td></tr> -<tr><td width="20%">5 (RESET)</td><td width="20%">PDI_CLK / RST</td></tr> -<tr><td width="20%">6 (GND)</td><td width="20%">GND</td></tr> -</table> - -</li><li> -Problem: I want to use my AVRISP mkII to program an -ATtiny4/5/9/10 device through TPI. How to connect the pins? - -<p>Solution: Use the following pin mapping: -</p> -<table> -<tr><td width="20%"><strong>AVRISP</strong></td><td width="20%"><strong>Target</strong></td><td width="20%"><strong>ATtiny</strong></td></tr> -<tr><td width="20%"><strong>connector</strong></td><td width="20%"><strong>pins</strong></td><td width="20%"><strong>pin #</strong></td></tr> -<tr><td width="20%">1 (MISO)</td><td width="20%">TPIDATA</td><td width="20%">1</td></tr> -<tr><td width="20%">2 (VTref)</td><td width="20%">Vcc</td><td width="20%">5</td></tr> -<tr><td width="20%">3 (SCK)</td><td width="20%">TPICLK</td><td width="20%">3</td></tr> -<tr><td width="20%">4 (MOSI)</td><td width="20%"></td><td width="20%"></td></tr> -<tr><td width="20%">5 (RESET)</td><td width="20%">/RESET</td><td width="20%">6</td></tr> -<tr><td width="20%">6 (GND)</td><td width="20%">GND</td><td width="20%">2</td></tr> -</table> - -</li><li> -Problem: I want to program an ATtiny4/5/9/10 device using a serial/parallel -bitbang programmer. How to connect the pins? - -<p>Solution: Since TPI has only 1 pin for bi-directional data transfer, both -<var>MISO</var> and <var>MOSI</var> pins should be connected to the <var>TPIDATA</var> pin -on the ATtiny device. -However, a 1K resistor should be placed between the <var>MOSI</var> and <var>TPIDATA</var>. -The <var>MISO</var> pin connects to <var>TPIDATA</var> directly. -The <var>SCK</var> pin is connected to <var>TPICLK</var>. -</p> -<p>In addition, the <var>Vcc</var>, <var>/RESET</var> and <var>GND</var> pins should -be connected to their respective ports on the ATtiny device. -</p> -</li><li> -Problem: How can I use a FTDI FT232R USB-to-Serial device for bitbang programming? - -<p>Solution: When connecting the FT232 directly to the pins of the target Atmel device, -the polarity of the pins defined in the <code>programmer</code> definition should be -inverted by prefixing a tilde. For example, the <var>dasa</var> programmer would -look like this when connected via a FT232R device (notice the tildes in -front of pins 7, 4, 3 and 8): -</p> -<div class="example"> -<pre class="example">programmer - id = "dasa_ftdi"; - desc = "serial port banging, reset=rts sck=dtr mosi=txd miso=cts"; - type = serbb; - reset = ~7; - sck = ~4; - mosi = ~3; - miso = ~8; -; -</pre></div> - -<p>Note that this uses the FT232 device as a normal serial port, not using the -FTDI drivers in the special bitbang mode. -</p> -</li><li> -Problem: My ATtiny4/5/9/10 reads out fine, but any attempt to program -it (through TPI) fails. Instead, the memory retains the old contents. - -<p>Solution: Mind the limited programming supply voltage range of these -devices. -</p> -<p>In-circuit programming through TPI is only guaranteed by the datasheet -at Vcc = 5 V. -</p> -</li><li> -Problem: My ATxmega…A1/A2/A3 cannot be programmed through PDI with -my AVR Dragon. Programming through a JTAG ICE mkII works though, as does -programming through JTAG. - -<p>Solution: None by this time (2010 Q1). -</p> -<p>It is said that the AVR Dragon can only program devices from the A4 -Xmega sub-family. -</p> -</li><li> -Problem: when programming with an AVRISPmkII or STK600, AVRDUDE hangs -when programming files of a certain size (e.g. 246 bytes). Other -(larger or smaller) sizes work though. - -<p>Solution: This is a bug caused by an incorrect handling of zero-length -packets (ZLPs) in some versions of the libusb 0.1 API wrapper that ships -with libusb 1.x in certain Linux distributions. All Linux systems with -kernel versions < 2.6.31 and libusb >= 1.0.0 < 1.0.3 are reported to be -affected by this. -</p> -<p>See also: <a href="http://www.libusb.org/ticket/6">http://www.libusb.org/ticket/6</a> -</p> -</li><li> -Problem: after flashing a firmware that reduces the target’s clock -speed (e.g. through the <code>CLKPR</code> register), further ISP connection -attempts fail. - -<p>Solution: Even though ISP starts with pulling <var>/RESET</var> low, the -target continues to run at the internal clock speed as defined by the -firmware running before. Therefore, the ISP clock speed must be -reduced appropriately (to less than 1/4 of the internal clock speed) -using the -B option before the ISP initialization sequence will -succeed. -</p> -<p>As that slows down the entire subsequent ISP session, it might make -sense to just issue a <em>chip erase</em> using the slow ISP clock -(option <code>-e</code>), and then start a new session at higher speed. -Option <code>-D</code> might be used there, to prevent another unneeded -erase cycle. -</p> -</li></ul> - - - <hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_18.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_20.html#Documentation" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[ > ]</td> -<td valign="middle" align="left">[ >> ]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_22.html b/docs/avrdude_22.html new file mode 100644 index 00000000..e30c6e96 --- /dev/null +++ b/docs/avrdude_22.html @@ -0,0 +1,130 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.1 Unix Installation</title> + +<meta name="description" content="AVRDUDE: A.1.1 Unix Installation"> +<meta name="keywords" content="AVRDUDE: A.1.1 Unix Installation"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Unix-Installation"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_21.html#Unix" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_21.html#Unix" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_23.html#FreeBSD-Installation" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Unix-Installation-1"></a> +<h3 class="subsection">A.1.1 Unix Installation</h3> + +<p>To build and install from the source tarball on Unix like systems: +</p> +<div class="example"> +<pre class="example">$ gunzip -c avrdude-6.99-20211218.tar.gz | tar xf - +$ cd avrdude-6.99-20211218 +$ ./configure +$ make +$ su root -c 'make install' +</pre></div> + +<p>The default location of the install is into <code>/usr/local</code> so you +will need to be sure that <code>/usr/local/bin</code> is in your <code>PATH</code> +environment variable. +</p> +<p>If you do not have root access to your system, you can do the +following instead: +</p> +<div class="example"> +<pre class="example">$ gunzip -c avrdude-6.99-20211218.tar.gz | tar xf - +$ cd avrdude-6.99-20211218 +$ ./configure --prefix=$HOME/local +$ make +$ make install +</pre></div> + +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top"><a href="avrdude_23.html#FreeBSD-Installation">A.1.1.1 FreeBSD Installation</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_24.html#Linux-Installation">A.1.1.2 Linux Installation</a></td><td> </td><td align="left" valign="top"> +</td></tr> +</table> + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_23.html b/docs/avrdude_23.html new file mode 100644 index 00000000..51117d9a --- /dev/null +++ b/docs/avrdude_23.html @@ -0,0 +1,118 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.1.1 FreeBSD Installation</title> + +<meta name="description" content="AVRDUDE: A.1.1.1 FreeBSD Installation"> +<meta name="keywords" content="AVRDUDE: A.1.1.1 FreeBSD Installation"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="FreeBSD-Installation"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_22.html#Unix-Installation" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_22.html#Unix-Installation" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_24.html#Linux-Installation" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="FreeBSD-Installation-1"></a> +<h4 class="subsubsection">A.1.1.1 FreeBSD Installation</h4> + +<p>AVRDUDE is installed via the FreeBSD Ports Tree as follows: +</p> +<div class="example"> +<pre class="example">% su - root +# cd /usr/ports/devel/avrdude +# make install +</pre></div> + +<p>If you wish to install from a pre-built package instead of the source, +you can use the following instead: +</p> +<div class="example"> +<pre class="example">% su - root +# pkg_add -r avrdude +</pre></div> + +<p>Of course, you must be connected to the Internet for these methods to +work, since that is where the source as well as the pre-built package is +obtained. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_24.html b/docs/avrdude_24.html new file mode 100644 index 00000000..ad7ad238 --- /dev/null +++ b/docs/avrdude_24.html @@ -0,0 +1,110 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.1.2 Linux Installation</title> + +<meta name="description" content="AVRDUDE: A.1.1.2 Linux Installation"> +<meta name="keywords" content="AVRDUDE: A.1.1.2 Linux Installation"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Linux-Installation"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_23.html#FreeBSD-Installation" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_22.html#Unix-Installation" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_25.html#Unix-Configuration-Files" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Linux-Installation-1"></a> +<h4 class="subsubsection">A.1.1.2 Linux Installation</h4> + +<p>On rpm based Linux systems (such as RedHat, SUSE, Mandrake, etc.), you +can build and install the rpm binaries directly from the tarball: +</p> +<div class="example"> +<pre class="example">$ su - root +# rpmbuild -tb avrdude-6.99-20211218.tar.gz +# rpm -Uvh /usr/src/redhat/RPMS/i386/avrdude-6.99-20211218-1.i386.rpm +</pre></div> + +<p>Note that the path to the resulting rpm package, differs from system +to system. The above example is specific to RedHat. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_25.html b/docs/avrdude_25.html new file mode 100644 index 00000000..88baa79d --- /dev/null +++ b/docs/avrdude_25.html @@ -0,0 +1,112 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.2 Unix Configuration Files</title> + +<meta name="description" content="AVRDUDE: A.1.2 Unix Configuration Files"> +<meta name="keywords" content="AVRDUDE: A.1.2 Unix Configuration Files"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Unix-Configuration-Files"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_24.html#Linux-Installation" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_21.html#Unix" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_26.html#FreeBSD-Configuration-Files" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Unix-Configuration-Files-1"></a> +<h3 class="subsection">A.1.2 Unix Configuration Files</h3> + +<p>When AVRDUDE is build using the default ‘<samp>--prefix</samp>’ configure +option, the default configuration file for a Unix system is located at +<code>/usr/local/etc/avrdude.conf</code>. This can be overridden by using the +‘<samp>-C</samp>’ command line option. Additionally, the user’s home directory +is searched for a file named <code>.avrduderc</code>, and if found, is used to +augment the system default configuration file. +</p> +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top"><a href="avrdude_26.html#FreeBSD-Configuration-Files">A.1.2.1 FreeBSD Configuration Files</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_27.html#Linux-Configuration-Files">A.1.2.2 Linux Configuration Files</a></td><td> </td><td align="left" valign="top"> +</td></tr> +</table> + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_26.html b/docs/avrdude_26.html new file mode 100644 index 00000000..25350c4d --- /dev/null +++ b/docs/avrdude_26.html @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.2.1 FreeBSD Configuration Files</title> + +<meta name="description" content="AVRDUDE: A.1.2.1 FreeBSD Configuration Files"> +<meta name="keywords" content="AVRDUDE: A.1.2.1 FreeBSD Configuration Files"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="FreeBSD-Configuration-Files"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_25.html#Unix-Configuration-Files" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_25.html#Unix-Configuration-Files" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_27.html#Linux-Configuration-Files" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="FreeBSD-Configuration-Files-1"></a> +<h4 class="subsubsection">A.1.2.1 FreeBSD Configuration Files</h4> + +<p>When AVRDUDE is installed using the FreeBSD ports system, the system +configuration file is always <code>/usr/local/etc/avrdude.conf</code>. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_27.html b/docs/avrdude_27.html new file mode 100644 index 00000000..a7a707bf --- /dev/null +++ b/docs/avrdude_27.html @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.2.2 Linux Configuration Files</title> + +<meta name="description" content="AVRDUDE: A.1.2.2 Linux Configuration Files"> +<meta name="keywords" content="AVRDUDE: A.1.2.2 Linux Configuration Files"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Linux-Configuration-Files"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_26.html#FreeBSD-Configuration-Files" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_25.html#Unix-Configuration-Files" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_28.html#Unix-Port-Names" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Linux-Configuration-Files-1"></a> +<h4 class="subsubsection">A.1.2.2 Linux Configuration Files</h4> + +<p>When AVRDUDE is installed using from an rpm package, the system +configuration file will be always be <code>/etc/avrdude.conf</code>. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_28.html b/docs/avrdude_28.html new file mode 100644 index 00000000..afa30540 --- /dev/null +++ b/docs/avrdude_28.html @@ -0,0 +1,120 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.3 Unix Port Names</title> + +<meta name="description" content="AVRDUDE: A.1.3 Unix Port Names"> +<meta name="keywords" content="AVRDUDE: A.1.3 Unix Port Names"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Unix-Port-Names"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_27.html#Linux-Configuration-Files" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_21.html#Unix" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_29.html#Unix-Documentation" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Unix-Port-Names-1"></a> +<h3 class="subsection">A.1.3 Unix Port Names</h3> + +<p>The parallel and serial port device file names are system specific. +The following table lists the default names for a given system. +</p> +<table> +<tr><td width="30%"><strong>System</strong></td><td width="30%"><strong>Default Parallel Port</strong></td><td width="30%"><strong>Default Serial Port</strong></td></tr> +<tr><td width="30%">FreeBSD</td><td width="30%"><code>/dev/ppi0</code></td><td width="30%"><code>/dev/cuad0</code></td></tr> +<tr><td width="30%">Linux</td><td width="30%"><code>/dev/parport0</code></td><td width="30%"><code>/dev/ttyS0</code></td></tr> +<tr><td width="30%">Solaris</td><td width="30%"><code>/dev/printers/0</code></td><td width="30%"><code>/dev/term/a</code></td></tr> +</table> + +<p>On FreeBSD systems, AVRDUDE uses the ppi(4) interface for +accessing the parallel port and the sio(4) driver for serial port +access. +</p> +<p>On Linux systems, AVRDUDE uses the ppdev interface for +accessing the parallel port and the tty driver for serial port +access. +</p> +<p>On Solaris systems, AVRDUDE uses the ecpp(7D) driver for +accessing the parallel port and the asy(7D) driver for serial port +access. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_29.html b/docs/avrdude_29.html new file mode 100644 index 00000000..d7dc927c --- /dev/null +++ b/docs/avrdude_29.html @@ -0,0 +1,107 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.1.4 Unix Documentation</title> + +<meta name="description" content="AVRDUDE: A.1.4 Unix Documentation"> +<meta name="keywords" content="AVRDUDE: A.1.4 Unix Documentation"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Unix-Documentation"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_28.html#Unix-Port-Names" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_21.html#Unix" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_30.html#Windows" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Unix-Documentation-1"></a> +<h3 class="subsection">A.1.4 Unix Documentation</h3> + +<p>AVRDUDE installs a manual page as well as info, HTML and PDF +documentation. The manual page is installed in +<code>/usr/local/man/man1</code> area, while the HTML and PDF documentation +is installed in <code>/usr/local/share/doc/avrdude</code> directory. The +info manual is installed in <code>/usr/local/info/avrdude.info</code>. +</p> +<p>Note that these locations can be altered by various configure options +such as ‘<samp>--prefix</samp>’. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_3.html b/docs/avrdude_3.html index 8733476f..8a05752d 100644 --- a/docs/avrdude_3.html +++ b/docs/avrdude_3.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Option-Descriptions-1"></a> <h2 class="section">2.1 Option Descriptions</h2> @@ -758,7 +776,7 @@ and Mac OS but not on Windows. For more information about AVR-Doper see serial numbers, multiple devices can be distinguished by their location in the USB hierarchy. See the respective -See section <a href="avrdude_21.html#Troubleshooting">Troubleshooting</a> entry for examples. +See section <a href="avrdude_39.html#Troubleshooting">Troubleshooting</a> entry for examples. </p> <p>For the XBee programmer the target MCU is to be programmed wirelessly over a ZigBee mesh using the XBeeBoot bootloader. The ZigBee 64-bit @@ -991,10 +1009,18 @@ accepting extended parameters. <td valign="middle" align="left">[<a href="avrdude_2.html#Command-Line-Options" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_4.html#Programmers-accepting-extended-parameters" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left">[<a href="avrdude_6.html#Terminal-Mode-Operation" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_30.html b/docs/avrdude_30.html new file mode 100644 index 00000000..f148a03a --- /dev/null +++ b/docs/avrdude_30.html @@ -0,0 +1,109 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2 Windows</title> + +<meta name="description" content="AVRDUDE: A.2 Windows"> +<meta name="keywords" content="AVRDUDE: A.2 Windows"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Windows"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_29.html#Unix-Documentation" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_31.html#Windows-Installation" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Windows-1"></a> +<h2 class="section">A.2 Windows</h2> + +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top"><a href="avrdude_31.html#Windows-Installation">A.2.1 Installation</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_32.html#Windows-Configuration-Files">A.2.2 Configuration Files</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_35.html#Windows-Port-Names">A.2.3 Port Names</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_38.html#Documentation">A.2.4 Documentation</a></td><td> </td><td align="left" valign="top"> +</td></tr> +</table> + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_31.html b/docs/avrdude_31.html new file mode 100644 index 00000000..4a1f623a --- /dev/null +++ b/docs/avrdude_31.html @@ -0,0 +1,127 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.1 Installation</title> + +<meta name="description" content="AVRDUDE: A.2.1 Installation"> +<meta name="keywords" content="AVRDUDE: A.2.1 Installation"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Windows-Installation"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_30.html#Windows" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_30.html#Windows" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_32.html#Windows-Configuration-Files" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Installation"></a> +<h3 class="subsection">A.2.1 Installation</h3> + +<p>A Windows executable of avrdude is included in WinAVR which can be found at +<a href="http://sourceforge.net/projects/winavr">http://sourceforge.net/projects/winavr</a>. WinAVR is a suite of executable, +open source software development tools for the AVR for the Windows platform. +</p> +<p>There are two options to build avrdude from source under Windows. +The first one is to use Cygwin (<a href="http://www.cygwin.com/">http://www.cygwin.com/</a>). +</p> +<p>To build and install from the source tarball for Windows (using Cygwin): +</p> +<div class="example"> +<pre class="example">$ set PREFIX=<your install directory path> +$ export PREFIX +$ gunzip -c avrdude-6.99-20211218.tar.gz | tar xf - +$ cd avrdude-6.99-20211218 +$ ./configure LDFLAGS="-static" --prefix=$PREFIX --datadir=$PREFIX +--sysconfdir=$PREFIX/bin --enable-versioned-doc=no +$ make +$ make install +</pre></div> + +<p>Note that recent versions of Cygwin (starting with 1.7) removed the +MinGW support from the compiler that is needed in order to build a +native Win32 API binary that does not require to install the Cygwin +library <code>cygwin1.dll</code> at run-time. Either try using an older +compiler version that still supports MinGW builds, or use MinGW +(<a href="http://www.mingw.org/">http://www.mingw.org/</a>) directly. +</p> + + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_32.html b/docs/avrdude_32.html new file mode 100644 index 00000000..6218dd68 --- /dev/null +++ b/docs/avrdude_32.html @@ -0,0 +1,105 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.2 Configuration Files</title> + +<meta name="description" content="AVRDUDE: A.2.2 Configuration Files"> +<meta name="keywords" content="AVRDUDE: A.2.2 Configuration Files"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Windows-Configuration-Files"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_31.html#Windows-Installation" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_30.html#Windows" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_33.html#Configuration-file-names" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Configuration-Files"></a> +<h3 class="subsection">A.2.2 Configuration Files</h3> + +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top"><a href="avrdude_33.html#Configuration-file-names">A.2.2.1 Configuration file names</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_34.html#How-AVRDUDE-finds-the-configuration-files_002e">A.2.2.2 How AVRDUDE finds the configuration files.</a></td><td> </td><td align="left" valign="top"> +</td></tr> +</table> + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_33.html b/docs/avrdude_33.html new file mode 100644 index 00000000..5e33d98f --- /dev/null +++ b/docs/avrdude_33.html @@ -0,0 +1,102 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.2.1 Configuration file names</title> + +<meta name="description" content="AVRDUDE: A.2.2.1 Configuration file names"> +<meta name="keywords" content="AVRDUDE: A.2.2.1 Configuration file names"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Configuration-file-names"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_32.html#Windows-Configuration-Files" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_32.html#Windows-Configuration-Files" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_34.html#How-AVRDUDE-finds-the-configuration-files_002e" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Configuration-file-names-1"></a> +<h4 class="subsubsection">A.2.2.1 Configuration file names</h4> + +<p>AVRDUDE on Windows looks for a system configuration file name of +<code>avrdude.conf</code> and looks for a user override configuration file of +<code>avrdude.rc</code>. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_34.html b/docs/avrdude_34.html new file mode 100644 index 00000000..e0f26f4b --- /dev/null +++ b/docs/avrdude_34.html @@ -0,0 +1,130 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.2.2 How AVRDUDE finds the configuration files.</title> + +<meta name="description" content="AVRDUDE: A.2.2.2 How AVRDUDE finds the configuration files."> +<meta name="keywords" content="AVRDUDE: A.2.2.2 How AVRDUDE finds the configuration files."> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="How-AVRDUDE-finds-the-configuration-files_002e"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_33.html#Configuration-file-names" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_32.html#Windows-Configuration-Files" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_35.html#Windows-Port-Names" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="How-AVRDUDE-finds-the-configuration-files_002e-1"></a> +<h4 class="subsubsection">A.2.2.2 How AVRDUDE finds the configuration files.</h4> + +<p>AVRDUDE on Windows has a different way of searching for the system and +user configuration files. Below is the search method for locating the +configuration files: +</p> +<ol> +<li> +Only for the system configuration file: +<code><directory from which application loaded>/../etc/avrdude.conf</code> + +</li><li> +The directory from which the application loaded. + +</li><li> +The current directory. + +</li><li> +The Windows system directory. On Windows NT, the name of this directory +is <code>SYSTEM32</code>. + +</li><li> +Windows NT: The 16-bit Windows system directory. The name of this +directory is <code>SYSTEM</code>. + +</li><li> +The Windows directory. + +</li><li> +The directories that are listed in the PATH environment variable. + +</li></ol> + + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_35.html b/docs/avrdude_35.html new file mode 100644 index 00000000..abe209a8 --- /dev/null +++ b/docs/avrdude_35.html @@ -0,0 +1,105 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.3 Port Names</title> + +<meta name="description" content="AVRDUDE: A.2.3 Port Names"> +<meta name="keywords" content="AVRDUDE: A.2.3 Port Names"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Windows-Port-Names"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_34.html#How-AVRDUDE-finds-the-configuration-files_002e" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_30.html#Windows" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_36.html#Serial-Ports" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Port-Names"></a> +<h3 class="subsection">A.2.3 Port Names</h3> + +<table class="menu" border="0" cellspacing="0"> +<tr><td align="left" valign="top"><a href="avrdude_36.html#Serial-Ports">A.2.3.1 Serial Ports</a></td><td> </td><td align="left" valign="top"> +</td></tr> +<tr><td align="left" valign="top"><a href="avrdude_37.html#Parallel-Ports">A.2.3.2 Parallel Ports</a></td><td> </td><td align="left" valign="top"> +</td></tr> +</table> + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_36.html b/docs/avrdude_36.html new file mode 100644 index 00000000..4202abcf --- /dev/null +++ b/docs/avrdude_36.html @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.3.1 Serial Ports</title> + +<meta name="description" content="AVRDUDE: A.2.3.1 Serial Ports"> +<meta name="keywords" content="AVRDUDE: A.2.3.1 Serial Ports"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Serial-Ports"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_35.html#Windows-Port-Names" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_35.html#Windows-Port-Names" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_37.html#Parallel-Ports" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Serial-Ports-1"></a> +<h4 class="subsubsection">A.2.3.1 Serial Ports</h4> + +<p>When you select a serial port (i.e. when using an STK500) use the +Windows serial port device names such as: com1, com2, etc. +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_37.html b/docs/avrdude_37.html new file mode 100644 index 00000000..1e939eb2 --- /dev/null +++ b/docs/avrdude_37.html @@ -0,0 +1,126 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.3.2 Parallel Ports</title> + +<meta name="description" content="AVRDUDE: A.2.3.2 Parallel Ports"> +<meta name="keywords" content="AVRDUDE: A.2.3.2 Parallel Ports"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Parallel-Ports"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_36.html#Serial-Ports" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_35.html#Windows-Port-Names" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_38.html#Documentation" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Parallel-Ports-1"></a> +<h4 class="subsubsection">A.2.3.2 Parallel Ports</h4> + +<p>AVRDUDE will accept 3 Windows parallel port names: lpt1, lpt2, or +lpt3. Each of these names corresponds to a fixed parallel port base +address: +</p> +<dl compact="compact"> +<dt><code>lpt1</code></dt> +<dd><p>0x378 +</p> +</dd> +<dt><code>lpt2</code></dt> +<dd><p>0x278 +</p> +</dd> +<dt><code>lpt3</code></dt> +<dd><p>0x3BC +</p> +</dd> +</dl> + +<p>On your desktop PC, lpt1 will be the most common choice. If you are +using a laptop, you might have to use lpt3 instead of lpt1. Select the +name of the port the corresponds to the base address of the parallel +port that you want. +</p> +<p>If the parallel port can be accessed through a different +address, this address can be specified directly, using the common C +language notation (i. e., hexadecimal values are prefixed by <code>0x</code>). +</p> +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_38.html b/docs/avrdude_38.html new file mode 100644 index 00000000..151c4935 --- /dev/null +++ b/docs/avrdude_38.html @@ -0,0 +1,108 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: A.2.4 Documentation</title> + +<meta name="description" content="AVRDUDE: A.2.4 Documentation"> +<meta name="keywords" content="AVRDUDE: A.2.4 Documentation"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Documentation"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_37.html#Parallel-Ports" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_30.html#Windows" title="Up section"> Up </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next section in reading order"> > </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_39.html#Troubleshooting" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Documentation-1"></a> +<h3 class="subsection">A.2.4 Documentation</h3> + +<p>AVRDUDE installs a manual page as well as info, HTML and PDF +documentation. The manual page is installed in +<code>/usr/local/man/man1</code> area, while the HTML and PDF documentation +is installed in <code>/usr/local/share/doc/avrdude</code> directory. The +info manual is installed in <code>/usr/local/info/avrdude.info</code>. +</p> +<p>Note that these locations can be altered by various configure options +such as ‘<samp>--prefix</samp>’ and ‘<samp>--datadir</samp>’. +</p> + +<hr> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_39.html b/docs/avrdude_39.html new file mode 100644 index 00000000..496ccd43 --- /dev/null +++ b/docs/avrdude_39.html @@ -0,0 +1,421 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<!-- Created on March 16, 2022 by texi2html 5.0 +texi2html was written by: + Lionel Cons <Lionel.Cons@cern.ch> (original author) + Karl Berry <karl@freefriends.org> + Olaf Bachmann <obachman@mathematik.uni-kl.de> + and many others. +Maintained by: Many creative people. +Send bugs and suggestions to <texi2html-bug@nongnu.org> +--> +<head> +<title>AVRDUDE: Appendix B Troubleshooting</title> + +<meta name="description" content="AVRDUDE: Appendix B Troubleshooting"> +<meta name="keywords" content="AVRDUDE: Appendix B Troubleshooting"> +<meta name="resource-type" content="document"> +<meta name="distribution" content="global"> +<meta name="Generator" content="texi2html 5.0"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<style type="text/css"> +<!-- +a.summary-letter {text-decoration: none} +blockquote.smallquotation {font-size: smaller} +div.display {margin-left: 3.2em} +div.example {margin-left: 3.2em} +div.lisp {margin-left: 3.2em} +div.smalldisplay {margin-left: 3.2em} +div.smallexample {margin-left: 3.2em} +div.smalllisp {margin-left: 3.2em} +pre.display {font-family: serif} +pre.format {font-family: serif} +pre.menu-comment {font-family: serif} +pre.menu-preformatted {font-family: serif} +pre.smalldisplay {font-family: serif; font-size: smaller} +pre.smallexample {font-size: smaller} +pre.smallformat {font-family: serif; font-size: smaller} +pre.smalllisp {font-size: smaller} +span.nocodebreak {white-space:pre} +span.nolinebreak {white-space:pre} +span.roman {font-family:serif; font-weight:normal} +span.sansserif {font-family:sans-serif; font-weight:normal} +ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + +--> +</style> + + +</head> + +<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> + +<a name="Troubleshooting"></a> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_38.html#Documentation" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[ Up ]</td> +<td valign="middle" align="left">[ > ]</td> +<td valign="middle" align="left">[ >> ]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<hr> +<a name="Troubleshooting-1"></a> +<h1 class="appendix">Appendix B Troubleshooting</h1> + +<p>In general, please report any bugs encountered via +<br> +<a href="https://github.com/avrdudes/avrdude/issues">https://github.com/avrdudes/avrdude/issues</a>. +</p> + +<ul> +<li> +Problem: I’m using a serial programmer under Windows and get the following +error: + +<p><code>avrdude: serial_open(): can't set attributes for device "com1"</code>, +</p> +<p>Solution: This problem seems to appear with certain versions of Cygwin. Specifying +<code>"/dev/com1"</code> instead of <code>"com1"</code> should help. +</p> + +</li><li> +Problem: I’m using Linux and my AVR910 programmer is really slow. + +<p>Solution (short): <code>setserial <var>port</var> low_latency</code> +</p> +<p>Solution (long): +There are two problems here. First, the system may wait some time before it +passes data from the serial port to the program. Under Linux the following +command works around this (you may need root privileges for this). +</p> +<p><code>setserial <var>port</var> low_latency</code> +</p> +<p>Secondly, the serial interface chip may delay the interrupt for some time. +This behaviour can be changed by setting the FIFO-threshold to one. Under Linux this +can only be done by changing the kernel source in <code>drivers/char/serial.c</code>. +Search the file for <code>UART_FCR_TRIGGER_8</code> and replace it with <code>UART_FCR_TRIGGER_1</code>. Note that overall performance might suffer if there +is high throughput on serial lines. Also note that you are modifying the kernel at +your own risk. +</p> + +</li><li> +Problem: I’m not using Linux and my AVR910 programmer is really slow. + +<p>Solutions: The reasons for this are the same as above. +If you know how to work around this on your OS, please let us know. +</p> +</li><li> +Problem: Updating the flash ROM from terminal mode does not work with the +JTAG ICEs. + +<p>Solution: None at this time. Currently, the JTAG ICE code cannot +write to the flash ROM one byte at a time. +</p> +</li><li> +Problem: Page-mode programming the EEPROM (using the -U option) does +not erase EEPROM cells before writing, and thus cannot overwrite any +previous value != 0xff. + +<p>Solution: None. This is an inherent feature of the way JTAG EEPROM +programming works, and is documented that way in the Atmel AVR +datasheets. +In order to successfully program the EEPROM that way, a prior chip +erase (with the EESAVE fuse unprogrammed) is required. +This also applies to the STK500 and STK600 in high-voltage programming mode. +</p> +</li><li> +Problem: How do I turn off the <var>DWEN</var> fuse? + +<p>Solution: If the <var>DWEN</var> (debugWire enable) fuse is activated, +the <var>/RESET</var> pin is not functional anymore, so normal ISP +communication cannot be established. +There are two options to deactivate that fuse again: high-voltage +programming, or getting the JTAG ICE mkII talk debugWire, and +prepare the target AVR to accept normal ISP communication again. +</p> +<p>The first option requires a programmer that is capable of high-voltage +programming (either serial or parallel, depending on the AVR device), +for example the STK500. In high-voltage programming mode, the +<var>/RESET</var> pin is activated initially using a 12 V pulse (thus the +name <em>high voltage</em>), so the target AVR can subsequently be +reprogrammed, and the <var>DWEN</var> fuse can be cleared. Typically, this +operation cannot be performed while the AVR is located in the target +circuit though. +</p> +<p>The second option requires a JTAG ICE mkII that can talk the debugWire +protocol. The ICE needs to be connected to the target using the +JTAG-to-ISP adapter, so the JTAG ICE mkII can be used as a debugWire +initiator as well as an ISP programmer. AVRDUDE will then be activated +using the <var>jtag2isp</var> programmer type. The initial ISP +communication attempt will fail, but AVRDUDE then tries to initiate a +debugWire reset. When successful, this will leave the target AVR in a +state where it can accept standard ISP communication. The ICE is then +signed off (which will make it signing off from the USB as well), so +AVRDUDE has to be called again afterwards. This time, standard ISP +communication can work, so the <var>DWEN</var> fuse can be cleared. +</p> +<p>The pin mapping for the JTAG-to-ISP adapter is: +</p> +<table> +<tr><td width="20%"><strong>JTAG pin</strong></td><td width="20%"><strong>ISP pin</strong></td></tr> +<tr><td width="20%">1</td><td width="20%">3</td></tr> +<tr><td width="20%">2</td><td width="20%">6</td></tr> +<tr><td width="20%">3</td><td width="20%">1</td></tr> +<tr><td width="20%">4</td><td width="20%">2</td></tr> +<tr><td width="20%">6</td><td width="20%">5</td></tr> +<tr><td width="20%">9</td><td width="20%">4</td></tr> +</table> + +</li><li> +Problem: Multiple USBasp or USBtinyISP programmers connected simultaneously are not +found. + +<p>Solution: The USBtinyISP code supports distinguishing multiple +programmers based on their bus:device connection tuple that describes +their place in the USB hierarchy on a specific host. This tuple can +be added to the <var>-P usb</var> option, similar to adding a serial number +on other USB-based programmers. +</p> +<p>The actual naming convention for the bus and device names is +operating-system dependent; AVRDUDE will print out what it found +on the bus when running it with (at least) one <var>-v</var> option. +By specifying a string that cannot match any existing device +(for example, <var>-P usb:xxx</var>), the scan will list all possible +candidate devices found on the bus. +</p> +<p>Examples: +</p><div class="example"> +<pre class="example">avrdude -c usbtiny -p atmega8 -P usb:003:025 (Linux) +avrdude -c usbtiny -p atmega8 -P usb:/dev/usb:/dev/ugen1.3 (FreeBSD 8+) +avrdude -c usbtiny -p atmega8 \ + -P usb:bus-0:\\.\libusb0-0001--0x1781-0x0c9f (Windows) +</pre></div> + +</li><li> +Problem: I cannot do … when the target is in debugWire mode. + +<p>Solution: debugWire mode imposes several limitations. +</p> +<p>The debugWire protocol is Atmel’s proprietary one-wire (plus ground) +protocol to allow an in-circuit emulation of the smaller AVR devices, +using the <var>/RESET</var> line. +DebugWire mode is initiated by activating the <var>DWEN</var> +fuse, and then power-cycling the target. +While this mode is mainly intended for debugging/emulation, it +also offers limited programming capabilities. +Effectively, the only memory areas that can be read or programmed +in this mode are flash ROM and EEPROM. +It is also possible to read out the signature. +All other memory areas cannot be accessed. +There is no +<em>chip erase</em> +functionality in debugWire mode; instead, while reprogramming the +flash ROM, each flash ROM page is erased right before updating it. +This is done transparently by the JTAG ICE mkII (or AVR Dragon). +The only way back from debugWire mode is to initiate a special +sequence of commands to the JTAG ICE mkII (or AVR Dragon), so the +debugWire mode will be temporarily disabled, and the target can +be accessed using normal ISP programming. +This sequence is automatically initiated by using the JTAG ICE mkII +or AVR Dragon in ISP mode, when they detect that ISP mode cannot be +entered. +</p> +</li><li> +Problem: I want to use my JTAG ICE mkII to program an +Xmega device through PDI. The documentation tells me to use the +<em>XMEGA PDI adapter for JTAGICE mkII</em> that is supposed to ship +with the kit, yet I don’t have it. + +<p>Solution: Use the following pin mapping: +</p> +<table> +<tr><td width="20%"><strong>JTAGICE</strong></td><td width="20%"><strong>Target</strong></td><td width="20%"><strong>Squid cab-</strong></td><td width="20%"><strong>PDI</strong></td></tr> +<tr><td width="20%"><strong>mkII probe</strong></td><td width="20%"><strong>pins</strong></td><td width="20%"><strong>le colors</strong></td><td width="20%"><strong>header</strong></td></tr> +<tr><td width="20%">1 (TCK)</td><td width="20%"></td><td width="20%">Black</td><td width="20%"></td></tr> +<tr><td width="20%">2 (GND)</td><td width="20%">GND</td><td width="20%">White</td><td width="20%">6</td></tr> +<tr><td width="20%">3 (TDO)</td><td width="20%"></td><td width="20%">Grey</td><td width="20%"></td></tr> +<tr><td width="20%">4 (VTref)</td><td width="20%">VTref</td><td width="20%">Purple</td><td width="20%">2</td></tr> +<tr><td width="20%">5 (TMS)</td><td width="20%"></td><td width="20%">Blue</td><td width="20%"></td></tr> +<tr><td width="20%">6 (nSRST)</td><td width="20%">PDI_CLK</td><td width="20%">Green</td><td width="20%">5</td></tr> +<tr><td width="20%">7 (N.C.)</td><td width="20%"></td><td width="20%">Yellow</td><td width="20%"></td></tr> +<tr><td width="20%">8 (nTRST)</td><td width="20%"></td><td width="20%">Orange</td><td width="20%"></td></tr> +<tr><td width="20%">9 (TDI)</td><td width="20%">PDI_DATA</td><td width="20%">Red</td><td width="20%">1</td></tr> +<tr><td width="20%">10 (GND)</td><td width="20%"></td><td width="20%">Brown</td><td width="20%"></td></tr> +</table> + +</li><li> +Problem: I want to use my AVR Dragon to program an +Xmega device through PDI. + +<p>Solution: Use the 6 pin ISP header on the Dragon and the following pin mapping: +</p> +<table> +<tr><td width="20%"><strong>Dragon</strong></td><td width="20%"><strong>Target</strong></td></tr> +<tr><td width="20%"><strong>ISP Header</strong></td><td width="20%"><strong>pins</strong></td></tr> +<tr><td width="20%">1 (MISO)</td><td width="20%">PDI_DATA</td></tr> +<tr><td width="20%">2 (VCC)</td><td width="20%">VCC</td></tr> +<tr><td width="20%">3 (SCK)</td><td width="20%"></td></tr> +<tr><td width="20%">4 (MOSI)</td><td width="20%"></td></tr> +<tr><td width="20%">5 (RESET)</td><td width="20%">PDI_CLK / RST</td></tr> +<tr><td width="20%">6 (GND)</td><td width="20%">GND</td></tr> +</table> + +</li><li> +Problem: I want to use my AVRISP mkII to program an +ATtiny4/5/9/10 device through TPI. How to connect the pins? + +<p>Solution: Use the following pin mapping: +</p> +<table> +<tr><td width="20%"><strong>AVRISP</strong></td><td width="20%"><strong>Target</strong></td><td width="20%"><strong>ATtiny</strong></td></tr> +<tr><td width="20%"><strong>connector</strong></td><td width="20%"><strong>pins</strong></td><td width="20%"><strong>pin #</strong></td></tr> +<tr><td width="20%">1 (MISO)</td><td width="20%">TPIDATA</td><td width="20%">1</td></tr> +<tr><td width="20%">2 (VTref)</td><td width="20%">Vcc</td><td width="20%">5</td></tr> +<tr><td width="20%">3 (SCK)</td><td width="20%">TPICLK</td><td width="20%">3</td></tr> +<tr><td width="20%">4 (MOSI)</td><td width="20%"></td><td width="20%"></td></tr> +<tr><td width="20%">5 (RESET)</td><td width="20%">/RESET</td><td width="20%">6</td></tr> +<tr><td width="20%">6 (GND)</td><td width="20%">GND</td><td width="20%">2</td></tr> +</table> + +</li><li> +Problem: I want to program an ATtiny4/5/9/10 device using a serial/parallel +bitbang programmer. How to connect the pins? + +<p>Solution: Since TPI has only 1 pin for bi-directional data transfer, both +<var>MISO</var> and <var>MOSI</var> pins should be connected to the <var>TPIDATA</var> pin +on the ATtiny device. +However, a 1K resistor should be placed between the <var>MOSI</var> and <var>TPIDATA</var>. +The <var>MISO</var> pin connects to <var>TPIDATA</var> directly. +The <var>SCK</var> pin is connected to <var>TPICLK</var>. +</p> +<p>In addition, the <var>Vcc</var>, <var>/RESET</var> and <var>GND</var> pins should +be connected to their respective ports on the ATtiny device. +</p> +</li><li> +Problem: How can I use a FTDI FT232R USB-to-Serial device for bitbang programming? + +<p>Solution: When connecting the FT232 directly to the pins of the target Atmel device, +the polarity of the pins defined in the <code>programmer</code> definition should be +inverted by prefixing a tilde. For example, the <var>dasa</var> programmer would +look like this when connected via a FT232R device (notice the tildes in +front of pins 7, 4, 3 and 8): +</p> +<div class="example"> +<pre class="example">programmer + id = "dasa_ftdi"; + desc = "serial port banging, reset=rts sck=dtr mosi=txd miso=cts"; + type = serbb; + reset = ~7; + sck = ~4; + mosi = ~3; + miso = ~8; +; +</pre></div> + +<p>Note that this uses the FT232 device as a normal serial port, not using the +FTDI drivers in the special bitbang mode. +</p> +</li><li> +Problem: My ATtiny4/5/9/10 reads out fine, but any attempt to program +it (through TPI) fails. Instead, the memory retains the old contents. + +<p>Solution: Mind the limited programming supply voltage range of these +devices. +</p> +<p>In-circuit programming through TPI is only guaranteed by the datasheet +at Vcc = 5 V. +</p> +</li><li> +Problem: My ATxmega…A1/A2/A3 cannot be programmed through PDI with +my AVR Dragon. Programming through a JTAG ICE mkII works though, as does +programming through JTAG. + +<p>Solution: None by this time (2010 Q1). +</p> +<p>It is said that the AVR Dragon can only program devices from the A4 +Xmega sub-family. +</p> +</li><li> +Problem: when programming with an AVRISPmkII or STK600, AVRDUDE hangs +when programming files of a certain size (e.g. 246 bytes). Other +(larger or smaller) sizes work though. + +<p>Solution: This is a bug caused by an incorrect handling of zero-length +packets (ZLPs) in some versions of the libusb 0.1 API wrapper that ships +with libusb 1.x in certain Linux distributions. All Linux systems with +kernel versions < 2.6.31 and libusb >= 1.0.0 < 1.0.3 are reported to be +affected by this. +</p> +<p>See also: <a href="http://www.libusb.org/ticket/6">http://www.libusb.org/ticket/6</a> +</p> +</li><li> +Problem: after flashing a firmware that reduces the target’s clock +speed (e.g. through the <code>CLKPR</code> register), further ISP connection +attempts fail. + +<p>Solution: Even though ISP starts with pulling <var>/RESET</var> low, the +target continues to run at the internal clock speed as defined by the +firmware running before. Therefore, the ISP clock speed must be +reduced appropriately (to less than 1/4 of the internal clock speed) +using the -B option before the ISP initialization sequence will +succeed. +</p> +<p>As that slows down the entire subsequent ISP session, it might make +sense to just issue a <em>chip erase</em> using the slow ISP clock +(option <code>-e</code>), and then start a new session at higher speed. +Option <code>-D</code> might be used there, to prevent another unneeded +erase cycle. +</p> +</li></ul> + + + +<hr> +<table class="header" cellpadding="1" cellspacing="1" border="0"> +<tr><td valign="middle" align="left">[<a href="avrdude_20.html#Platform-Dependent-Information" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_38.html#Documentation" title="Previous section in reading order"> < </a>]</td> +<td valign="middle" align="left">[ Up ]</td> +<td valign="middle" align="left">[ > ]</td> +<td valign="middle" align="left">[ >> ]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> +</tr></table> +<p> + <font size="-1"> + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + </font> + <br> + +</p> +</body> +</html> diff --git a/docs/avrdude_4.html b/docs/avrdude_4.html index f6ce2057..7ba31249 100644 --- a/docs/avrdude_4.html +++ b/docs/avrdude_4.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Programmers-accepting-extended-parameters-1"></a> <h2 class="section">2.2 Programmers accepting extended parameters</h2> @@ -334,10 +352,18 @@ specific. <td valign="middle" align="left">[<a href="avrdude_2.html#Command-Line-Options" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_5.html#Example-Command-Line-Invocations" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left">[<a href="avrdude_6.html#Terminal-Mode-Operation" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_5.html b/docs/avrdude_5.html index d8ebc355..d31e9fa6 100644 --- a/docs/avrdude_5.html +++ b/docs/avrdude_5.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Example-Command-Line-Invocations-1"></a> <h2 class="section">2.3 Example Command Line Invocations</h2> @@ -230,10 +248,18 @@ avrdude: usbdev_open(): did not find any (matching) USB device "usb:xxx&quo <td valign="middle" align="left">[<a href="avrdude_2.html#Command-Line-Options" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_6.html#Terminal-Mode-Operation" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left">[<a href="avrdude_6.html#Terminal-Mode-Operation" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_6.html b/docs/avrdude_6.html index 9de6d20f..8034fe4f 100644 --- a/docs/avrdude_6.html +++ b/docs/avrdude_6.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Terminal-Mode-Operation-1"></a> <h1 class="chapter">3 Terminal Mode Operation</h1> @@ -85,16 +103,9 @@ commands can be recalled and edited. </table> <hr> -<table class="header" cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="avrdude_2.html#Command-Line-Options" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_5.html#Example-Command-Line-Invocations" title="Previous section in reading order"> < </a>]</td> -<td valign="middle" align="left">[ Up ]</td> -<td valign="middle" align="left">[<a href="avrdude_7.html#Terminal-Mode-Commands" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Next chapter"> >> </a>]</td> -</tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_7.html b/docs/avrdude_7.html index 4b2f681f..530b35e6 100644 --- a/docs/avrdude_7.html +++ b/docs/avrdude_7.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Terminal-Mode-Commands-1"></a> <h2 class="section">3.1 Terminal Mode Commands</h2> @@ -196,10 +214,18 @@ Display the current target supply voltage and JTAG bit clock rate/period. <td valign="middle" align="left">[<a href="avrdude_6.html#Terminal-Mode-Operation" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_8.html#Terminal-Mode-Examples" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_8.html b/docs/avrdude_8.html index 89a282bb..1fea3296 100644 --- a/docs/avrdude_8.html +++ b/docs/avrdude_8.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Terminal-Mode-Examples-1"></a> <h2 class="section">3.2 Terminal Mode Examples</h2> @@ -171,10 +189,18 @@ avrdude> <td valign="middle" align="left">[<a href="avrdude_6.html#Terminal-Mode-Operation" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left">[<a href="avrdude_9.html#Configuration-File" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_9.html b/docs/avrdude_9.html index 23536848..c4c436cd 100644 --- a/docs/avrdude_9.html +++ b/docs/avrdude_9.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -55,7 +72,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[<a href="avrdude_8.html#Terminal-Mode-Examples" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[ Up ]</td> <td valign="middle" align="left">[<a href="avrdude_10.html#AVRDUDE-Defaults" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -65,6 +82,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <a name="Configuration-File-1"></a> <h1 class="chapter">4 Configuration File</h1> @@ -95,7 +113,7 @@ directory as the executable. </td></tr> <tr><td align="left" valign="top"><a href="avrdude_12.html#Part-Definitions">4.3 Part Definitions</a></td><td> </td><td align="left" valign="top"> </td></tr> -<tr><td align="left" valign="top"><a href="avrdude_13.html#Other-Notes">4.4 Other Notes</a></td><td> </td><td align="left" valign="top"> +<tr><td align="left" valign="top"><a href="avrdude_15.html#Other-Notes">4.4 Other Notes</a></td><td> </td><td align="left" valign="top"> </td></tr> </table> @@ -105,11 +123,19 @@ directory as the executable. <td valign="middle" align="left">[<a href="avrdude_8.html#Terminal-Mode-Examples" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[ Up ]</td> <td valign="middle" align="left">[<a href="avrdude_10.html#AVRDUDE-Defaults" title="Next section in reading order"> > </a>]</td> -<td valign="middle" align="left">[<a href="avrdude_14.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left">[<a href="avrdude_16.html#Programmer-Specific-Information" title="Next chapter"> >> </a>]</td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left"> </td> +<td valign="middle" align="left">[<a href="avrdude.html#Introduction" title="Cover (top) of document">Top</a>]</td> +<td valign="middle" align="left">[<a href="avrdude_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> +<td valign="middle" align="left">[Index]</td> +<td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_abt.html b/docs/avrdude_abt.html index a1e23c9b..652b534b 100644 --- a/docs/avrdude_abt.html +++ b/docs/avrdude_abt.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -56,10 +73,11 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <h1>About This Document</h1> <p> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </p> <p> The buttons in the navigation panels have the following meaning: @@ -167,7 +185,7 @@ ul.no-bullet {list-style: none} </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br> diff --git a/docs/avrdude_toc.html b/docs/avrdude_toc.html index 18149e9d..3fc6b389 100644 --- a/docs/avrdude_toc.html +++ b/docs/avrdude_toc.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Created on March 13, 2022 by texi2html 5.0 +<!-- Created on March 16, 2022 by texi2html 5.0 texi2html was written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -41,6 +41,23 @@ span.nolinebreak {white-space:pre} span.roman {font-family:serif; font-weight:normal} span.sansserif {font-family:sans-serif; font-weight:normal} ul.no-bullet {list-style: none} +body { background-color: #ffd; } +h1 { text-shadow: .05em .05em #ccc; } +table { + border: 3px solid #ccf; + background-color: white; +} +div.example { + background-color: #dfd; + border: 3px solid #cfc; +} +samp { + color: blue; +} +code { + color: green; +} + --> </style> @@ -56,6 +73,7 @@ ul.no-bullet {list-style: none} <td valign="middle" align="left">[Index]</td> <td valign="middle" align="left">[<a href="avrdude_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> +<hr> <h1>Table of Contents</h1> <div class="contents"> @@ -82,52 +100,52 @@ ul.no-bullet {list-style: none} <li><a name="toc-Programmer-Definitions-1" href="avrdude_11.html#Programmer-Definitions">4.2 Programmer Definitions</a></li> <li><a name="toc-Part-Definitions-1" href="avrdude_12.html#Part-Definitions">4.3 Part Definitions</a> <ul class="no-bullet"> - <li><a name="toc-Parent-Part-1" href="avrdude_12.html#Parent-Part">4.3.1 Parent Part</a></li> - <li><a name="toc-Instruction-Format-1" href="avrdude_12.html#Instruction-Format">4.3.2 Instruction Format</a></li> + <li><a name="toc-Parent-Part-1" href="avrdude_13.html#Parent-Part">4.3.1 Parent Part</a></li> + <li><a name="toc-Instruction-Format-1" href="avrdude_14.html#Instruction-Format">4.3.2 Instruction Format</a></li> </ul></li> - <li><a name="toc-Other-Notes-1" href="avrdude_13.html#Other-Notes">4.4 Other Notes</a></li> + <li><a name="toc-Other-Notes-1" href="avrdude_15.html#Other-Notes">4.4 Other Notes</a></li> </ul></li> - <li><a name="toc-Programmer-Specific-Information-1" href="avrdude_14.html#Programmer-Specific-Information">5 Programmer Specific Information</a> + <li><a name="toc-Programmer-Specific-Information-1" href="avrdude_16.html#Programmer-Specific-Information">5 Programmer Specific Information</a> <ul class="no-bullet"> - <li><a name="toc-Atmel-STK600-1" href="avrdude_15.html#Atmel-STK600">5.1 Atmel STK600</a></li> - <li><a name="toc-Atmel-DFU-bootloader-using-FLIP-version-1-1" href="avrdude_16.html#Atmel-DFU-bootloader-using-FLIP-version-1">5.2 Atmel DFU bootloader using FLIP version 1</a></li> - <li><a name="toc-SerialUPDI-programmer-1" href="avrdude_17.html#SerialUPDI-programmer">5.3 SerialUPDI programmer</a></li> + <li><a name="toc-Atmel-STK600-1" href="avrdude_17.html#Atmel-STK600">5.1 Atmel STK600</a></li> + <li><a name="toc-Atmel-DFU-bootloader-using-FLIP-version-1-1" href="avrdude_18.html#Atmel-DFU-bootloader-using-FLIP-version-1">5.2 Atmel DFU bootloader using FLIP version 1</a></li> + <li><a name="toc-SerialUPDI-programmer-1" href="avrdude_19.html#SerialUPDI-programmer">5.3 SerialUPDI programmer</a></li> </ul></li> - <li><a name="toc-Platform-Dependent-Information-1" href="avrdude_18.html#Platform-Dependent-Information">Appendix A Platform Dependent Information</a> + <li><a name="toc-Platform-Dependent-Information-1" href="avrdude_20.html#Platform-Dependent-Information">Appendix A Platform Dependent Information</a> <ul class="no-bullet"> - <li><a name="toc-Unix-1" href="avrdude_19.html#Unix">A.1 Unix</a> + <li><a name="toc-Unix-1" href="avrdude_21.html#Unix">A.1 Unix</a> <ul class="no-bullet"> - <li><a name="toc-Unix-Installation-1" href="avrdude_19.html#Unix-Installation">A.1.1 Unix Installation</a> + <li><a name="toc-Unix-Installation-1" href="avrdude_22.html#Unix-Installation">A.1.1 Unix Installation</a> <ul class="no-bullet"> - <li><a name="toc-FreeBSD-Installation-1" href="avrdude_19.html#FreeBSD-Installation">A.1.1.1 FreeBSD Installation</a></li> - <li><a name="toc-Linux-Installation-1" href="avrdude_19.html#Linux-Installation">A.1.1.2 Linux Installation</a></li> + <li><a name="toc-FreeBSD-Installation-1" href="avrdude_23.html#FreeBSD-Installation">A.1.1.1 FreeBSD Installation</a></li> + <li><a name="toc-Linux-Installation-1" href="avrdude_24.html#Linux-Installation">A.1.1.2 Linux Installation</a></li> </ul></li> - <li><a name="toc-Unix-Configuration-Files-1" href="avrdude_19.html#Unix-Configuration-Files">A.1.2 Unix Configuration Files</a> + <li><a name="toc-Unix-Configuration-Files-1" href="avrdude_25.html#Unix-Configuration-Files">A.1.2 Unix Configuration Files</a> <ul class="no-bullet"> - <li><a name="toc-FreeBSD-Configuration-Files-1" href="avrdude_19.html#FreeBSD-Configuration-Files">A.1.2.1 FreeBSD Configuration Files</a></li> - <li><a name="toc-Linux-Configuration-Files-1" href="avrdude_19.html#Linux-Configuration-Files">A.1.2.2 Linux Configuration Files</a></li> + <li><a name="toc-FreeBSD-Configuration-Files-1" href="avrdude_26.html#FreeBSD-Configuration-Files">A.1.2.1 FreeBSD Configuration Files</a></li> + <li><a name="toc-Linux-Configuration-Files-1" href="avrdude_27.html#Linux-Configuration-Files">A.1.2.2 Linux Configuration Files</a></li> </ul></li> - <li><a name="toc-Unix-Port-Names-1" href="avrdude_19.html#Unix-Port-Names">A.1.3 Unix Port Names</a></li> - <li><a name="toc-Unix-Documentation-1" href="avrdude_19.html#Unix-Documentation">A.1.4 Unix Documentation</a></li> + <li><a name="toc-Unix-Port-Names-1" href="avrdude_28.html#Unix-Port-Names">A.1.3 Unix Port Names</a></li> + <li><a name="toc-Unix-Documentation-1" href="avrdude_29.html#Unix-Documentation">A.1.4 Unix Documentation</a></li> </ul></li> - <li><a name="toc-Windows-1" href="avrdude_20.html#Windows">A.2 Windows</a> + <li><a name="toc-Windows-1" href="avrdude_30.html#Windows">A.2 Windows</a> <ul class="no-bullet"> - <li><a name="toc-Installation" href="avrdude_20.html#Windows-Installation">A.2.1 Installation</a></li> - <li><a name="toc-Configuration-Files" href="avrdude_20.html#Windows-Configuration-Files">A.2.2 Configuration Files</a> + <li><a name="toc-Installation" href="avrdude_31.html#Windows-Installation">A.2.1 Installation</a></li> + <li><a name="toc-Configuration-Files" href="avrdude_32.html#Windows-Configuration-Files">A.2.2 Configuration Files</a> <ul class="no-bullet"> - <li><a name="toc-Configuration-file-names-1" href="avrdude_20.html#Configuration-file-names">A.2.2.1 Configuration file names</a></li> - <li><a name="toc-How-AVRDUDE-finds-the-configuration-files_002e-1" href="avrdude_20.html#How-AVRDUDE-finds-the-configuration-files_002e">A.2.2.2 How AVRDUDE finds the configuration files.</a></li> + <li><a name="toc-Configuration-file-names-1" href="avrdude_33.html#Configuration-file-names">A.2.2.1 Configuration file names</a></li> + <li><a name="toc-How-AVRDUDE-finds-the-configuration-files_002e-1" href="avrdude_34.html#How-AVRDUDE-finds-the-configuration-files_002e">A.2.2.2 How AVRDUDE finds the configuration files.</a></li> </ul></li> - <li><a name="toc-Port-Names" href="avrdude_20.html#Windows-Port-Names">A.2.3 Port Names</a> + <li><a name="toc-Port-Names" href="avrdude_35.html#Windows-Port-Names">A.2.3 Port Names</a> <ul class="no-bullet"> - <li><a name="toc-Serial-Ports-1" href="avrdude_20.html#Serial-Ports">A.2.3.1 Serial Ports</a></li> - <li><a name="toc-Parallel-Ports-1" href="avrdude_20.html#Parallel-Ports">A.2.3.2 Parallel Ports</a></li> + <li><a name="toc-Serial-Ports-1" href="avrdude_36.html#Serial-Ports">A.2.3.1 Serial Ports</a></li> + <li><a name="toc-Parallel-Ports-1" href="avrdude_37.html#Parallel-Ports">A.2.3.2 Parallel Ports</a></li> </ul></li> - <li><a name="toc-Documentation-1" href="avrdude_20.html#Documentation">A.2.4 Documentation</a></li> + <li><a name="toc-Documentation-1" href="avrdude_38.html#Documentation">A.2.4 Documentation</a></li> </ul> </li> </ul></li> - <li><a name="toc-Troubleshooting-1" href="avrdude_21.html#Troubleshooting">Appendix B Troubleshooting</a></li> + <li><a name="toc-Troubleshooting-1" href="avrdude_39.html#Troubleshooting">Appendix B Troubleshooting</a></li> </ul> </div> <hr> @@ -139,7 +157,7 @@ ul.no-bullet {list-style: none} </tr></table> <p> <font size="-1"> - This document was generated on <i>March 13, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. + This document was generated on <i>March 16, 2022</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 5.0</i></a>. </font> <br>