4e0801803f* jtag3.c (jtag3_read_byte, jtag3_write_byte): Remove the m->offset from addr, JTAGICE3 doesn't need it anymore (similar to JTAGICEmkII with 7+ firmware) * jtag3.c (jtag3_read_byte): Allow for full-page reads of EEPROM also for Xmega and debugWIRE, allow for signature read in debugWIRE
joerg_wunsch
2012-11-30 12:51:07 +00:00
c5df7c5284* jtag3.c (jtag3_read_byte, jtag3_write_byte): Remove the m->offset from addr, JTAGICE3 doesn't need it anymore (similar to JTAGICEmkII with 7+ firmware) * jtag3.c (jtag3_read_byte): Allow for full-page reads of EEPROM also for Xmega and debugWIRE, allow for signature read in debugWIRE
Joerg Wunsch
2012-11-30 12:51:07 +00:00
6b815d76c3* jtag3.c (jtag3_read_byte, jtag3_write_byte): Remove the m->offset from addr, JTAGICE3 doesn't need it anymore (similar to JTAGICEmkII with 7+ firmware) * jtag3.c (jtag3_read_byte): Allow for full-page reads of EEPROM also for Xmega and debugWIRE, allow for signature read in debugWIRE
Joerg Wunsch
2012-11-30 12:51:07 +00:00
d8ad0fdb28* jtag3_private.h: Add two more error detail codes I stumbled across during development * jtag3.c: (Dito.) * usb_libusb.c: Reduce timeouts from 100 to 10 s, still long enough, but not getting cold feet when something goes wrong.
joerg_wunsch
2012-11-30 12:36:00 +00:00
bc23715902* jtag3_private.h: Add two more error detail codes I stumbled across during development * jtag3.c: (Dito.) * usb_libusb.c: Reduce timeouts from 100 to 10 s, still long enough, but not getting cold feet when something goes wrong.
Joerg Wunsch
2012-11-30 12:36:00 +00:00
b3ff415b9e* jtag3_private.h: Add two more error detail codes I stumbled across during development * jtag3.c: (Dito.) * usb_libusb.c: Reduce timeouts from 100 to 10 s, still long enough, but not getting cold feet when something goes wrong.
Joerg Wunsch
2012-11-30 12:36:00 +00:00
fa86937e91* jtag3.c: Handle events returned by the ICE * usbdevs.h: Add defines that mark an event in return from usb_recv_frame(). * usb_libusb.c: (Dito.)
joerg_wunsch
2012-11-29 21:43:54 +00:00
1948e4ff3f* jtag3.c: Handle events returned by the ICE * usbdevs.h: Add defines that mark an event in return from usb_recv_frame(). * usb_libusb.c: (Dito.)
Joerg Wunsch
2012-11-29 21:43:54 +00:00
63989b1d3c* jtag3.c: Handle events returned by the ICE * usbdevs.h: Add defines that mark an event in return from usb_recv_frame(). * usb_libusb.c: (Dito.)
Joerg Wunsch
2012-11-29 21:43:54 +00:00
180c000565* avrdude.conf.in: Remove "has_jtag" from Xmega A4 and D4 devices, as they only have PDI.
joerg_wunsch
2012-11-29 14:23:18 +00:00
457a35eb73* avrdude.conf.in: Remove "has_jtag" from Xmega A4 and D4 devices, as they only have PDI.
Joerg Wunsch
2012-11-29 14:23:18 +00:00
30ef6e5c95* avrdude.conf.in: Remove "has_jtag" from Xmega A4 and D4 devices, as they only have PDI.
Joerg Wunsch
2012-11-29 14:23:18 +00:00
a1349681e1bug #37265: wrong page sizes for XMega64xx in avrdude.conf * avrdude.conf.in: Fix page sizes for all Xmega devices, by cross-checking against Atmel Studio's device XML files
joerg_wunsch
2012-11-29 14:12:41 +00:00
89d6d2d982bug #37265: wrong page sizes for XMega64xx in avrdude.conf * avrdude.conf.in: Fix page sizes for all Xmega devices, by cross-checking against Atmel Studio's device XML files
Joerg Wunsch
2012-11-29 14:12:41 +00:00
ed9ae0b503bug #37265: wrong page sizes for XMega64xx in avrdude.conf * avrdude.conf.in: Fix page sizes for all Xmega devices, by cross-checking against Atmel Studio's device XML files
Joerg Wunsch
2012-11-29 14:12:41 +00:00
8d9a00ddc5* jtag3.c: Fill in the missing pieces for Xmega support (both, PDI and JTAG). * jtagmkII.c (jtagmkII_set_xmega_params): Use "fuse1" rather than "fuse0" memory space to fill in the NVM offset from, as there is no "fuse0" on some Xmega devices.
joerg_wunsch
2012-11-29 13:31:11 +00:00
2abf90726e* jtag3.c: Fill in the missing pieces for Xmega support (both, PDI and JTAG). * jtagmkII.c (jtagmkII_set_xmega_params): Use "fuse1" rather than "fuse0" memory space to fill in the NVM offset from, as there is no "fuse0" on some Xmega devices.
Joerg Wunsch
2012-11-29 13:31:11 +00:00
5d2fc235cc* jtag3.c: Fill in the missing pieces for Xmega support (both, PDI and JTAG). * jtagmkII.c (jtagmkII_set_xmega_params): Use "fuse1" rather than "fuse0" memory space to fill in the NVM offset from, as there is no "fuse0" on some Xmega devices.
Joerg Wunsch
2012-11-29 13:31:11 +00:00
66b46eb591Add device support for the recently released ATmega*RFR2 family.
joerg_wunsch
2012-11-29 09:32:27 +00:00
f884583e40Add device support for the recently released ATmega*RFR2 family.
Joerg Wunsch
2012-11-29 09:32:27 +00:00
3bb345359aAdd device support for the recently released ATmega*RFR2 family.
Joerg Wunsch
2012-11-29 09:32:27 +00:00
ed3033e396First support for Atmel JTAGICE3. Guessed from USB sniffer traces made by Knut Schwichtenberg, and by similarity to JTAGICEmkII.
joerg_wunsch
2012-11-28 22:39:01 +00:00
7a9db49e7cFirst support for Atmel JTAGICE3. Guessed from USB sniffer traces made by Knut Schwichtenberg, and by similarity to JTAGICEmkII.
Joerg Wunsch
2012-11-28 22:39:01 +00:00
6c95ae96b7First support for Atmel JTAGICE3. Guessed from USB sniffer traces made by Knut Schwichtenberg, and by similarity to JTAGICEmkII.
Joerg Wunsch
2012-11-28 22:39:01 +00:00
3fabed6ea5Change all the USB details (endpoint numbers, max transfer size etc.) to a per-programmer adjustable value.
joerg_wunsch
2012-11-26 16:24:56 +00:00
1af820c0b9Change all the USB details (endpoint numbers, max transfer size etc.) to a per-programmer adjustable value.
Joerg Wunsch
2012-11-26 16:24:56 +00:00
9924b5c06eChange all the USB details (endpoint numbers, max transfer size etc.) to a per-programmer adjustable value.
Joerg Wunsch
2012-11-26 16:24:56 +00:00
8fdf4d4071Replace outdated FSF postal address by a reference to the GPL info on their website.
joerg_wunsch
2012-11-20 14:03:50 +00:00
147137a218Replace outdated FSF postal address by a reference to the GPL info on their website.
Joerg Wunsch
2012-11-20 14:03:50 +00:00
39ac451895Replace outdated FSF postal address by a reference to the GPL info on their website.
Joerg Wunsch
2012-11-20 14:03:50 +00:00
52e3323b6ebug #35186 inverting pins with "~" doesn't work for pin lists (i.e. vcc) bug #37727 Add support for LM3S811 dev board as a programmer * lexer.l,config_gram.y: accepting inverted pins at pin lists syntax: ~num or ~(num,num,...) * par.c: par_set_many_bits is now usable with inverted pins * avrftdi.c: fixed wrong index in ftdi_pin_name * avrdude.conf.in: added programmer lm3s811
rliebscher
2012-11-13 21:34:02 +00:00
3823e9c405bug #35186 inverting pins with "~" doesn't work for pin lists (i.e. vcc) bug #37727 Add support for LM3S811 dev board as a programmer * lexer.l,config_gram.y: accepting inverted pins at pin lists syntax: ~num or ~(num,num,...) * par.c: par_set_many_bits is now usable with inverted pins * avrftdi.c: fixed wrong index in ftdi_pin_name * avrdude.conf.in: added programmer lm3s811
Rene Liebscher
2012-11-13 21:34:02 +00:00
4b6b934c91bug #35186 inverting pins with "~" doesn't work for pin lists (i.e. vcc) bug #37727 Add support for LM3S811 dev board as a programmer * lexer.l,config_gram.y: accepting inverted pins at pin lists syntax: ~num or ~(num,num,...) * par.c: par_set_many_bits is now usable with inverted pins * avrftdi.c: fixed wrong index in ftdi_pin_name * avrdude.conf.in: added programmer lm3s811
Rene Liebscher
2012-11-13 21:34:02 +00:00
8af36ef451* lexer.l,config_gram.y,config.[hc]: changed reading of numbers to integers except of default_bitclock which is the only real number. No signs are allowed as negative values do not make sense for current config values. * buspirate.c: include own header file buspirate.h * doc/.cvsignore: add programmers.texi to ignore list
rliebscher
2012-11-04 17:18:59 +00:00
673f43f37d* lexer.l,config_gram.y,config.[hc]: changed reading of numbers to integers except of default_bitclock which is the only real number. No signs are allowed as negative values do not make sense for current config values. * buspirate.c: include own header file buspirate.h * doc/.cvsignore: add programmers.texi to ignore list
Rene Liebscher
2012-11-04 17:18:59 +00:00
fe204c55b8* lexer.l,config_gram.y,config.[hc]: changed reading of numbers to integers except of default_bitclock which is the only real number. No signs are allowed as negative values do not make sense for current config values. * buspirate.c: include own header file buspirate.h * doc/.cvsignore: add programmers.texi to ignore list
Rene Liebscher
2012-11-04 17:18:59 +00:00
c03387fcb1Add EXTRA_DIST, replace $(srcdir) by $(builddir) for generated files, so "make distcheck" works again.
joerg_wunsch
2012-09-06 15:33:09 +00:00
dd3ce5f0e1Add EXTRA_DIST, replace $(srcdir) by $(builddir) for generated files, so "make distcheck" works again.
Joerg Wunsch
2012-09-06 15:33:09 +00:00
498981c109Add EXTRA_DIST, replace $(srcdir) by $(builddir) for generated files, so "make distcheck" works again.
Joerg Wunsch
2012-09-06 15:33:09 +00:00
3e93f3d037fixed doc/Makefile.am for use with BSD make
rliebscher
2012-09-05 20:52:40 +00:00
4a33bc5c82fixed doc/Makefile.am for use with BSD make
Rene Liebscher
2012-09-05 20:52:40 +00:00
e2c61ee7b0fixed doc/Makefile.am for use with BSD make
Rene Liebscher
2012-09-05 20:52:40 +00:00
ae88486420patch #7184 Support for PICKit2 programmer * Makefile.am: add pickit2 files * pickit2.[ch]: new programmer implementation * pgm_type.c: add pickit to list * avrdude.1: documentation for pickit2 * doc/avrdude.texi: documentation for pickit2 * avrdude.conf.in: add pickit2 programmer entry
rliebscher
2012-08-15 18:34:53 +00:00
b704e9e89fpatch #7184 Support for PICKit2 programmer * Makefile.am: add pickit2 files * pickit2.[ch]: new programmer implementation * pgm_type.c: add pickit to list * avrdude.1: documentation for pickit2 * doc/avrdude.texi: documentation for pickit2 * avrdude.conf.in: add pickit2 programmer entry
Rene Liebscher
2012-08-15 18:34:53 +00:00
4f362e6424patch #7184 Support for PICKit2 programmer * Makefile.am: add pickit2 files * pickit2.[ch]: new programmer implementation * pgm_type.c: add pickit to list * avrdude.1: documentation for pickit2 * doc/avrdude.texi: documentation for pickit2 * avrdude.conf.in: add pickit2 programmer entry
Rene Liebscher
2012-08-15 18:34:53 +00:00
911791686cbug #30559 Ft232 bit-bang support, see comment #30 * ft245r.c: added semaphore workaround for MacOS X, added pthread_testcancel in reader thread
rliebscher
2012-08-15 17:31:11 +00:00
926269f39fbug #30559 Ft232 bit-bang support, see comment #30 * ft245r.c: added semaphore workaround for MacOS X, added pthread_testcancel in reader thread
Rene Liebscher
2012-08-15 17:31:11 +00:00
14ba5b7666bug #30559 Ft232 bit-bang support, see comment #30 * ft245r.c: added semaphore workaround for MacOS X, added pthread_testcancel in reader thread
Rene Liebscher
2012-08-15 17:31:11 +00:00
787a623715Fixes 'label at end of compound statement' error introdcued in r1099
hweisbach
2012-08-13 19:31:38 +00:00
15ab375553Fixes 'label at end of compound statement' error introdcued in r1099
Hannes Weisbach
2012-08-13 19:31:38 +00:00
0cb3966136Fixes 'label at end of compound statement' error introdcued in r1099
Hannes Weisbach
2012-08-13 19:31:38 +00:00
7a9f682332Fixes pin_limit error in avrftdic.
hweisbach
2012-08-13 19:03:41 +00:00
cee2c0cd39Fixes pin_limit error in avrftdic.
Hannes Weisbach
2012-08-13 19:03:41 +00:00
f3e5e5b8d5Fixes pin_limit error in avrftdic.
Hannes Weisbach
2012-08-13 19:03:41 +00:00
086b4c329eAdds bugfixes and maintenance for avrftdi
hweisbach
2012-07-29 12:29:39 +00:00
bcd3ba87f3Adds bugfixes and maintenance for avrftdi
Hannes Weisbach
2012-07-29 12:29:39 +00:00
5aaecc6ae7Adds bugfixes and maintenance for avrftdi
Hannes Weisbach
2012-07-29 12:29:39 +00:00
08639363faAdds ChangeLog entry for Rev 1095
hweisbach
2012-07-25 16:36:17 +00:00
777c9117c8Adds ChangeLog entry for Rev 1095
Hannes Weisbach
2012-07-25 16:36:17 +00:00
23326f0ebeAdds ChangeLog entry for Rev 1095
Hannes Weisbach
2012-07-25 16:36:17 +00:00
60efc31839Return MTYPE_FLASH from jtagmkII_memtype() rather than MTYPE_SPM for non-Xmega flash regions.
joerg_wunsch
2012-07-25 14:56:39 +00:00
be820748f2Return MTYPE_FLASH from jtagmkII_memtype() rather than MTYPE_SPM for non-Xmega flash regions.
Joerg Wunsch
2012-07-25 14:56:39 +00:00
a206c7c2dfReturn MTYPE_FLASH from jtagmkII_memtype() rather than MTYPE_SPM for non-Xmega flash regions.
Joerg Wunsch
2012-07-25 14:56:39 +00:00
534f635763Adds avr_pin_name()
Hannes Weisbach
2012-07-20 20:05:30 +00:00
f9a24c3427Adds avr_pin_name()
Hannes Weisbach
2012-07-20 20:05:30 +00:00
76f5411741Add ChangeLogs for 2010 and 2011 to distribution.
joerg_wunsch
2012-07-18 13:59:02 +00:00
5379f36061Add ChangeLogs for 2010 and 2011 to distribution.
Joerg Wunsch
2012-07-18 13:59:02 +00:00
0440263cebAdd ChangeLogs for 2010 and 2011 to distribution.
Joerg Wunsch
2012-07-18 13:59:02 +00:00
f0f3c5cba3Test for libelf.h in subdirectory libelf, too, and inlude it from there if test was positive.
joerg_wunsch
2012-07-18 12:42:47 +00:00
a8b5742512Test for libelf.h in subdirectory libelf, too, and inlude it from there if test was positive.
Joerg Wunsch
2012-07-18 12:42:47 +00:00
6d200b83e1Test for libelf.h in subdirectory libelf, too, and inlude it from there if test was positive.
Joerg Wunsch
2012-07-18 12:42:47 +00:00
967c691e47Submitted by Rene Liebscher:
joerg_wunsch
2012-06-13 20:45:22 +00:00
d486a0a1cdSubmitted by Rene Liebscher:
Joerg Wunsch
2012-06-13 20:45:22 +00:00
5a4c46b6a8Submitted by Rene Liebscher:
Joerg Wunsch
2012-06-13 20:45:22 +00:00
07c102e412* usbtiny.c (usbtiny_paged_load, usbtiny_paged_write): fix breakage introduced by the recent page handling reorg; it used to cause an infinite loop
joerg_wunsch
2012-06-07 14:07:17 +00:00
bde3c841e5* usbtiny.c (usbtiny_paged_load, usbtiny_paged_write): fix breakage introduced by the recent page handling reorg; it used to cause an infinite loop
Joerg Wunsch
2012-06-07 14:07:17 +00:00
688b628018* usbtiny.c (usbtiny_paged_load, usbtiny_paged_write): fix breakage introduced by the recent page handling reorg; it used to cause an infinite loop
Joerg Wunsch
2012-06-07 14:07:17 +00:00
3fbb7642d2Xmega page erase implementation for JTAGICEmkII * jtagmkII.c: Handle flash pages sizes > 256 bytes, implement page_erase() method * avrdude.conf.in: Change flash pagesize for all Xmega devices to 512 bytes * avr.c: Implement auto_erase, using page_erase if available * avr.h: Remove unused parameters from avr_read(), replace unused parameter in avr_write)() by auto_erase * stk500v2.c: Handle flash page sizes > 256 bytes * update.c (do_op): Handle new updateflags parameter * main.c: Implement auto_erase as page_erase if possible * update.h (enum updateflags): New enum * pgm.h (struct programmer_t): Add page_erase method
joerg_wunsch
2012-05-04 10:02:30 +00:00
b9a38193a0Xmega page erase implementation for JTAGICEmkII * jtagmkII.c: Handle flash pages sizes > 256 bytes, implement page_erase() method * avrdude.conf.in: Change flash pagesize for all Xmega devices to 512 bytes * avr.c: Implement auto_erase, using page_erase if available * avr.h: Remove unused parameters from avr_read(), replace unused parameter in avr_write)() by auto_erase * stk500v2.c: Handle flash page sizes > 256 bytes * update.c (do_op): Handle new updateflags parameter * main.c: Implement auto_erase as page_erase if possible * update.h (enum updateflags): New enum * pgm.h (struct programmer_t): Add page_erase method
Joerg Wunsch
2012-05-04 10:02:30 +00:00
1a427f265cXmega page erase implementation for JTAGICEmkII * jtagmkII.c: Handle flash pages sizes > 256 bytes, implement page_erase() method * avrdude.conf.in: Change flash pagesize for all Xmega devices to 512 bytes * avr.c: Implement auto_erase, using page_erase if available * avr.h: Remove unused parameters from avr_read(), replace unused parameter in avr_write)() by auto_erase * stk500v2.c: Handle flash page sizes > 256 bytes * update.c (do_op): Handle new updateflags parameter * main.c: Implement auto_erase as page_erase if possible * update.h (enum updateflags): New enum * pgm.h (struct programmer_t): Add page_erase method
Joerg Wunsch
2012-05-04 10:02:30 +00:00
90e4a54e12Fix for previous fix: add memtype for "flash".
joerg_wunsch
2012-04-26 11:01:19 +00:00
36ca4dce5cFix for previous fix: add memtype for "flash".
Joerg Wunsch
2012-04-26 11:01:19 +00:00
61c41f321dFix for previous fix: add memtype for "flash".
Joerg Wunsch
2012-04-26 11:01:19 +00:00
374cc8f212* jtagmkII.c (jtagmkII_paged_load, jtagmkII_paged_write): fix bug in memory type calculation for Xmega "boot" memory region.
joerg_wunsch
2012-04-26 10:57:09 +00:00
f2f59a2d2e* jtagmkII.c (jtagmkII_paged_load, jtagmkII_paged_write): fix bug in memory type calculation for Xmega "boot" memory region.
Joerg Wunsch
2012-04-26 10:57:09 +00:00
1e9003943e* jtagmkII.c (jtagmkII_paged_load, jtagmkII_paged_write): fix bug in memory type calculation for Xmega "boot" memory region.
Joerg Wunsch
2012-04-26 10:57:09 +00:00
0dd5684041* update.c (parse_op): do not assume default memtype here * main.c: after locating the part information, determine default memtype for all update options that didn't have a memtype specified; this is "application" for Xmega parts, and "flash" for everything else.
joerg_wunsch
2012-04-25 16:32:23 +00:00
c4bcc20e07* update.c (parse_op): do not assume default memtype here * main.c: after locating the part information, determine default memtype for all update options that didn't have a memtype specified; this is "application" for Xmega parts, and "flash" for everything else.
Joerg Wunsch
2012-04-25 16:32:23 +00:00
2616b4663d* update.c (parse_op): do not assume default memtype here * main.c: after locating the part information, determine default memtype for all update options that didn't have a memtype specified; this is "application" for Xmega parts, and "flash" for everything else.
Joerg Wunsch
2012-04-25 16:32:23 +00:00
80dd0439a8* fileio.c: Rework the way ELF file sections are considered: while scanning the program header table, the offsets from a program header entry must never be used directly when checking the bounds of the current AVR memory region. Instead, they must always be checked based on the corresponding section's entry. That way, Xmega devices now properly take into account whether the segment fits into any of the application/apptable/boot memory region.
joerg_wunsch
2012-04-24 15:41:02 +00:00
0bda6f26d1* fileio.c: Rework the way ELF file sections are considered: while scanning the program header table, the offsets from a program header entry must never be used directly when checking the bounds of the current AVR memory region. Instead, they must always be checked based on the corresponding section's entry. That way, Xmega devices now properly take into account whether the segment fits into any of the application/apptable/boot memory region.
Joerg Wunsch
2012-04-24 15:41:02 +00:00
1ee3bad56f* fileio.c: Rework the way ELF file sections are considered: while scanning the program header table, the offsets from a program header entry must never be used directly when checking the bounds of the current AVR memory region. Instead, they must always be checked based on the corresponding section's entry. That way, Xmega devices now properly take into account whether the segment fits into any of the application/apptable/boot memory region.
Joerg Wunsch
2012-04-24 15:41:02 +00:00
98d2f6fff8bug #30756: When setting SUT to 64ms on XMEGA, avrdude doesn't read device signature * main.c: When reading the signature yields 0x000000 or 0xffffff, retry (up to twice) after some progressive delay.
joerg_wunsch
2012-04-20 12:33:15 +00:00