Maverick EP7312 User Manual page 119

Table of Contents

Advertisement

00000054
00000054 E3A0003E
00000058 E5CC0480
0000005C
0000005C
0000005C
0000005C
;;; Having loaded all the bytes, do the right thing to finish.
0000005C
;;;
0000005C
0000005C E55807FD
00000060 E35000FF
00000064
00000064
00000064 01A0F00E
00000068
00000068
00000068
00000068
00000068 E28CAB09
0000006C E58AC080
00000070 E248FB02
00000074
00000074
00000074
;;; Put a checksum here so this part can be verified, too.
00000074
;;; Have to pad the tail out to 31 words, then the checksum.
00000074
00000074 0000000000
0000007C
uart_checksum
0000007C 436B74AB
00000080
00000080
00000080
00000080
120
MOV
r0, #EndFlag
STRB
r0, [r12, #Hw_UARTDR1] ; Send reply
LDRB
r0, [r8, #(3-ImageSize)]
CMP
r0, #BootImageFlagByte
MOVEQ
pc, r14
ADD
r10, r12, #WWWWWWWWWW ; R10 = 0x80002400 (also XXXXXX)
STR
r12, [r10, #(ZZZZZZZZZZZ - YYYYYYYYYY)]
SUB
pc, r8, #ImageSize ; Branch to 0x10000000
ALIGN
128, -4
DCD
0x436b74ab
ASSERT
(. - start_of_rom) = 640 ; Check that it's in the right place
END
; Return to caller for secure image
; Align just before end of 128-byte tail
DS508UM1

Advertisement

Table of Contents
loading

Table of Contents