[ < ] [ > ]   [ << ] [ 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
                                              # 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

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.