27
32166A–AVR32806–06/11
Atmel AVR32806
•
Set the program entry label to
__isp
in the project options:
The trampoline can be removed from a GCC or IAR project to reallocate the size of the boot
loader for the application. This can be achieved by removing the
trampoline
assembler source
file from the project and removing the program entry point override.
7.6.3.2 Adding or removing the boot loader binary image
It is possible to include the binary image of the boot loader in any GCC or IAR project. This may
be especially useful for debug purposes when using a hardware debugger.
To add the boot loader binary image to a GCC project, do the following in
config.mk
:
•
Add
/common/services/usb/class/dfu/device/atmel/isp/avr32
to the
INC_PATH
include path
•
Add
/common/services/usb/class/dfu/device/atmel/isp/avr32/boot.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
_isp
by adding
-Wl,-e,_isp
to
LD_EXTRA_FLAGS
To add the boot loader binary image to an IAR project, do the following:
•
Add
/common/services/usb/class/dfu/device/atmel/isp/avr32/boot.S82
to the project files
•
Select the appropriate linker script from
avr32/utils/linker_scripts
in the project options
Содержание AT32UC3C0128C
Страница 36: ...36 32166A AVR32806 06 11 Atmel AVR32806...