tmp89fh40 TOSHIBA Semiconductor CORPORATION, tmp89fh40 Datasheet - Page 339

no-image

tmp89fh40

Manufacturer Part Number
tmp89fh40
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RA006
21.3.2
21.3.3
21.3.4
by the upper 4 bits of the 6th bus write cycle address. The range of addresses that can be specified is shown in
Table 21-3. For example, to erase 4 kbytes from 0xC000 through 0xCFFF in the code area, set FLSCR1<FAREA>
to "0y10", set "0xD5" on FLSCR2<CR1EN>, and then specify either 0xC000 or 0xCFFF as the 6th bus write
cycle. The sector erase command is effective only in MCU and serial PROM modes, and it cannot be used in
parallel PROM mode.
ongoing erase operation is not completed. To check the completion of the erase operation, perform read operations
twice on the same address in the flash memory, and perform polling until the same data is read from the flash
memory. During the erase operation, bit 6 is reversed each time a read is performed.
erase operation is not completed. To check the completion of the erase operation, perform read operations twice
on the same address in the flash memory, and perform polling until the same data is read from the flash memory.
During the erase operation, bit 6 is reversed each time a read is performed.
ID mode, the vendor ID, flash ID and security status can be read from the flash memory.
Note 1: The data and code areas become mirror areas. As you access these areas, you are brought to the same
Note 2: Do not perform a sector erase on areas other than those shown in Table 21-3.
This command erases the flash memory in units of 4 kbytes. The flash memory area to be erased is specified
The time needed to erase 4 kbytes is 30 ms maximum. The next command sequence cannot be executed if an
Data in the erased area is 0xFF.
This command erases the entire flash memory.
The time needed to erase it is 30 ms maximum. The next command sequence cannot be executed if an ongoing
Data in the erased area is 0xFF.
This command activates the product ID mode. If an instruction to read the flash memory is executed in Product
Sector erase (4-kbyte partial erase)
Chip erase (all erase)
Product ID entry
Table 21-3 Range of Addresses Specifiable
physical address in memory. When performing a sector erase, make sure that you erase data from either of
these two areas, not both.
(Code area)
(Data area)
AREA D1
AREA C1
Erase Area
0xC000 through 0xCFFF
0xD000 through 0xDFFF
0xC000 through 0xCFFF
0xD000 through 0xDFFF
0xE000 through 0xEFFF
0xF000 through 0xFFFF
0xE000 through 0xEFFF
0xF000 through 0xFFFF
Page 325
<FAREA>
FLSCR1
00
10
Address specified by instruction
(Address of 6th bus write cycle)
0xC000 through 0xCFFF
0xD000 through 0xDFFF
0xC000 through 0xCFFF
0xD000 through 0xDFFF
0xE000 through 0xEFFF
0xF000 through 0xFFFF
0xE000 through 0xEFFF
0xF000 through 0xFFFF
TMP89FH40

Related parts for tmp89fh40