[ << ] | [ < ] | [ 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:
arduino | Arduino programmer |
avr910 | Serial programmers using protocol described in application note AVR910 |
avrftdi | Interface to the MPSSE Engine of FTDI Chips using libftdi. |
buspirate | Using the Bus Pirate’s SPI interface for programming |
buspirate_bb | Using the Bus Pirate’s bitbang interface for programming |
butterfly | Atmel Butterfly evaluation board; Atmel AppNotes AVR109, AVR911 |
butterfly_mk | Mikrokopter.de Butterfly |
dragon_dw | Atmel AVR Dragon in debugWire mode |
dragon_hvsp | Atmel AVR Dragon in HVSP mode |
dragon_isp | Atmel AVR Dragon in ISP mode |
dragon_jtag | Atmel AVR Dragon in JTAG mode |
dragon_pdi | Atmel AVR Dragon in PDI mode |
dragon_pp | Atmel AVR Dragon in PP mode |
flip1 | FLIP USB DFU protocol version 1 (doc7618) |
flip2 | FLIP USB DFU protocol version 2 (AVR4023) |
ftdi_syncbb | FT245R/FT232R Synchronous BitBangMode Programmer |
jtagmki | Atmel JTAG ICE mkI |
jtagmkii | Atmel JTAG ICE mkII |
jtagmkii_avr32 | Atmel JTAG ICE mkII in AVR32 mode |
jtagmkii_dw | Atmel JTAG ICE mkII in debugWire mode |
jtagmkii_isp | Atmel JTAG ICE mkII in ISP mode |
jtagmkii_pdi | Atmel JTAG ICE mkII in PDI mode |
jtagmkii_updi | Atmel JTAG ICE mkII in UPDI mode |
jtagice3 | Atmel JTAGICE3 |
jtagice3_pdi | Atmel JTAGICE3 in PDI mode |
jtagice3_updi | Atmel JTAGICE3 in UPDI mode |
jtagice3_dw | Atmel JTAGICE3 in debugWire mode |
jtagice3_isp | Atmel JTAGICE3 in ISP mode |
jtagice3_tpi | Atmel JTAGICE3 in TPI mode |
linuxgpio | GPIO bitbanging using the Linux sysfs interface (not available) |
linuxspi | SPI using Linux spidev driver (not available) |
micronucleus | Micronucleus Bootloader |
par | Parallel port bitbanging |
pickit2 | Microchip’s PICkit2 Programmer |
serbb | Serial port bitbanging |
serialupdi | Driver for SerialUPDI programmers |
stk500 | Atmel STK500 Version 1.x firmware |
stk500generic | Atmel STK500, autodetect firmware version |
stk500v2 | Atmel STK500 Version 2.x firmware |
stk500hvsp | Atmel STK500 V2 in high-voltage serial programming mode |
stk500pp | Atmel STK500 V2 in parallel programming mode |
stk600 | Atmel STK600 |
stk600hvsp | Atmel STK600 in high-voltage serial programming mode |
stk600pp | Atmel STK600 in parallel programming mode |
teensy | Teensy Bootloader |
urclock | Urclock programmer for urboot bootloaders (arduino compatible) |
usbasp | USBasp programmer, see http://www.fischl.de/usbasp/ |
usbtiny | Driver for "usbtiny"-type programmers |
wiring | http://wiring.org.co/, Basically STK500v2 protocol, with some glue to trigger the bootloader. |
xbee | XBee Series 2 Over-The-Air (XBeeBoot) |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 8, 2023 using texi2html 5.0.