Document factory reset command

This commit is contained in:
stefanrueger
2024-01-27 13:13:10 +13:00
parent bfd14562f9
commit 91d7c9f702
2 changed files with 19 additions and 0 deletions

View File

@@ -1260,6 +1260,14 @@ can be uniquely resolved.
It is quite possible, as is with direct writing to the underlying fuses
and lock bits, to brick a part, i.e., make it unresponsive to further
programming with the chosen programmer: here be dragons.
.It Ar factory reset
Resets the connected part to factory state as far as possible;
bootloaders, for example, cannot write fuses and may not have a means to
erase EEPROM. This may change the clock frequency of the part after the
next reset when the new fuse values come into effect. As such this may
require that avrdude is called with a different bit clock rate for the
programmer next time. Note that the command factory can be abbreviated
but the required argument reset needs to be spelled out.
.It Ar regfile {<opts>}
regfile with no further argument displays the register file of a part,
i.e., all register names and their contents in

View File

@@ -2463,6 +2463,17 @@ It is quite possible, as is with direct writing to the underlying fuses
and lock bits, to brick a part, i.e., make it unresponsive to further
programming with the chosen programmer: here be dragons.
@item factory reset
Resets the connected part to factory state as far as possible;
bootloaders, for example, cannot write fuses and may not have a means to
erase EEPROM. This may change the clock frequency of the part after the
next reset when the new fuse values come into effect. As such this may
require that avrdude is called with a different bit clock rate for the
programmer next time. Note that the command @code{factory} can be
abbreviated but the required argument @code{reset} needs to be spelled
out.
@item regfile [@var{opts}]
@code{regfile} with no further argument displays the register file of a
part, i.e., all register names and their contents in @code{io} memory, if