git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3044 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-10-21 01:32:17 +00:00
parent fe4c7b6e68
commit f8a30e2050
+20 -5
View File
@@ -112,20 +112,35 @@ IDEs
AVR32 Bootloader 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 Link Address
------------ ------------
The linker scripts (ld.script) assume that you are using the bootloader. The linker scripts (ld.script) assume that you are using the DFU
The bootloader resides at 0x8000:0000 and so the ld.script files link bootloader. The bootloader resides at 0x8000:0000 and so the ld.script
the application to execute after the bootloader at 0x8000:2000. To link files link the application to execute after the bootloader at
so that NuttX boots directly without using the bootloader, change the 0x8000:2000. To link so that NuttX boots directly without using the
flash definition from: bootloader, change the flash definition from:
flash (rxai!w) : ORIGIN = 0x80002000, LENGTH = 256K - 8K flash (rxai!w) : ORIGIN = 0x80002000, LENGTH = 256K - 8K
to: to:
flash (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K flash (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K
Or to use the MSC bootloader:
flash (rxai!w) : ORIGIN = 0x80008000, LENGTH = 256K - 32K
Entering the ISP Entering the ISP
---------------- ----------------