24
32166A–AVR32806–06/11
Atmel AVR32806
Figure 7-3.
Application programming on the
with BatchISP.
7.6.2 Usage
To use a hardware debugger (without boot loader), first unprotect and erase the MCU flash
array with
avr32program chiperase
, if needed. Then, an application can be programmed and run
by issuing
make program run
for a GCC project, and by starting a debug session for an IAR
project.
An application can be programmed and run with BatchISP (with boot loader) by issuing
make isp
program run
for a GCC project. For IAR projects, which are configured to use the
hardware debugger by default, rebuild all after having set the following post-build
command line in the project options (replace
at32uc3c0512c
with the appropriate part name):
Application
Trampoline
Reset vector is
@ 80000000h
Application is
@ 80002000h
Binary Image of
Application Linked
with Trampoline
Application
Bootloader
Free Flash Space
MCU Address
Space
with Bootloader
Jump
248 kB
8 kB
256-kB
Flash
Array