tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 368

no-image

tmp89fm82t

Manufacturer Part Number
tmp89fm82t
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
21.2
Functions
RA000
21.2.5
21.2.6
21.2.7
Security Program set-
Secutiry Porgram on
Security Program off
must normally be set to "0". In using FLSSTB<FSTB> built into the TMP89FM82T, the following point should
be noted: FLSSTB<FSTB> can be configured only by using a program allocated to RAM. If it is configured by
using a program allocated to the flash memory, the configured value will be invalidated and does not take effect.
a program allocated to RAM. If the flash memory is accessed with FLSSTB<FSTB> set to "1," a flash standby
reset will occur.
"0" is effective), FSTB is automatically initialized to "0", and then the interrupt vector of the flash memory area
is read. If an interrupt occurs when the interrupt vector is assigned to the RAM area (SYSCR3<RVCTR> = "1"
is effective), FSTB is not cleared to "0", and then the interrupt vector of the RAM area is read. In this case, the
RAM area should be designated as a referential address of interrupt vector. If the flash memory area is designated
as a referential address of interrupt vector, a flash standby reset occurs after an interrupt is generated.
security program. By entering Protect cancel mode, i.e. by tentatively off the write protect function, it is possible
to enable Byte Program, Sector Erase, Chip Erase.
area, TMP89FM82T enter to the Protect cancel mode. In case of the program located on the flash memory area,
TMP89FM82T can not access FLSVPR<VPREG>.
FLSVPR<VPREG> . The Flash memory program execution with protect cancel mode causes software interrupt.
security program. By executing Product ID Entry, Security program setting on flash memory can refrect to sector
2 to 6. Then by executing Product ID exit, please execute flash memory rewrite. This setting continue until
initialize by hardware reset.
FLSSTB<FSTB> is the register provided to maintain the compatibility with the previous product version. It
To access the flash memory again after setting FLSSTB<FSTB> to "1", set FLSSTB<FSTB> to "0" by using
If an interrupt occurs when the interrupt vector is assigned to the flash memory area (SYSCR3<RVCTR> =
In MCU mode, Sector 2 to 6 can not rewrite, because after reset, write protect is on, no matter setting to the
By writing "0x6F","0x75" continuously to the FLSVPR<VPREG> from the program located on the RAM
After rewite the flash memory, please return to the normal operation mode by writing "0xFF" to the
The following 3 conditions causes return from the protect cancel mode to the normal operation mode.
In MCU mode, Sector 2 to 6 can not rewrite, because after reset, write protect is on, no matter setting to the
Flash memory standby control (FLSSTB<FSTB>)
Protect cancel mode (FLSVPR<VPREG>)
Protect set up
ting
-
-
-
Initialize by Reset
Write data to FLSVPR<VPREG> other than the continuous data of "0x78, 0x03 or the continuous data
of 0x6F, 0x75".
Program counter point the flash memory area.
Write Protect off
Sector 0,1
After Reset Release
Write Protect on
Sector 2 to 6
Page 352
Write Protect off
Sector 0,1
Product ID Entry
Write protect on
Write protect off
Sector 2 to 6
TMP89FM82T

Related parts for tmp89fm82t