Skip to content

Commit

Permalink
Merge pull request #1286 from MCUdude/xplainedmini-suffer
Browse files Browse the repository at this point in the history
Add `extra_features` to easily identify a programmers special abilities
  • Loading branch information
stefanrueger authored Mar 4, 2023
2 parents 4a47b10 + 911aa04 commit 1995ca6
Show file tree
Hide file tree
Showing 11 changed files with 400 additions and 64 deletions.
32 changes: 31 additions & 1 deletion src/avrdude.1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.\"
.\" $Id$
.\"
.Dd July 12, 2022
.Dd January 15, 2023
.Os
.Dt AVRDUDE 1
.Sh NAME
Expand Down Expand Up @@ -1141,6 +1141,36 @@ GPIO mode. High-voltage UPDI can be utilized by using an extended parameter:
.It Ar hvupdi
Enable high-voltage UPDI initialization for targets that supports this.
.El
.It Ar Xplained Mini (ISP and UPDI)
.Bl -tag -offset indent -width indent
.It Ar suffer=VALUE, suffer
The SUFFER register allows the user to modify the behavior of the on-board mEDBG.
The current state can be read by
.Ar -xsuffer
alone.
.Bl -tag -offset indent -width indent
.It Bit 7 ARDUINO:
Adds control of extra LEDs when set to 0
.It Bit 6..3:
Reserved (must be set to 1)
.It Bit 2 EOF:
Agressive power-down, sleep after 5 seconds if no USB enumeration when set to 0
.It Bit 1 LOWP:
forc running the mEDBG at 1 MHz when bit set to 0
.It Bit 0 FUSE:
Fuses are safe-masked when bit sent to 1. Fuses are unprotected when set to 0
.El
.El
.Pp
.Bl -tag -offset indent -width indent
.It Ar vtarg_switch=VALUE, vtarg_switch
The on-board target voltage switch can be turned on or off by writing a 1 or
a 0. The current state can be read by
.Ar -xvtarg_switch
alone.
Note that the target power switch will always be on after a power cycle.
Also note that the smaller Xplained Nano boards does not have a target power switch.
.El
.It Ar AVR910
.Bl -tag -offset indent -width indent
.It Ar devcode=VALUE
Expand Down
Loading

0 comments on commit 1995ca6

Please sign in to comment.