34
32166A–AVR32806–06/11
Atmel AVR32806
9. Frequently asked questions
Q: How do I reprogram the boot loader to the original program and fuse settings?
A: Connect the board to the PC using a hardware debugger, and execute
./program_at32uc3x-isp-1.x.x.sh
in the
avr32806/releases/
folder of the avr32806.zip
file of the application note corresponding to your part . See
for further
details.
Q: I want to program my own boot loader. How do I do that?
A: You can either replace the Atmel boot loader with your own by changing the boot
loader sources in the
/common/services/usb/class/dfu/device/atmel/isp/avr32
folder
and programming it with a hardware debugger, or you can extend the Atmel boot loader
with your own by enlarging the boot loader protected area specified by the BOOTPROT
general purpose fuse bits. See
and
for further details.
Q: I do not want to use the boot loader, and I want to use the first 8KB of the flash
for my application. How do I do that?
A: Remove the boot loader with a hardware debugger by unprotecting and erasing the
MCU flash array with
avr32program chiperase
. The trampoline should then be removed
from your project to free the first 8KB of the flash. See
Q: I do not want any ISP I/O condition with my program. Can I still use the ISP?
A: ISP I/O conditions can be suppressed by setting the ISP_IO_COND_EN conguration
bit to 0. The only way of reaching the ISP then is to set the ISP_FORCE configuration bit
to 1 from the programmed application and generate an MCU hardware reset. See
for further details.
Q: I do not want to use the trampoline section from the software framework, but I
still want to use the boot loader. Is it possible, and if so where should I link my
application?
A: Remove the trampoline from your project by following the instructions in
, and link your application as if the reset vector were at 80002000h instead of
80000000h. This can be achieved by modifying the linker script you use with GCC or
IAR. Your project will then be unusable with a hardware debugger and the AVR UC3
programming tools.
Содержание AT32UC3C0128C
Страница 36: ...36 32166A AVR32806 06 11 Atmel AVR32806...