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

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
14.8.5 Example of shifting self programming mode to normal mode
programming.
The operating mode must be returned from self programming mode to normal mode after performing self
An example of shifting to normal mode is explained below.
<1> Clear FLCMD (FLCMD=00H).
<2> Clear the flash status register (PFS).
<3> Set normal mode using a specific sequence.
<4> Check the execution result of the specific sequence using bit 0 (FPRERR) of PFS.
<5> Enable interrupt servicing (by executing the EI instruction and changing MK0) to restore the original state.
<6> Mode shift is completed
Note
Caution Be sure to perform the series of operations described above using the user program at an
Abnormal
Write the specific value (A5H) to PFCMD.
Write 00H to FLPMC (writing in this step is invalid)
Write 0FFH (inverted value of 00H) to FLPMC (writing in this step is invalid)
Write 00H to FLPMC (writing in this step is valid)
After the specific sequence is correctly executed, restore the CPU clock to its setting before the self
programming.
address where data is not erased nor written.
<2>, normal
<5>
Preliminary User’s Manual U18681EJ1V0UD
CHAPTER 14 FLASH MEMORY
157

Related parts for UPD78F9502MA-CAC-A