Datasheet
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.
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.
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 t he code to download in byt es