2343e419d3
bug #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
258caa132f
bug #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
ee8a3b1f4d
* avrdude.conf.in (ATxmega16D4, ATxmega32D4, ATxmega64D4, ATxmega128D4): New devices. As Xmega D doesn't feature a fuse0 memory cell, move that one out from the generic .xmega part into the individual Xmega A parts.
joerg_wunsch
2012-04-20 11:03:51 +00:00
973e615dbe
* avrdude.conf.in (ATxmega16D4, ATxmega32D4, ATxmega64D4, ATxmega128D4): New devices. As Xmega D doesn't feature a fuse0 memory cell, move that one out from the generic .xmega part into the individual Xmega A parts.
Joerg Wunsch
2012-04-20 11:03:51 +00:00
bc4a31e7c3
* avrdude.conf.in (ATxmega16D4, ATxmega32D4, ATxmega64D4, ATxmega128D4): New devices. As Xmega D doesn't feature a fuse0 memory cell, move that one out from the generic .xmega part into the individual Xmega A parts.
Joerg Wunsch
2012-04-20 11:03:51 +00:00
f5318109f0
bug #29019: pagel/bs2 warning when uploading using stk500 to xmega * stk500.c (stk500_initialize): Insert dummy values for PAGEL and BS2 if they are not present in the config file, in order to be able to proceed with the stk500_set_extended_parms() anyway.
joerg_wunsch
2012-04-19 13:59:09 +00:00
269bb7e2a4
bug #29019: pagel/bs2 warning when uploading using stk500 to xmega * stk500.c (stk500_initialize): Insert dummy values for PAGEL and BS2 if they are not present in the config file, in order to be able to proceed with the stk500_set_extended_parms() anyway.
Joerg Wunsch
2012-04-19 13:59:09 +00:00
229c4d9237
bug #29019: pagel/bs2 warning when uploading using stk500 to xmega * stk500.c (stk500_initialize): Insert dummy values for PAGEL and BS2 if they are not present in the config file, in order to be able to proceed with the stk500_set_extended_parms() anyway.
Joerg Wunsch
2012-04-19 13:59:09 +00:00
67060801c2
* stk500v2_private.h (struct pdata): add boot_start * stk500v2.c: For the "flash" pseudo-memory of Xmega devices, distinguish addresses between "application" and "boot" area.
joerg_wunsch
2012-04-19 13:32:34 +00:00
f4db29d983
* stk500v2_private.h (struct pdata): add boot_start * stk500v2.c: For the "flash" pseudo-memory of Xmega devices, distinguish addresses between "application" and "boot" area.
Joerg Wunsch
2012-04-19 13:32:34 +00:00
c215c7c574
* stk500v2_private.h (struct pdata): add boot_start * stk500v2.c: For the "flash" pseudo-memory of Xmega devices, distinguish addresses between "application" and "boot" area.
Joerg Wunsch
2012-04-19 13:32:34 +00:00
9704aaeb74
* fileio.c (elf2b): When checking the bounds of the current program header segment, subtract `low' from ph[n].p_paddr in order to correct the magic section offsets for the AVR's non-flash memory regions.
joerg_wunsch
2012-04-18 16:00:21 +00:00
c1a5d32c87
* fileio.c (elf2b): When checking the bounds of the current program header segment, subtract `low' from ph[n].p_paddr in order to correct the magic section offsets for the AVR's non-flash memory regions.
Joerg Wunsch
2012-04-18 16:00:21 +00:00
3d7d68054f
* fileio.c (elf2b): When checking the bounds of the current program header segment, subtract `low' from ph[n].p_paddr in order to correct the magic section offsets for the AVR's non-flash memory regions.
Joerg Wunsch
2012-04-18 16:00:21 +00:00
9f0aeb90e2
* fileio.c (elf_get_scn): Rather than trying to just match whether any given section maps straight to a program header segment, use a more sophisticated decision that matches any section as long as it fits into the segment. This is needed for situations where the program header segment spans a larger area than the section data provided. (This can e.g. happen in an ELF file that contains no data at address 0, like a bootloader only.)
joerg_wunsch
2012-04-18 15:47:57 +00:00
f8e99df355
* fileio.c (elf_get_scn): Rather than trying to just match whether any given section maps straight to a program header segment, use a more sophisticated decision that matches any section as long as it fits into the segment. This is needed for situations where the program header segment spans a larger area than the section data provided. (This can e.g. happen in an ELF file that contains no data at address 0, like a bootloader only.)
Joerg Wunsch
2012-04-18 15:47:57 +00:00
39cdc50871
* fileio.c (elf_get_scn): Rather than trying to just match whether any given section maps straight to a program header segment, use a more sophisticated decision that matches any section as long as it fits into the segment. This is needed for situations where the program header segment spans a larger area than the section data provided. (This can e.g. happen in an ELF file that contains no data at address 0, like a bootloader only.)
Joerg Wunsch
2012-04-18 15:47:57 +00:00
b62408923b
bug #28744: Can't load bootloader to xmega128a1 (part 2, fix for firmware >= V7.x) * jtagmkII.c: Add firmware-version dependent handling of Xmega parameters. V7.x firmware expects the NVM offsets being specified through the Xmega parameters command, but left out as part of the memory address itself. * jtagmkII_private.h: Add CMND_SET_XMEGA_PARAMS, and struct xmega_device_desc. * config_gram.y: Add mcu_base keyword. * avrpart.h: (Dito.) * lexer.l: (Dito.) * avrdude.conf.in (.xmega): add mcu_base, and data memory segment.
joerg_wunsch
2012-04-13 15:25:41 +00:00
3a4b48b583
bug #28744: Can't load bootloader to xmega128a1 (part 2, fix for firmware >= V7.x) * jtagmkII.c: Add firmware-version dependent handling of Xmega parameters. V7.x firmware expects the NVM offsets being specified through the Xmega parameters command, but left out as part of the memory address itself. * jtagmkII_private.h: Add CMND_SET_XMEGA_PARAMS, and struct xmega_device_desc. * config_gram.y: Add mcu_base keyword. * avrpart.h: (Dito.) * lexer.l: (Dito.) * avrdude.conf.in (.xmega): add mcu_base, and data memory segment.
Joerg Wunsch
2012-04-13 15:25:41 +00:00
841f1bdac6
bug #28744: Can't load bootloader to xmega128a1 (part 2, fix for firmware >= V7.x) * jtagmkII.c: Add firmware-version dependent handling of Xmega parameters. V7.x firmware expects the NVM offsets being specified through the Xmega parameters command, but left out as part of the memory address itself. * jtagmkII_private.h: Add CMND_SET_XMEGA_PARAMS, and struct xmega_device_desc. * config_gram.y: Add mcu_base keyword. * avrpart.h: (Dito.) * lexer.l: (Dito.) * avrdude.conf.in (.xmega): add mcu_base, and data memory segment.
Joerg Wunsch
2012-04-13 15:25:41 +00:00
ab52c9e972
bug #28744: Can't load bootloader to xmega128a1 (part 1, fix for firmware < V7.x) * jtagmkII.c: When going to write to the boot section of flash, use MTYPE_BOOT_FLASH rather than MTYPE_FLASH * jtagmkII_private.h: add MTYPE_BOOT_FLASH constant
joerg_wunsch
2012-03-30 16:19:13 +00:00
df6f97d78c
bug #28744: Can't load bootloader to xmega128a1 (part 1, fix for firmware < V7.x) * jtagmkII.c: When going to write to the boot section of flash, use MTYPE_BOOT_FLASH rather than MTYPE_FLASH * jtagmkII_private.h: add MTYPE_BOOT_FLASH constant
Joerg Wunsch
2012-03-30 16:19:13 +00:00
f9c8307273
bug #28744: Can't load bootloader to xmega128a1 (part 1, fix for firmware < V7.x) * jtagmkII.c: When going to write to the boot section of flash, use MTYPE_BOOT_FLASH rather than MTYPE_FLASH * jtagmkII_private.h: add MTYPE_BOOT_FLASH constant
Joerg Wunsch
2012-03-30 16:19:13 +00:00
032704bd95
Sort commands, response codes and events into numerical order.
joerg_wunsch
2012-03-30 14:03:38 +00:00
8074c2539f
Sort commands, response codes and events into numerical order.
Joerg Wunsch
2012-03-30 14:03:38 +00:00
7bf57779e0
Sort commands, response codes and events into numerical order.
Joerg Wunsch
2012-03-30 14:03:38 +00:00
069fb58779
bug #30451: Accessing some Xmega memory sections gives not supported error * stk500v2.c: Handle all Xmega memory sections (except "prodsig" which is not documented in AVR079) * fileio.c: Treat the "boot", "application", and "apptable" regions (which are actually subregions of "flash") all as being flash, i.e. suppress trailing 0xFF bytes when reading them * avr.c: (Dito.)
joerg_wunsch
2012-03-29 14:32:18 +00:00
0025747234
bug #30451: Accessing some Xmega memory sections gives not supported error * stk500v2.c: Handle all Xmega memory sections (except "prodsig" which is not documented in AVR079) * fileio.c: Treat the "boot", "application", and "apptable" regions (which are actually subregions of "flash") all as being flash, i.e. suppress trailing 0xFF bytes when reading them * avr.c: (Dito.)
Joerg Wunsch
2012-03-29 14:32:18 +00:00
566adf1e2d
bug #30451: Accessing some Xmega memory sections gives not supported error * stk500v2.c: Handle all Xmega memory sections (except "prodsig" which is not documented in AVR079) * fileio.c: Treat the "boot", "application", and "apptable" regions (which are actually subregions of "flash") all as being flash, i.e. suppress trailing 0xFF bytes when reading them * avr.c: (Dito.)
Joerg Wunsch
2012-03-29 14:32:18 +00:00
0d502e5e40
Shesh. The previous commit was a little premature. Drag the "GO" code in again, but only activate it when programming an Xmega device through PDI.
joerg_wunsch
2012-03-20 14:42:20 +00:00
d3a655ae58
Shesh. The previous commit was a little premature. Drag the "GO" code in again, but only activate it when programming an Xmega device through PDI.
Joerg Wunsch
2012-03-20 14:42:20 +00:00
6f5273657a
Shesh. The previous commit was a little premature. Drag the "GO" code in again, but only activate it when programming an Xmega device through PDI.
Joerg Wunsch
2012-03-20 14:42:20 +00:00
33a7e91b0e
* jtagmkII.c (jtagmkII_close): The GO command before signing off turned out to do more harm than good; on the Xmega, it caused exactly the opposite reaction, the CPU stopped. Even without it, after the RESET command, the target is running already. So, drop the GO.
joerg_wunsch
2012-03-20 14:21:33 +00:00
229b7cd075
* jtagmkII.c (jtagmkII_close): The GO command before signing off turned out to do more harm than good; on the Xmega, it caused exactly the opposite reaction, the CPU stopped. Even without it, after the RESET command, the target is running already. So, drop the GO.
Joerg Wunsch
2012-03-20 14:21:33 +00:00
b30793d6fa
* jtagmkII.c (jtagmkII_close): The GO command before signing off turned out to do more harm than good; on the Xmega, it caused exactly the opposite reaction, the CPU stopped. Even without it, after the RESET command, the target is running already. So, drop the GO.
Joerg Wunsch
2012-03-20 14:21:33 +00:00
7c585f1b2d
Print a configuration summary at the end of the configure run.
joerg_wunsch
2012-03-20 14:13:18 +00:00
19b0f84db1
Print a configuration summary at the end of the configure run.
Joerg Wunsch
2012-03-20 14:13:18 +00:00
71e9429f1a
Print a configuration summary at the end of the configure run.
Joerg Wunsch
2012-03-20 14:13:18 +00:00
00aad29d96
patch #7718: Merge global data of avrftdi in a private data structure * avrftdi.[ch]: moved global data into private data structure, moved private defines from header file into source file
rliebscher
2012-02-11 19:55:22 +00:00
165d526d98
patch #7718: Merge global data of avrftdi in a private data structure * avrftdi.[ch]: moved global data into private data structure, moved private defines from header file into source file
Rene Liebscher
2012-02-11 19:55:22 +00:00
2caa743379
patch #7718: Merge global data of avrftdi in a private data structure * avrftdi.[ch]: moved global data into private data structure, moved private defines from header file into source file
Rene Liebscher
2012-02-11 19:55:22 +00:00
01359e24bb
patch #7720 Bug in EEPROM write * avrftdi.c: fixed wrong buffer address initialization in paged_write
rliebscher
2012-02-06 19:41:36 +00:00
6eb5833d43
patch #7687: Autogenerating programmers and parts lists for docs (generating the programmers lists) * doc/avrdude.texi: Add include of generated table of programmers * doc/Makefile.am: Add generating of table of programmers in programmers.texi
rliebscher
2012-02-03 20:23:32 +00:00
3c374a8b3d
patch #7687: Autogenerating programmers and parts lists for docs (generating the programmers lists) * doc/avrdude.texi: Add include of generated table of programmers * doc/Makefile.am: Add generating of table of programmers in programmers.texi
Rene Liebscher
2012-02-03 20:23:32 +00:00
576c41605c
patch #7687: Autogenerating programmers and parts lists for docs (generating the programmers lists) * doc/avrdude.texi: Add include of generated table of programmers * doc/Makefile.am: Add generating of table of programmers in programmers.texi
Rene Liebscher
2012-02-03 20:23:32 +00:00
5779185677
bug #34768 Proposition: Change the name of the AVR32 devices * avrdude.conf.in: renamed ucr2 to uc3a0512 * avrpart.c: added cast to avoid compiler warning
rliebscher
2012-02-03 20:07:54 +00:00
229abf6f7b
bug #34768 Proposition: Change the name of the AVR32 devices * avrdude.conf.in: renamed ucr2 to uc3a0512 * avrpart.c: added cast to avoid compiler warning
Rene Liebscher
2012-02-03 20:07:54 +00:00
6e88b88505
bug #34768 Proposition: Change the name of the AVR32 devices * avrdude.conf.in: renamed ucr2 to uc3a0512 * avrpart.c: added cast to avoid compiler warning
Rene Liebscher
2012-02-03 20:07:54 +00:00
3fa6e9f8ca
Mention we can read ELF files now.
joerg_wunsch
2012-02-03 08:35:59 +00:00
7fa0f7146a
Mention we can read ELF files now.
Joerg Wunsch
2012-02-03 08:35:59 +00:00
1a97b41cb8
Mention we can read ELF files now.
Joerg Wunsch
2012-02-03 08:35:59 +00:00
fbb0effb7d
Fix a copy'n-paste-o.
joerg_wunsch
2012-02-03 08:34:39 +00:00
a74cd4d03d
Fix a copy'n-paste-o.
Joerg Wunsch
2012-02-03 08:34:39 +00:00
6dc51ef1be
Fix a copy'n-paste-o.
Joerg Wunsch
2012-02-03 08:34:39 +00:00
475b5ce3c4
Move par_desc[] to end of file, outside the #if HAVE_PARPORT.
joerg_wunsch
2012-02-03 07:21:39 +00:00
c4c6734f16
Move par_desc[] to end of file, outside the #if HAVE_PARPORT.
Joerg Wunsch
2012-02-03 07:21:39 +00:00
2e0129c1f1
Move par_desc[] to end of file, outside the #if HAVE_PARPORT.
Joerg Wunsch
2012-02-03 07:21:39 +00:00
8131767a34
Sort new filename entries into alphabetical order.
joerg_wunsch
2012-02-02 19:29:34 +00:00
bc83547bf1
Sort new filename entries into alphabetical order.
Joerg Wunsch
2012-02-02 19:29:34 +00:00
8304b149a3
Sort new filename entries into alphabetical order.
Joerg Wunsch
2012-02-02 19:29:34 +00:00
f5e8183f30
Implement ELF file reading (finally). Requires libelf(3) to be present on the host system.
joerg_wunsch
2012-02-02 16:52:45 +00:00
86ad524ea2
Implement ELF file reading (finally). Requires libelf(3) to be present on the host system.
Joerg Wunsch
2012-02-02 16:52:45 +00:00
ab116c9ef7
Implement ELF file reading (finally). Requires libelf(3) to be present on the host system.
Joerg Wunsch
2012-02-02 16:52:45 +00:00
ee3483eadf
bug #30559 Ft232 bit-bang support * ft245r.[ch]: new programmer type implementation * configure.ac: add pthread as link library * avrdude.conf.in: added some new programmers * Makefile.am: added new source files to compile * pindefs.h: change PIN_MASK, PIN_INVERSE to highest bit of unsigned int * pgm.[ch]: added generic function to print pin assignments (taken from par.c) * par.c: moved pin assigment print function to pgm.c
rliebscher
2012-02-01 22:26:58 +00:00
7240bbec2f
bug #30559 Ft232 bit-bang support * ft245r.[ch]: new programmer type implementation * configure.ac: add pthread as link library * avrdude.conf.in: added some new programmers * Makefile.am: added new source files to compile * pindefs.h: change PIN_MASK, PIN_INVERSE to highest bit of unsigned int * pgm.[ch]: added generic function to print pin assignments (taken from par.c) * par.c: moved pin assigment print function to pgm.c
Rene Liebscher
2012-02-01 22:26:58 +00:00
9f8d07859b
bug #30559 Ft232 bit-bang support * ft245r.[ch]: new programmer type implementation * configure.ac: add pthread as link library * avrdude.conf.in: added some new programmers * Makefile.am: added new source files to compile * pindefs.h: change PIN_MASK, PIN_INVERSE to highest bit of unsigned int * pgm.[ch]: added generic function to print pin assignments (taken from par.c) * par.c: moved pin assigment print function to pgm.c
Rene Liebscher
2012-02-01 22:26:58 +00:00
ff577a6fed
* config_gram.y, lexer.l: removed unused ID/TKN_ID definitions * config.[hc]: removed unused function id(), use value.type to select values
rliebscher
2012-01-31 19:28:01 +00:00
058a3b9dab
* config_gram.y, lexer.l: removed unused ID/TKN_ID definitions * config.[hc]: removed unused function id(), use value.type to select values
Rene Liebscher
2012-01-31 19:28:01 +00:00
78caacd7cc
* config_gram.y, lexer.l: removed unused ID/TKN_ID definitions * config.[hc]: removed unused function id(), use value.type to select values
Rene Liebscher
2012-01-31 19:28:01 +00:00
2f9a27cd3f
patch #7437 modifications to Bus Pirate module patch #7686 Updating buspirate ascii mode to current firmware, use AUX as clock generator, and setting of serial receive timeout * buspirate.c: added paged_write, changed binary mode setup/detection, added clock output on AUX pin * avrdude.1: updated documentation * doc/avrdude.texi: updated documentation
rliebscher
2012-01-31 19:01:00 +00:00
fa5e2bb849
patch #7437 modifications to Bus Pirate module patch #7686 Updating buspirate ascii mode to current firmware, use AUX as clock generator, and setting of serial receive timeout * buspirate.c: added paged_write, changed binary mode setup/detection, added clock output on AUX pin * avrdude.1: updated documentation * doc/avrdude.texi: updated documentation
Rene Liebscher
2012-01-31 19:01:00 +00:00
c535035a57
patch #7437 modifications to Bus Pirate module patch #7686 Updating buspirate ascii mode to current firmware, use AUX as clock generator, and setting of serial receive timeout * buspirate.c: added paged_write, changed binary mode setup/detection, added clock output on AUX pin * avrdude.1: updated documentation * doc/avrdude.texi: updated documentation
Rene Liebscher
2012-01-31 19:01:00 +00:00
751b96182c
Parser does not need to know all programmer types now, new programmers will update only the table in pgm_type.c. * config_gram.y, lexer.l: removed programmer type keywords, use now locate_programmer_type() function * pgm_type.[ch]: added new files for table of programmer types * main.c: allow list of programmer types by -c ?type * avrdude.conf.in: changed all type keywords to quoted strings * doc/avrdude.texi: changed description of type definition, list of valid types is now included from generated file * doc/Makefile.am: generate list of programmer types for doc * all programmers [hc]: add xxx_desc string for description of programmer
rliebscher
2012-01-31 17:03:43 +00:00
c1095de822
Parser does not need to know all programmer types now, new programmers will update only the table in pgm_type.c. * config_gram.y, lexer.l: removed programmer type keywords, use now locate_programmer_type() function * pgm_type.[ch]: added new files for table of programmer types * main.c: allow list of programmer types by -c ?type * avrdude.conf.in: changed all type keywords to quoted strings * doc/avrdude.texi: changed description of type definition, list of valid types is now included from generated file * doc/Makefile.am: generate list of programmer types for doc * all programmers [hc]: add xxx_desc string for description of programmer
Rene Liebscher
2012-01-31 17:03:43 +00:00