Submitted by Kirill Levchenko:

patch #7896: DFU FLIPv2 programming support
* pgm_type.c: Add the flip2 programmer type.
* config_gram.y: Allow for the usbid keyword in a device definition.
* avrdude.conf.in: Add usbpid values to those Xmega devices where
applicable.
* avrpart.h: Add usbpid device field.
* dfu.c: (New file.)
* dfu.h: (New file.)
* flip.c: (New file.)
* flip.h: (New file.)
* Makefile.am: Add new files.
* doc/avrdude.texi: Document the changes.
* avrdude.1: (Dito.)



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1258 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2014-01-15 13:34:49 +00:00
parent a323e4b9ec
commit efc87b6d2e
13 changed files with 1623 additions and 3 deletions

View File

@@ -54,6 +54,7 @@
# stk500_devcode = <num> ; # numeric
# avr910_devcode = <num> ; # numeric
# signature = <num> <num> <num> ; # signature bytes
# usbpid = <num> ; # DFU USB PID
# chip_erase_delay = <num> ; # micro-seconds
# reset = dedicated | io;
# retry_pulse = reset | sck;
@@ -1031,6 +1032,13 @@ programmer
connection_type = usb;
;
programmer
id = "flip2";
desc = "FLIPv2 USB DFU protocol (AVR4023)";
type = "flip2";
connection_type = usb;
;
@HAVE_PARPORT_BEGIN@ Inclusion of the following depends on --enable-parport
# Parallel port programmers.
@@ -13132,6 +13140,7 @@ part parent ".xmega"
id = "x16a4u";
desc = "ATxmega16A4U";
signature = 0x1e 0x94 0x41;
usbpid = 0x2fe3;
memory "eeprom"
size = 0x400;
@@ -13220,6 +13229,7 @@ part parent ".xmega"
id = "x32a4u";
desc = "ATxmega32A4U";
signature = 0x1e 0x95 0x41;
usbpid = 0x2fe4;
memory "eeprom"
size = 0x400;
@@ -13308,6 +13318,7 @@ part parent ".xmega"
id = "x64a4u";
desc = "ATxmega64A4U";
signature = 0x1e 0x96 0x46;
usbpid = 0x2fe5;
memory "eeprom"
size = 0x800;
@@ -13360,6 +13371,7 @@ part parent "x64a4u"
id = "x64c3";
desc = "ATxmega64C3";
signature = 0x1e 0x96 0x49;
usbpid = 0x2fd6;
;
#------------------------------------------------------------
@@ -13406,6 +13418,7 @@ part parent "x64a1"
id = "x64a1u";
desc = "ATxmega64A1U";
signature = 0x1e 0x96 0x4e;
usbpid = 0x2fe8;
;
#------------------------------------------------------------
@@ -13426,6 +13439,7 @@ part parent "x64a1"
id = "x64a3u";
desc = "ATxmega64A3U";
signature = 0x1e 0x96 0x42;
usbpid = 0x2fe5;
;
#------------------------------------------------------------
@@ -13446,6 +13460,7 @@ part parent "x64a1"
id = "x64b1";
desc = "ATxmega64B1";
signature = 0x1e 0x96 0x52;
usbpid = 0x2fe1;
;
#------------------------------------------------------------
@@ -13456,6 +13471,7 @@ part parent "x64a1"
id = "x64b3";
desc = "ATxmega64B3";
signature = 0x1e 0x96 0x51;
usbpid = 0x2fdf;
;
#------------------------------------------------------------
@@ -13466,6 +13482,7 @@ part parent ".xmega"
id = "x128c3";
desc = "ATxmega128C3";
signature = 0x1e 0x97 0x52;
usbpid = 0x2fd7;
memory "eeprom"
size = 0x800;
@@ -13564,6 +13581,7 @@ part parent "x128a1"
id = "x128a1u";
desc = "ATxmega128A1U";
signature = 0x1e 0x97 0x4c;
usbpid = 0x2fed;
;
#------------------------------------------------------------
@@ -13584,6 +13602,7 @@ part parent "x128a1"
id = "x128a3u";
desc = "ATxmega128A3U";
signature = 0x1e 0x97 0x42;
usbpid = 0x2fe6;
;
#------------------------------------------------------------
@@ -13652,6 +13671,7 @@ part parent ".xmega"
id = "x128a4u";
desc = "ATxmega128A4U";
signature = 0x1e 0x97 0x46;
usbpid = 0x2fde;
memory "eeprom"
size = 0x800;
@@ -13704,6 +13724,7 @@ part parent ".xmega"
id = "x128b1";
desc = "ATxmega128B1";
signature = 0x1e 0x97 0x4d;
usbpid = 0x2fea;
has_jtag = yes;
memory "eeprom"
@@ -13762,6 +13783,7 @@ part parent "x128b1"
id = "x128b3";
desc = "ATxmega128B3";
signature = 0x1e 0x97 0x4b;
usbpid = 0x2fe0;
;
#------------------------------------------------------------
@@ -13772,6 +13794,7 @@ part parent ".xmega"
id = "x192c3";
desc = "ATxmega192C3";
signature = 0x1e 0x97 0x51;
# usbpid = 0x2f??;
memory "eeprom"
size = 0x800;
@@ -13860,6 +13883,7 @@ part parent "x192a1"
id = "x192a3u";
desc = "ATxmega192A3U";
signature = 0x1e 0x97 0x44;
usbpid = 0x2fe7;
;
#------------------------------------------------------------
@@ -13870,6 +13894,7 @@ part parent ".xmega"
id = "x256c3";
desc = "ATxmega256C3";
signature = 0x1e 0x98 0x46;
usbpid = 0x2fda;
memory "eeprom"
size = 0x1000;
@@ -13958,6 +13983,7 @@ part parent "x256a1"
id = "x256a3u";
desc = "ATxmega256A3U";
signature = 0x1e 0x98 0x42;
usbpid = 0x2fec;
;
#------------------------------------------------------------
@@ -13978,6 +14004,7 @@ part parent "x256a1"
id = "x256a3bu";
desc = "ATxmega256A3BU";
signature = 0x1e 0x98 0x43;
usbpid = 0x2fe2;
;
#------------------------------------------------------------
@@ -13988,6 +14015,7 @@ part parent ".xmega"
id = "x384c3";
desc = "ATxmega384C3";
signature = 0x1e 0x98 0x45;
usbpid = 0x2fdb;
memory "eeprom"
size = 0x1000;