CMOSTEK CMT2380F17 Manual page 311

Ultra low power sub-1ghz wireless mcu
Table of Contents

Advertisement

ORL
IFMT,#02h
ANL
ISPCR,#0FAh ;
MOV
IFADRH,??
MOV
IFADRL,??
MOV
IFD,??
MOV
SCMD,#46h
MOV
SCMD,#0B9h ;
;Now in processing...(CPU will halt here until complete)
;=============================================================================
; 3. Verify using Read Mode
;=============================================================================
ANL
IFMT,#0F9h
ORL
IFMT,#01h
MOV
IFADRH,??
MOV
IFADRL,??
MOV
SCMD,#46h
MOV
SCMD,#0B9h ;
;Now in processing...(CPU will halt here until complete)
MOV
A,IFD
CJNE
A,wanted,ISP_error ;compare with the wanted value
...
ISP_error:
...
;
;MS[2:0]=[0,1,0], slect Byte Program Mode
;fill byte address in IFADRH & IFADRL
;
;fill the data to be programmed in IFD
;trigger ISP processing
;MS1[2:0]=[0,0,1], select Byte Read Mode
;
;fill byte address in IFADRH & IFADRL
;
;trigger ISP processing
;data will be in IFD
Rev0.1 | 311/347
CMT2380F17
www.cmostek.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CMT2380F17 and is the answer not in the manual?

Questions and answers

Table of Contents