[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The format of the programmer definition is as follows:
programmer parent <id> # optional parent id = <id1> [, <id2> ... ] ; # <idN> are quoted strings desc = <description> ; # quoted string type = <type>; # programmer type, quoted string # supported types can be listed by "-c ?type" prog_modes = PM_<i/f> { | PM_<i/f> } # interfaces, e.g., PM_SPM|PM_PDI connection_type = parallel | serial | usb | spi baudrate = <num> ; # baudrate for avr910-programmer vcc = <pin1> [, <pin2> ... ] ; # pin number(s) buff = <pin1> [, <pin2> ... ] ; # pin number(s) reset = <pin> ; # pin number sck = <pin> ; # pin number sdo = <pin> ; # pin number sdi = <pin> ; # pin number errled = <pin> ; # pin number rdyled = <pin> ; # pin number pgmled = <pin> ; # pin number vfyled = <pin> ; # pin number usbvid = <hexnum> ; # USB VID (Vendor ID) usbpid = <hexnum> [, <hexnum> ...] ; # USB PID (Product ID) usbdev = <interface> ; # USB interface or other device info usbvendor = <vendorname> ; # USB Vendor Name usbproduct = <productname> ; # USB Product Name usbsn = <serialno> ; # USB Serial Number hvupdi_support = <num> [, <num>, ... ] ; # UPDI HV Variants Support ; |
If a parent is specified, all settings of it (except its ids) are used for the new programmer. These values can be changed by new setting them for the new programmer.
Known programming modes are
PM_SPM
: Bootloaders, self-programming with SPM opcodes or NVM Controllers
PM_TPI
: Tiny Programming Interface (t4, t5, t9, t10, t20, t40, t102, t104)
PM_ISP
: SPI programming for In-System Programming (almost all classic parts)
PM_PDI
: Program and Debug Interface (xmega parts)
PM_UPDI
: Unified Program and Debug Interface
PM_HVSP
: High Voltage Serial Programming (some classic parts)
PM_HVPP
: High Voltage Parallel Programming (most non-HVSP classic parts)
PM_debugWIRE
: Simpler alternative to JTAG (a subset of HVPP/HVSP parts)
PM_JTAG
: Joint Test Action Group standard (some classic parts)
PM_JTAGmkI
: Subset of PM_JTAG
, older parts, Atmel ICE mkI
PM_XMEGAJTAG
: JTAG, some XMEGA parts
PM_AVR32JTAG
: JTAG for 32-bit AVRs
PM_aWire
: AVR32 parts
To invert a bit in the pin definitions, use = ~ <num>
. To invert a pin list
(all pins get inverted) use ~ ( <num1> [, <num2> ... ] )
.
Not all programmer types can handle a list of USB PIDs.
The following programmer types are currently implemented:
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 11, 2023 using texi2html 1.82.