tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 385

no-image

tmp89fm82t

Manufacturer Part Number
tmp89fm82t
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
RA000
21.6
Table 21-5 List of API
(.BTEraseChip)
(.BTCalcUART)
(.BTEraseSec)
(.BTGetRP)
(.BTSetRP)
(.BTWrite)
Address
0x101E
0x1010
0x1012
0x1014
0x1016
0x1018
flash memory. After mapping of the BOOTROM, it allows easy erasing or writing on the flash memory by only calling
the subroutine in BOOTROM. The Table 21-5 shows the list of API.
The BOOTROM has a support program (API) which contains a special subroutine for erasing or writing on the
Note 1: Because working registers (general-purpose registers) are rewritten in the support program, the contents of general-
Note 2: While the support program is executed, a maximum 7 bytes are used as stack which doesn’t include the stack used by
Note 3: Each API works properly without the setting Enable Code (0xD5) as argument. However, it is recommended to set the
API (Application Programming Interface)
Writing the data to speci-
fied address of one byte.
Erasing the specified one
sector.
Executing the Chip
Erase.
Getting the status of Se-
curity Program.
Setting the Security Pro-
gram.
Calculating the setting for
UART (Baud rate) from
the captured value by tim-
er counter.
purpose registers should be saved before calling the support program.
interrupts. Therefore, be sure to reserve a stack area beforehand.
Enable Code (0xD5) to keep compatibility in the family products.
Contents
(Note2)
7bytes
4bytes
6bytes
6bytes
6bytes
4bytes
Using
Stack
Register
Working
(Note1)
WA
WA
WA
WA
WA
WA
BC
DE
BC
DE
BC
DE
BC
DE
BC
DE
BC
DE
IX
IX
IX
IX
IX
IX
IY
Page 369
Register
(SP-)
WA
WA
C
E
A
C
A
C
A
C
A
C
C
Specify the address to be
written.
0x00
Specify the data to be
written.
0xD5 (Enable Code)
Specify the sector to be
erased.
0xD5 (Enable Code)
0xD5 (Enable Code)
0x00
0xD5 (Enable Code)
0x00
0xD5 (Enable Code)
0x00
Captured value by timer
counter
The number of bit for cal-
culation.
Argument
Setting Value
Register
W
A
A
-
-
-
-
Setting value for RTSEL
Setteing value for UARTDR
Other
0xFF
0xFF
than
Return value
-
-
-
-
TMP89FM82T
Security Program
disabled.
Security Program
enabled.
Contents
-
-
-
-

Related parts for tmp89fm82t