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.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1078 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch
2012-04-13 15:25:41 +00:00
parent ab52c9e972
commit b62408923b
8 changed files with 174 additions and 6 deletions

View File

@@ -12286,6 +12286,7 @@ part
has_jtag = yes;
has_pdi = yes;
nvm_base = 0x01c0;
mcu_base = 0x0090;
memory "prodsig"
size = 0x200;
@@ -12335,6 +12336,11 @@ part
size = 1;
offset = 0x8f0027;
;
memory "data"
# SRAM, only used to supply the offset
offset = 0x1000000;
;
;