Atmel Evaluation Kit AT91SAM9M10-G45-EK AT91SAM9M10-G45-EK Datenbogen
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Produktcode
AT91SAM9M10-G45-EK
58
SAM9M10 [DATASHEET]
6355F–ATARM–12-Mar-13
Load PC with PC relative addressing instruction:
– Rn = Rd = PC = 0xF
– I==0 (12-bit immediate value)
– P==1 (pre-indexed)
– U offset added (U==1) or subtracted (U==0)
– W==1
The sixth vector, at offset 0x14, contains the size of the image to download. The user must replace this vector with
his/her own vector. This information is described below.
his/her own vector. This information is described below.
Figure 11-6.
Structure of the ARM Vector 6
The value has to be smaller than 60 KBytes. 60 KBytes is the maximum size for a valid code. This size is the inter-
nal SRAM size minus the stack size used by the ROM Code at the end of the internal SRAM.
nal SRAM size minus the stack size used by the ROM Code at the end of the internal SRAM.
Example
An example of valid vectors follows:
00
ea000006
B
0x20
04
eafffffe
B
0x04
08
ea00002f
B
_main
0c
eafffffe
B
0x0c
10
eafffffe
B
0x10
14
00001234
B
0x14
<- Code size = 4660 bytes < 60KB
18
eafffffe
B
0x18
11.4.2.2
boot.bin file check
The NVM bootloader program looks for a boot.bin file in the root directory of a FAT12/16/32 formatted NVM Flash.
31
0
Size of the code to download in bytes