mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-19 11:36:24 +00:00
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:
@@ -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;
|
||||
;
|
||||
;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user