AN1827 Freescale Semiconductor / Motorola, AN1827 Datasheet - Page 46

no-image

AN1827

Manufacturer Part Number
AN1827
Description
Programming and Erasing FLASH Memory on the MC68HC908AS60
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
Repeat:
Complete:
Return:
Prog990:
46
lda
cmp
bne
lda
cmp
bne
lda
cmp
bne
lda
cmp
bne
lda
cmp
bne
lda
cmp
bne
jmp
lda
jsr
inc
lda
cbeqa
jmp
lda
jsr
clra
cli
rts
2,x
data+2
Repeat
3,x
data+3
Repeat
4,x
data+4
Repeat
5,x
data+5
Repeat
6,x
data+6
Repeat
7,x
data+7
Repeat
Complete
#margin.
WriteFLCR
attempt
attempt
#flsPULSES,Return
NextAttempt
#margin.
WriteFLCR
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
;
;Step 15 - Clear the MARGIN bit
;Step 16 - Increment attempt counter
;Step 17 - If attempt is less than
; flsPULSES, go back to NextAttempt
; (Step 2)
;
;Clear the MARGIN bit
;Clear the interrupt mask bit and
; return
;If programming was unsuccessful in
; flsPULSES, the accumulator has a
; non-zero value
** Program Failure **
** Program Success **
MOTOROLA
AN1827

Related parts for AN1827