UPD78F9212CS-CAB-A Renesas Electronics America, UPD78F9212CS-CAB-A Datasheet - Page 234

no-image

UPD78F9212CS-CAB-A

Manufacturer Part Number
UPD78F9212CS-CAB-A
Description
MCU 8BIT 4KB FLASH 16PIN
Manufacturer
Renesas Electronics America
Series
78K0S/Kx1+r
Datasheet

Specifications of UPD78F9212CS-CAB-A

Core Processor
78K0S
Core Size
8-Bit
Speed
10MHz
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
16.8 Flash Memory Programming by Self Programming
program, making it possible to upgrade programs in the field.
16.8.1 Outline of self programming
self programming mode. Write/erase processing for the flash memory, which has been set to the register in advance,
is performed by executing the HALT instruction during self programming mode. The HALT state is automatically
released when processing is completed.
Example of shifting normal mode to self programming mode for details.
diagram, Table 16-10 lists the commands for controlling self programming.
232
Table 16-8 shows the relationship between the security setting and the operation in each programming mode.
The 78K0S/KY1+ support a self programming function that can be used to rewrite the flash memory via a user
Caution
Remarks 1. For usage of self programming, refer to the examples from 16.8.4. onward.
To execute self programming, shift the mode from the normal operation of the user program (normal mode) to the
To shift to the self programming mode, execute a specific sequence for a specific register. Refer to 16.8.4
Remark
Figure 16-8 shows a block diagram for self programming, Figure 16-9 shows the self programming state transition
Notes 1. Execution of each command is prohibited by the security setting.
Security Setting
Batch erase (chip erase)
Block erase
Write
Table 16-8. Relationship Between Security Setting and Operation In Each Programming Mode
Note Maskable interrupt servicing is disabled during self programming mode.
Normal mode
Self programming mode
2. Execution of self programming command is possible regardless of the security setting.
2. To use the internal flash memory of the 78K0S/KY1+ as the external EEPROM
Data written by self programming can be referenced with the MOV instruction.
Self programming processing must be included in the program before performing self
programming.
refer to 78K0S/Kx1+ EEPROM Emulation Application Note (U17379E).
Programming Mode
Mode
Possible
Security Setting
Table 16-9. Self Programming Mode
On-Board/Off-Board Programming
CHAPTER 16 FLASH MEMORY
User Program Execution
User’s Manual U16994EJ6V0UD
Enabled
Enabled
Valid
Security Operation
Note
Note 1
Execution of Write/erase for Flash
Impossible
Memory with HALT Instruction
Security Setting
Self Programming
Enabled
Invalid
Security Operation
Note 2
for storing data,

Related parts for UPD78F9212CS-CAB-A