English
Language : 

EP7211 Datasheet, PDF (160/166 Pages) Cirrus Logic – HIGH-PERFORMANCE ULTRA-LOW-POWER SYSTEM-ON-CHIP WITH LCD CONTROLLER
EP7211
High-Performance Ultra-Low-Power System-on-Chip with LCD Controller
;
Send ready signal
LDR
r0,=startflag
STRB r0,[r12,#HwUartData]
; send ready
;
receive the data
LDR
r3,=count
LDR
r2,=BufferAddress
01
;
wait for byte available
LDR
r1,[r12,#HwStatus]
TST
r1,#HwStatusUartRxFifoEmpty
BNE
%b01
; spin, if Rx FIFO is empty
;
read the data ,store it and accumulate checksum
LDRB r0,[r12,#HwUartData]
; read data
STRB r0,[r2],#1
; save it in memory
SUBS r3,r3,#1
; decrement count
BNE
%b01
; do more if count has not expired
;
all received, send end flag
LDR
r0,=endflag
STRB r0,[r12,#HwUartData]
LDR
r15,=codeexeaddr
; send reply
;jump to execution address
LTORG
END
160
Appendix A: Boot Code
DS352PP3
JUL 2001