From 66a5f13b2c28ea4783e284a5f9d7fb781af29823 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Fri, 16 Sep 2005 20:38:29 +0000 Subject: [PATCH] avrdude.1: document the memtypes for -U doc/avrdude.texi: (Ditto.) Closes bug #13501: should be listed in the man page git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@500 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/ChangeLog | 6 ++++++ avrdude/avrdude.1 | 34 +++++++++++++++++++++++++++++++++- avrdude/doc/avrdude.texi | 27 +++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 1 deletion(-) diff --git a/avrdude/ChangeLog b/avrdude/ChangeLog index 7b411aea..08416f61 100644 --- a/avrdude/ChangeLog +++ b/avrdude/ChangeLog @@ -1,3 +1,9 @@ +2005-09-16 Joerg Wunsch + + * avrdude.1: document the memtypes for -U + * doc/avrdude.texi: (Ditto.) + Closes bug #13501: should be listed in the man page + 2005-09-16 Joerg Wunsch * doc/Makefile.am: add logic to detect the misf^H^H^H^H diff --git a/avrdude/avrdude.1 b/avrdude/avrdude.1 index 0bca1bdf..be34ba84 100644 --- a/avrdude/avrdude.1 +++ b/avrdude/avrdude.1 @@ -357,7 +357,39 @@ the fuse bits. .Xc Perform a memory operation as indicated. The .Ar memtype -field specifies the memory type to operate on. The +field specifies the memory type to operate on. +The available memory types are device-dependant, the actual +configuration can be viewed with the +.Cm part +command in terminal mode. +Typically, a device's memory configuration at least contains +the memory types +.Ar flash +and +.Ar eeprom . +All memory types currently known are: +.Bl -tag -width "calibration" -compact +.It calibration +One or more bytes of RC oscillator calibration data. +.It eeprom +The EEPROM of the device. +.It efuse +The extended fuse byte. +.It flash +The flash ROM of the device. +.It fuse +The fuse byte in devices that have only a single fuse byte. +.It hfuse +The high fuse byte. +.It lfuse +The low fuse byte. +.It lock +The lock byte. +.It signature +The three device signature bytes (device ID). +.El +.Pp +The .Ar op field specifies what operation to perform: .Bl -tag -width noreset diff --git a/avrdude/doc/avrdude.texi b/avrdude/doc/avrdude.texi index 29958075..ddbd9d67 100644 --- a/avrdude/doc/avrdude.texi +++ b/avrdude/doc/avrdude.texi @@ -572,6 +572,33 @@ mulitple memories on the same command-line invocation. The the @option{-v} option on the command line or the @code{part} command from terminal mode to display all the memory types supported by a particular device. +Typically, a device's memory configuration at least contains +the memory types +@code{flash} +and +@code{eeprom}. +All memory types currently known are: +@table @code +@item calibration +One or more bytes of RC oscillator calibration data. +@item eeprom +The EEPROM of the device. +@item efuse +The extended fuse byte. +@item flash +The flash ROM of the device. +@item fuse +The fuse byte in devices that have only a single fuse byte. +@item hfuse +The high fuse byte. +@item lfuse +The low fuse byte. +@item lock +The lock byte. +@item signature +The three device signature bytes (device ID). +@end table + The @var{op} field specifies what operation to perform: @table @code