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

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
ModeOffLoop:
;---------------------------------------------------------------------
;END (abnormal termination processing); Perform processing to shift to
;---------------------------------------------------------------------
StatusError:
;---------------------------------------------------------------------
;END (normal termination processing)
;---------------------------------------------------------------------
StatusNormal:
normal mode in order to return to normal processing
MOV
MOV
HALT
MOV
CMP
BNZ
MOV
MOV
MOV
MOV
MOV
MOV
BT PFS.0,$ModeOffLoop
MOV
EI
BR
FLAPLC,#0FFH
WDTE,#0ACH
A,PFS
A,#00H
$StatusError
FLCMD,#00H
PFS,#00H
PFCMD,#0A5H
FLPMC,#00H
FLPMC,#0FFH
FLPMC,#00H
MK0,#INT_MK0
StatusNormal
Preliminary User’s Manual U18681EJ1V0UD
; Fixes FLAPLC to “FFH”
; Clears & restarts WDT
; Self programming is started
; Checks blank check error
; Performs abnormal termination processing when an error
; occurs.
; Clears FLCMD register
; Clears flash status register
; PFCMD register control
; FLPMC register control (sets value)
; FLPMC register control (inverts set value)
; Sets normal mode via FLPMC register control (sets value)
; Checks completion of write to specific registers
; Repeats the same processing when an error occurs.
; After the specific sequence is correctly executed, restore
; the CPU clock to its setting before the self programming
; Restores interrupt mask flag
CHAPTER 14 FLASH MEMORY
175

Related parts for UPD78F9502MA-CAC-A