Commit Graph

  • 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 +0000
  • 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 +0000
  • 98d2f6fff8 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 032704bd95 Sort commands, response codes and events into numerical order. joerg_wunsch 2012-03-30 14:03:38 +0000
  • 8074c2539f Sort commands, response codes and events into numerical order. Joerg Wunsch 2012-03-30 14:03:38 +0000
  • 7bf57779e0 Sort commands, response codes and events into numerical order. Joerg Wunsch 2012-03-30 14:03:38 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 85484034bf Add "my" bugs, too. joerg_wunsch 2012-03-28 06:17:44 +0000
  • 3fdeef1f16 Add "my" bugs, too. Joerg Wunsch 2012-03-28 06:17:44 +0000
  • 9b5a44e190 Add "my" bugs, too. Joerg Wunsch 2012-03-28 06:17:44 +0000
  • db63109616 Cosmetics: reformat paragraphs. joerg_wunsch 2012-03-28 06:13:40 +0000
  • c496403bb2 Cosmetics: reformat paragraphs. Joerg Wunsch 2012-03-28 06:13:40 +0000
  • a5af43ae76 Cosmetics: reformat paragraphs. Joerg Wunsch 2012-03-28 06:13:40 +0000
  • 37fb2aaa83 update NEWS file rliebscher 2012-03-27 21:48:11 +0000
  • 3a24273704 update NEWS file Rene Liebscher 2012-03-27 21:48:11 +0000
  • 55ce7983fa update NEWS file Rene Liebscher 2012-03-27 21:48:11 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 7c585f1b2d Print a configuration summary at the end of the configure run. joerg_wunsch 2012-03-20 14:13:18 +0000
  • 19b0f84db1 Print a configuration summary at the end of the configure run. Joerg Wunsch 2012-03-20 14:13:18 +0000
  • 71e9429f1a Print a configuration summary at the end of the configure run. Joerg Wunsch 2012-03-20 14:13:18 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 01359e24bb patch #7720 Bug in EEPROM write * avrftdi.c: fixed wrong buffer address initialization in paged_write rliebscher 2012-02-06 19:41:36 +0000
  • e28f48d296 patch #7720 Bug in EEPROM write * avrftdi.c: fixed wrong buffer address initialization in paged_write Rene Liebscher 2012-02-06 19:41:36 +0000
  • 3ff232b966 patch #7720 Bug in EEPROM write * avrftdi.c: fixed wrong buffer address initialization in paged_write Rene Liebscher 2012-02-06 19:41:36 +0000
  • b5bef35538 bug #30559 Ft232 bit-bang support * ft245r.c: cancel reader thread before exiting program rliebscher 2012-02-05 19:58:59 +0000
  • f92e91d08e bug #30559 Ft232 bit-bang support * ft245r.c: cancel reader thread before exiting program Rene Liebscher 2012-02-05 19:58:59 +0000
  • 4c71539cf1 bug #30559 Ft232 bit-bang support * ft245r.c: cancel reader thread before exiting program Rene Liebscher 2012-02-05 19:58:59 +0000
  • 76dce38725 patch #7717 avrftdi_flash_write is broken * avrftdi.c: fixed wrong buffer address initialization in paged_write bug #35296 Extraneous newlines in output. * main.c: fixed output of newlines at 100% progress rliebscher 2012-02-04 16:43:37 +0000
  • 10c078e7f3 patch #7717 avrftdi_flash_write is broken * avrftdi.c: fixed wrong buffer address initialization in paged_write bug #35296 Extraneous newlines in output. * main.c: fixed output of newlines at 100% progress Rene Liebscher 2012-02-04 16:43:37 +0000
  • f639ccc9a6 patch #7717 avrftdi_flash_write is broken * avrftdi.c: fixed wrong buffer address initialization in paged_write bug #35296 Extraneous newlines in output. * main.c: fixed output of newlines at 100% progress Rene Liebscher 2012-02-04 16:43:37 +0000
  • 61e17bd4f9 patch #7714 Missing stdint.h include in ft245r.c rliebscher 2012-02-03 21:49:45 +0000
  • 583ce458f9 patch #7714 Missing stdint.h include in ft245r.c Rene Liebscher 2012-02-03 21:49:45 +0000
  • 37e0f0e0b1 patch #7714 Missing stdint.h include in ft245r.c Rene Liebscher 2012-02-03 21:49:45 +0000
  • 84fbaaa6b9 patch #7715 FT4232H support * avrdude.conf.in: added programmer 4232h rliebscher 2012-02-03 20:33:04 +0000
  • 6789bc2958 patch #7715 FT4232H support * avrdude.conf.in: added programmer 4232h Rene Liebscher 2012-02-03 20:33:04 +0000
  • 3cfb8bf6e6 patch #7715 FT4232H support * avrdude.conf.in: added programmer 4232h Rene Liebscher 2012-02-03 20:33:04 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 3fa6e9f8ca Mention we can read ELF files now. joerg_wunsch 2012-02-03 08:35:59 +0000
  • 7fa0f7146a Mention we can read ELF files now. Joerg Wunsch 2012-02-03 08:35:59 +0000
  • 1a97b41cb8 Mention we can read ELF files now. Joerg Wunsch 2012-02-03 08:35:59 +0000
  • fbb0effb7d Fix a copy'n-paste-o. joerg_wunsch 2012-02-03 08:34:39 +0000
  • a74cd4d03d Fix a copy'n-paste-o. Joerg Wunsch 2012-02-03 08:34:39 +0000
  • 6dc51ef1be Fix a copy'n-paste-o. Joerg Wunsch 2012-02-03 08:34:39 +0000
  • 475b5ce3c4 Move par_desc[] to end of file, outside the #if HAVE_PARPORT. joerg_wunsch 2012-02-03 07:21:39 +0000
  • c4c6734f16 Move par_desc[] to end of file, outside the #if HAVE_PARPORT. Joerg Wunsch 2012-02-03 07:21:39 +0000
  • 2e0129c1f1 Move par_desc[] to end of file, outside the #if HAVE_PARPORT. Joerg Wunsch 2012-02-03 07:21:39 +0000
  • 8131767a34 Sort new filename entries into alphabetical order. joerg_wunsch 2012-02-02 19:29:34 +0000
  • bc83547bf1 Sort new filename entries into alphabetical order. Joerg Wunsch 2012-02-02 19:29:34 +0000
  • 8304b149a3 Sort new filename entries into alphabetical order. Joerg Wunsch 2012-02-02 19:29:34 +0000
  • f5e8183f30 Implement ELF file reading (finally). Requires libelf(3) to be present on the host system. joerg_wunsch 2012-02-02 16:52:45 +0000
  • 86ad524ea2 Implement ELF file reading (finally). Requires libelf(3) to be present on the host system. Joerg Wunsch 2012-02-02 16:52:45 +0000
  • ab116c9ef7 Implement ELF file reading (finally). Requires libelf(3) to be present on the host system. Joerg Wunsch 2012-02-02 16:52:45 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • d31d9a1563 Sort keyword tokens into alphabetic order. joerg_wunsch 2012-02-01 09:12:55 +0000
  • c05b7bb0ab Sort keyword tokens into alphabetic order. Joerg Wunsch 2012-02-01 09:12:55 +0000
  • 01c8dddad6 Sort keyword tokens into alphabetic order. Joerg Wunsch 2012-02-01 09:12:55 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000
  • 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 +0000