UPD78F9222MC-5A4-A Renesas Electronics America, UPD78F9222MC-5A4-A Datasheet - Page 281

no-image

UPD78F9222MC-5A4-A

Manufacturer Part Number
UPD78F9222MC-5A4-A
Description
MCU 8BIT 4KB FLASH 20PIN
Manufacturer
Renesas Electronics America
Series
78K0S/Kx1+r
Datasheet

Specifications of UPD78F9222MC-5A4-A

Core Processor
78K0S
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN, UART/USART
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Ram Size
256 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
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F9222MC-5A4-A
Manufacturer:
FSC
Quantity:
340
Part Number:
UPD78F9222MC-5A4-A
Manufacturer:
NEC
Quantity:
20 000
18.8 Flash Memory Programming by Self Programming
program, making it possible to upgrade programs in the field.
18.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 18-10 lists the commands for controlling self programming.
Table 18-8 shows the relationship between the security setting and the operation in each programming mode.
The 78K0S/KA1+ supports a self programming function that can be used to rewrite the flash memory via a user
Caution Self programming processing must be included in the program before performing self
Remarks 1. For usage of self programming, refer to the examples from 18.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 18.8.4
Remark
Figure 18-8 shows a block diagram for self programming, Figure 18-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 18-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.
programming.
Data written by self programming can be referenced with the MOV instruction.
2. To use the internal flash memory of the 78K0S/KA1+ as the external EEPROM™ for storing data,
refer to 78K0S/Kx1+ EEPROM Emulation Application Note (U17379E).
Programming Mode
Mode
Possible
Security Setting
Table 18-9. Self Programming Mode
On-Board/Off-Board Programming
CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ6V0UD
User Program Execution
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
279

Related parts for UPD78F9222MC-5A4-A