tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 38

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
2.1
Functions of the CPU Core
Address Trap Control Register
Address Trap Control Code Register
(1F94H)
(1F95H)
ATKEY
ATAS
2.1.5.3
2.1.5.4
2.1.5.5
Note:Read-modify-write instructions, such as a bit manipulation, cannot access ATAS or ATKEY register because
these register are write only.
= 0, the system clock is turned off, causing the CPU to become locked up. To prevent this problem, upon
detecting SYSCR2<XEN> = 0, SYSCR2<XEN> = SYSCR2<SYSCK> = 0 or SYSCR2<SYSCK> = 1, the
device automatically generates an internal reset signal to let the system clock continue oscillating.
a lower detection frequency, or higher than an upper detection frequency. Refer to Section "Oscillation Fre-
quency Detector".
ATKEY
Note 1: In development tools, address trap cannot be prohibited in the internal RAM,SFR or DBR/EBR area with
Note 2: While the SWI instruction at an address immediately before the address trap area is executing, the
Development tool setting
Refer to the Section “Watchdog Timer.”
When SYSCR2<XEN> is cleared to 0 or when SYSCR2<XEN> is cleared to 0 while SYSCR2<SYSCK>
The oscillation frequency detector generates a reset for I/O if the oscillation of high frequency is lower than
ATAS
Watchdog Timer Reset
System Clock Reset
Oscillation Frequency Detection Reset
7
7
-
・ To prohibit the address trap:
the address trap control registers. When using development tools, even if the address trap permission/
prohibition setting is changed in the user’s program, this change is ineffective. To execute instructions
from the RAM area, development tools must be set accordingly.
program counter is incremented to point to the next address in the address trap area; an address trap is
therefore taken immediately.
6
Select the address trap
permission / prohibition
6
Write control code to prohibit
address trap
-
1. Modify the iram (mapping attribute) area to (00040H to 000BFH) in the memory map win-
2. Set 000C0H to "address trap prohibition area" as a new eram (mapping attribute) area.
3. Load the user program
4. Execute the address trap prohibition code in the user’s program
dow.
5
5
-
4
4
-
0: Permit address trap
1: Prohibit address trap
(It may be available after setting control code for ATKEY register)
D2H: Address trap prohibition code
Others: Ineffective
3
3
-
Page 24
2
2
-
1
1
-
ATAS
0
0
(initial value: **** ***0)
(initial value: **** ****)
TMP88FW45AFG
Write only
Write only

Related parts for tmp88fw45afg