Freescale Semiconductor, Inc.
***
Check results of write and read, light LED if good
J9356_CKSUM
lda
TEST1
;check test1
cmpa
bne
#$AA
J9356_BRANCH
;branch if no good, no LED
;check test2
lda
TEST2
cmpa
bne
#$55
J9356_BRANCH
;branch if no good, no LED
;check test3
lda
TEST3
cmpa
bne
#$12
J9356_BRANCH
;branch if no good, no LED
;check test4
lda
TEST4
cmpa
bne
#$34
J9356_BRANCH
;branch if no good, no LED
bclr
7,PORTA
;EEPROM write and read is good
; light LED
J9356_BRANCH
clra
sta
COPR
;kick the wdog
bra
J9356_BRANCH
AN1241/D
For More Information On This Product,
Go to: www.freescale.com
13