26
32166A–AVR32806–06/11
Atmel AVR32806
Once an application has been programmed using BatchISP, it can still be debugged with
in the usual way. This is especially interesting for large applications
because BatchISP programs faster than
. Under IAR, this will require
AVR
JTAGICE mkII
download to be suppressed in the project options:
In this case, if IAR project options request
download verification, an
expected warning will be issued by IAR because it will see the boot loader in the binary image of
the part at the location of the trampoline.
7.6.3 Project customization
All the following parts are related to the ASF architecture.
7.6.3.1 Adding or removing the trampoline
To add the trampoline to a GCC project, do the following in
config.mk
:
•
Add
avr32/utils/startup/trampoline_uc3.S
to the
ASSRCS
assembler source files
•
Select the appropriate linker script from
avr32/utils/linker_scripts/
with
LINKER_SCRIPT
•
Set the program entry point to
_trampoline
by adding
-Wl,-e,_trampoline
to
LD_EXTRA_FLAGS
To add the trampoline to an IAR project, do the following:
•
Add
avr32/utils/startup/trampoline_uc3.S82
to the project files
•
Select the appropriate linker script from
avr32/utils/linker_scripts
in the project options