UPD78F0138 NEC, UPD78F0138 Datasheet - Page 431
![no-image](/images/manufacturer_photos/0/4/470/nec_sml.jpg)
UPD78F0138
Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet
1.UPD78F0138.pdf
(558 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
- Current page: 431 of 558
- Download datasheet (5Mb)
(2) Assemble in advance the initial setting routine as shown in Figure 26-6 to correct the program.
Note Whether the ROM correction is used or not should be judged by the port input level. For example, when the
(3) After reset, store the corrected address and program that have been previously stored in the external
(4) Set the main program so that the program branches from the specified address of the internal expansion RAM
(5) After the main program is started, the fetch address value and the values set in CORAD0 and CORAD1 are
(6) Branch to the address F7FDH by the correction branch request signal.
(7) Branch to the internal expansion RAM address set in (4) by the entire-space branch instruction of the address
(8) When one place is corrected, the correction program is executed. When two places are corrected, the
nonvolatile memory with initial setting routine for ROM correction of the user to internal expansion RAM (see
Figure 26-6).
Set the start address of the instruction to be corrected to CORAD0 and CORAD1, and set bits 1 and 3
(COREN0, COREN1) of the correction control register (CORCN) to 1.
(F7FDH) to the internal expansion RAM address where the corrected program is stored using the entire space
branch instruction (BR !addr16).
always compared by the comparator in the ROM correction circuit. When these values match, the correction
branch request signal is generated. Simultaneously the corresponding correction status flag (CORST0 or
CORST1) is set to 1.
F7FDH.
correction status flag is checked with the branch destination judgment program, and branches to the correction
program.
P20 input level is high, the ROM correction is used, otherwise, it is not used.
Load the contents of external nonvolatile memory
into internal expansion RAM
Correction address register setting
ROM correction operation enabled
correction used ?
Figure 26-6. Initial Setting Routine
Main program
Initial setting
CHAPTER 26 ROM CORRECTION
Is ROM
User’s Manual U16228EJ2V0UD
Yes
Note
No
ROM correction
431
Related parts for UPD78F0138
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![UPD78F1154GK-GAK-AX](/photos/19/3/190351/ge80lqfp05-40_tmb.jpg)
Part Number:
Description:
16BIT MCU, 128K FLASH, 8K RAM, SMD
Manufacturer:
NEC
Datasheet:
![UPD78F0413GA-GAM-AX](/photos/19/0/190032/ge48lqfp05-40_tmb.jpg)
Part Number:
Description:
8BIT UC, 32K FLASH, 1KB RAM, LCD
Manufacturer:
NEC
Datasheet:
![UPD78F0886GA(A)-GAM-AX](/photos/19/0/190032/ge48lqfp05-40_tmb.jpg)
Part Number:
Description:
8BIT MCU, 60K FLASH, 3KB RAM, CAN
Manufacturer:
NEC
Datasheet:
![UPD78F0890GK(A)-GAJ-AX](/photos/19/1/190186/ge64lqfp05-40_tmb.jpg)
Part Number:
Description:
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer:
NEC
Datasheet:
![UPD78F9502MA-CAC-A](/photos/19/7/190713/ge10ssop05-40_tmb.jpg)
Part Number:
Description:
8BIT MCU, 4K FLASH, 128B RAM, SMD
Manufacturer:
NEC
Datasheet:
![UPD70325L-8](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
16/8 bit single-chip microcomputer
Manufacturer:
NEC
Datasheet:
![UPC1316C](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Dual audio power amp circuit
Manufacturer:
NEC
Datasheet:
![UPC393C](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
Dual comparator
Manufacturer:
NEC
Datasheet:
![UPA572T](/images/manufacturer_photos/0/4/470/nec_tmb.jpg)
Part Number:
Description:
MOS type composite field effect transistor
Manufacturer:
NEC
Datasheet: