[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.2 Programmer Definitions

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
                                              # list known types with -c ?type
    prog_modes = PM_<i/f> {| PM_<i/f>}        # interfaces, e.g., PM_SPM|PM_PDI (1)
    extra_features = HAS_<fea> {| HAS_<fea>}  # extra features, e.g., HAS_SUFFER (2)
    connection_type = parallel | serial | usb | spi
    baudrate = <num> ;                        # baudrate for avr910-programmer
    vcc      = <pin1> [, <pin2> ... ] ;       # pin number(s) (3)
    buff     = <pin1> [, <pin2> ... ] ;       # pin number(s)
    reset    = <pin> ;                        # pin number
    sck      = <pin> ;                        # pin number
    sdo      = <pin> ;                        # pin number
    sdi      = <pin> ;                        # pin number
    tck      = <pin> ;                        # pin number
    tdi      = <pin> ;                        # pin number
    tdo      = <pin> ;                        # pin number
    tms      = <pin> ;                        # pin number
    errled   = <pin> ;                        # pin number
    rdyled   = <pin> ;                        # pin number
    pgmled   = <pin> ;                        # pin number
    vfyled   = <pin> ;                        # pin number
    usbvid   = <hexnum> ;                     # USB vendor ID
    usbpid   = <hexnum> [, <hexnum> ...] ;    # USB product ID (4)
    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.

Notes

  1. Known programming modes are
  2. The following extra programmer features are known
  3. To invert the polarity of a pin, use a tilde ~<num>; to invert the polarity of all pins in a list use ~(<num1> [, <num2> ... ])
  4. 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 February 8, 2024 using texi2html 5.0.