Fujitsu MB90390 Series Hardware Manual page 618

Table of Contents

Advertisement

CHAPTER 28 3M-BIT FLASH MEMORY
;
;
;
NTOE
;//////////////////////////////////////////////
;Error
;//////////////////////////////////////////////
ERROR
RAMPRG
;/////////////////////////////////////////////
VECT
VECT
;
590
///////////////////////////////////////
Erase termination check (FMCS-RDY)
///////////////////////////////////////
MOVW
A,FMCS
AND
A,#10H
BZ
ELS
MOV
FMCS,#00H
RETP
MOV
FMCS,#00H
MOV
PDR0,#0FFH
MOV
ADB:COMADR1,#0F0H
RETP
ENDS
CSEG
ABS=0FFH
ORG
0FFDCH
DSL
START
DB
00H
ENDS
;
;Extraction of FMCS RDY bit (bit 4)
;End of sector erase?
;Flash erase mode release
;Return to the main program
;Flash mode release
;Error handling check
;Reset command (read is enabled)
;Return to the main program

Advertisement

Table of Contents
loading

Table of Contents