tmp86fh46bng TOSHIBA Semiconductor CORPORATION, tmp86fh46bng Datasheet - Page 165

no-image

tmp86fh46bng

Manufacturer Part Number
tmp86fh46bng
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FH46BNG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Example :After chip erasure, the program in the RAM area writes data 3FH to address F000H.
; #### Flash Memory Chip erase Process ####
sLOOP1:
; #### Flash Memory Write Process ####
sLOOP2:
sLOOP3:
DI
LD
LD
LD
LD
LD
LD
LD
LD
LD
LD
LD
CMP
JR
LD
LD
LD
LD
LD
CMP
JR
LD
JP
(FLSCR),00111000B
IX,0F555H
IY,0FAAAH
HL,0F000H
(IX),0AAH
(IY),55H
(IX),80H
(IX),0AAH
(IY),55H
(IX),10H
W,(HL)
W,(HL)
NZ,sLOOP1
(IX),0AAH
(IY),55H
(IX),0A0H
(HL),3FH
W,(HL)
W,(HL)
NZ,sLOOP2
(FLSCR),11001000B
sLOOP3
Page 147
: Disable interrupts (IMF←"0")
: Enable command sequence execution.
: 1st bus write cycle
: 2nd bus write cycle
: 3rd bus write cycle
: 4th bus write cycle
: 5th bus write cycle
: 6th bus write cycle
: Loop until the same value is read.
: 1st bus write cycle
: 2nd bus write cycle
: 3rd bus write cycle
: 4th bus write cycle, (F000H)=3FH
: Loop until the same value is read.
: Disable command sequence execution.
TMP86FH46BNG

Related parts for tmp86fh46bng