From f8a30e2050b96d4588b369b2ebd017d6448da176 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 21 Oct 2010 01:32:17 +0000 Subject: [PATCH] update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3044 42af7a65-404d-4744-a932-0658087f49c3 --- configs/avr32dev1/README.txt | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/configs/avr32dev1/README.txt b/configs/avr32dev1/README.txt index 06aed5bdb2a..eceafbf5acd 100755 --- a/configs/avr32dev1/README.txt +++ b/configs/avr32dev1/README.txt @@ -112,20 +112,35 @@ IDEs AVR32 Bootloader ^^^^^^^^^^^^^^^^ + Boot Sequence + ------------- + + "An AVR UC3 part having the bootloader programmed resets as any other + part at 80000000h. Bootloader execution begins here. The bootloader + first performs the boot process to know whether it should start the + USB DFU ISP or the application. If the tested conditions indicate + that the USB DFU ISP should be started, then execution continues in + the bootloader area, i.e. between 80000000h and 80002000h, else + the bootloader launches the application at 80002000h." + Link Address ------------ - The linker scripts (ld.script) assume that you are using the bootloader. - The bootloader resides at 0x8000:0000 and so the ld.script files link - the application to execute after the bootloader at 0x8000:2000. To link - so that NuttX boots directly without using the bootloader, change the - flash definition from: + The linker scripts (ld.script) assume that you are using the DFU + bootloader. The bootloader resides at 0x8000:0000 and so the ld.script + files link the application to execute after the bootloader at + 0x8000:2000. To link so that NuttX boots directly without using the + bootloader, change the flash definition from: flash (rxai!w) : ORIGIN = 0x80002000, LENGTH = 256K - 8K to: flash (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K + Or to use the MSC bootloader: + + flash (rxai!w) : ORIGIN = 0x80008000, LENGTH = 256K - 32K + Entering the ISP ----------------