tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 371

no-image

tmp89fm82t

Manufacturer Part Number
tmp89fm82t
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RA000
21.3.2
by the upper 5 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 Block1 (2 kbytes from 0x8000 through 0x87FF in the code area), set
FLSCR1<FAREA> to "0y10", set "0xD5" on FLSCR2<CR1EN>, and then specify either 0x8000 or 0x87FF 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.
an 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.
no matter how the Security program setting. In case of Sector Erase for the protected area where the protect is
on, Flash memory ignore the the write command ( to prevent un intentional writing, like miss operation.) There
is the function to be able to rewrite the data for these area in TMP89FM82T. Refer to "21.2.6 Protect cancel mode
(FLSVPR<VPREG>)" "21.2.7 Protect set up".
Table 21-3 Range of Addresses Specifiable
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 2, 4, 8 kbytes. The flash memory area to be erased is specified
The time needed to erase each Block is maximum 40 ms. The next commnd sequence cannot be executed if
Data in the erased area is 0xFF.
In case of MCU mode, only Block0 and Block1 is able to write data. Block2 to Block6 is not able to wite data,
(Code area)
(Data area)
Sector erase (partial erase by sector)
AREA D1
AREA C1
Table 21-2 Range of Addresses Specifiable (BA)
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
Block1 (2KB)
Block2 (2KB)
Block3 (4KB)
Block4 (4KB)
Block5 (4KB)
Block6 (8KB)
Block7 (8KB)
Block1 (2KB)
Block2 (2KB)
Block3 (4KB)
Block4 (4KB)
Block5 (4KB)
Block6 (8KB)
Block7 (8KB)
Erase Area
Write Area
0x8000 through 0xFFFF
0x8000 through 0xFFFF
0xA000 to 0xAFFF
0xB000 to 0xBFFF
0xC000 to 0xDFFF
0xE000 to 0xFFFF
0xA000 to 0xAFFF
0xB000 to 0xBFFF
0xC000 to 0xDFFF
0xE000 to 0xFFFF
0x8800 to 0x8FFF
0x9000 to 0x9FFF
0x8800 to 0x8FFF
0x9000 to 0x9FFF
0x8000 to 0x87FF
0x8000 to 0x87FF
Page 355
<FAREA>
FLSCR1
00
10
<FAREA>
FLSCR1
00
10
Address specified by instruction
(Address of 4th bus write cycle)
0x8000 through 0xFFFF
0x8000 through 0xFFFF
Address specified by instruction
(Address of 6th bus write cycle)
0xC000 to 0xDFFF
0xC000 to 0xDFFF
0xA000 to 0xAFFF
0xB000 to 0xBFFF
0xE000 to 0xFFFF
0xA000 to 0xAFFF
0xB000 to 0xBFFF
0xE000 to 0xFFFF
0x8800 to 0x8FFF
0x9000 to 0x9FFF
0x8800 to 0x8FFF
0x9000 to 0x9FFF
0x8000 to 0x87FF
0x8000 to 0x87FF
TMP89FM82T

Related parts for tmp89fm82t