Download Print this page

Frequently Asked Questions - Atmel UC3 Series Manual

32-bit microcontroller

Advertisement

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
in the
folder of the avr32806.zip
./program_at32uc3x-isp-1.x.x.sh
avr32806/releases/
file of the application note corresponding to your part . See
for further
Section 7.1
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
folder
/common/services/usb/class/dfu/device/atmel/isp/avr32
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.
Section 7.6.3.2
Section 7.6.3.3
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
. The trampoline should then be removed
avr32program chiperase
from your project to free the first 8KB of the flash. See
for further details.
Section 7.6.3.1
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
Sec-
for further details.
tion 6.2.2
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
Section
7.6.3.1, 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.
Atmel AVR32806
34
32166A–AVR32806–06/11

Advertisement

loading