tmp89fm42a TOSHIBA Semiconductor CORPORATION, tmp89fm42a Datasheet - Page 30

no-image

tmp89fm42a

Manufacturer Part Number
tmp89fm42a
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42aUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
RA000
System control status register 4
(0x0FDF)
SYSSR4
2.2.1.2
Note 3: After IRSTSR<FCLR> is modified, SYSCR4 should be written 0x71 (Enable code for IRSTSR<FCLR> in NORMAL mode
Note:Bits 7 to 3 of SYSSR4 are read as "0".
TRANS_RAM:
Example: Program transfer (Transfer the program saved in the data area to the RAM.)
RAREAS
RVCTRS
Read/Write
0x17FF in the code area and to 0x1000 to 0x17FF in the data area. Flash memory can be easily programmed
by using the API (Application Programming Interface) contained in the BOOTROM.
Bit Symbol
when fcgck is fc/4 (CGCR<FCGCKSEL>=00). Otherwise, IRSTSR<FCLR> may be enabled at unexpected timing.
After reset
Note 1: When the BOOTROM is not mapped in the code area, an instruction is fetched from the Flash or an SWI in-
Note 2: Only the first 2 Kbytes of the BOOTROM are mapped in the memory map, except in the serial PROM mode.
The BOOTROM is not mapped in the code area or the data area after reset release.
BOOTROM
Setting FLSCR1<BAREA> to "1" and writing 0xD5 to FLSCR2 maps the BOOTROM to 0x1000 to
LD
LD
LD
LD
LD
INC
INC
DEC
J
struction is fetched, depending on the capacity of the internal Flash.
Status of mapping of the RAM in the
code area
Status of mapping of the vector ad-
dress in the area
R
7
0
HL, TRANSFER_START_ADDRESS
DE, PROGRAM_START_ADDRESS
BC, BYTE_OF_PROGRAM
A, (DE)
(HL), A
HL
DE
BC
F, TRANS_RAM
-
R
6
0
-
R
5
0
-
0 :
1 :
0 :
1 :
Page 11
The enabled SYSCR3<RAREA> data is "0".
The enabled SYSCR3<RAREA> data is "1".
The enabled SYSCR3<RVCTR> data is "0".
The enabled SYSCR3<RVCTR> data is "1".
;Destination RAM address
;Source ROM address
;Number of bytes of the program to be executed -1
;Reading the program to be transferred
;Writing the program to be transferred
;Destination address increment
;Source address increment
;Have all the programs been transferred?
R
4
0
-
R
0
3
-
RVCTRS
R
2
0
RAREAS
R
1
0
TMP89FM42A
(RSTDIS)
R
0
0

Related parts for tmp89fm42a