UPD78F9502MA-CAC-A NEC, UPD78F9502MA-CAC-A Datasheet - Page 187

8BIT MCU, 4K FLASH, 128B RAM, SMD

UPD78F9502MA-CAC-A

Manufacturer Part Number
UPD78F9502MA-CAC-A
Description
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer
NEC
Datasheet

Specifications of UPD78F9502MA-CAC-A

Controller Family/series
UPD78F
No. Of I/o's
8
Ram Memory Size
128Byte
Cpu Speed
10MHz
No. Of Timers
2
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
4KB
Oscillator Type
External, Internal
FlashVerify:
;---------------------------------------------------------------------
;END (abnormal termination processing); Perform processing to shift to
;---------------------------------------------------------------------
StatusError:
;---------------------------------------------------------------------
;END (normal termination processing)
;---------------------------------------------------------------------
StatusNormal:
;---------------------------------------------------------------------
;Processing to shift to self programming mode
;---------------------------------------------------------------------
ModeOn:
normal mode in order to return to normal processing
MOVW
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
CALL
; Execution of internal verify command
MOV
MOV
HALT
MOV
CMP
BNZ
CALL
BR
MOV
MOV
HL,#WriteAdr
FLCMD,#02H
A,H
FLAPH,A
A,L
FLAPL,A
A,D
FLAPHC,A
A,E
FLAPLC,A
!ModeOn
PFS,#00H
WDTE,#0ACH
A,PFS
A,#00H
$StatusError
!ModeOff
StatusNormal
MK0,#11111111B ; Masks all interrupts
FLCMD,#00H
; Sets verify address
; Sets flash control command (internal verify 2)
; Sets verify start address
; Sets verify start address
; Sets verify end address
; Sets verify end address
; Shift to self programming mode
; Clears flash status register
; Clears & restarts WDT
; Self programming is started
; Checks internal verify error
; Performs abnormal termination processing when an error occurs
; Shift to normal mode
; Clears FLCMD register
Preliminary User’s Manual U18681EJ1V0UD
CHAPTER 14 FLASH MEMORY
187

Related parts for UPD78F9502MA-CAC-A