mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-10-09 12:11:00 +00:00
CSS test
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user