tmp89fh42l TOSHIBA Semiconductor CORPORATION, tmp89fh42l Datasheet - Page 356

no-image

tmp89fh42l

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fh42lUG(JZ)
Manufacturer:
LEVELONE
Quantity:
5 350
Part Number:
tmp89fh42lUG(JZ)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
21.6
API (Application Programming Interface)
RA006
21.6
Table 21-5 List of API
(.BTEraseChip)
(.BTCalcUART)
(.BTEraseSec)
(.BTGetRP)
(.BTSetRP)
(.BTWrite)
Address
0x1010
0x1012
0x1014
0x1016
0x1018
0x101E
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
Working
Register
(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 342
Register
(SP-)
WA
WA
C
C
C
C
C
C
E
A
A
A
A
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
-
-
-
-
TMP89FH42L
Security Program
disabled.
Security Program
enabled.
Contents
-
-
-
-

Related parts for tmp89fh42l