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 e401d57e9e
commit 8cca67872a
+20 -5
View File
@@ -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
----------------