Fujitsu FR81S Manual De Usuario
CHAPTER 50: RAM DIAGNOSIS FUNCTION
4. Registers
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : RAM DIAGNOSIS FUNCTION
FUJITSU SEMICONDUCTOR CONFIDENTIAL
33
[bit4] TCI: Diagnosis end bit
TCI
Function
0
Read: The RAM diagnosis does not end.
Write: Flag clearing.
1
Read: The RAM diagnosis ended.
Write: No influence on the operation.
If RAM diagnosis end for Backup RAM is detected, this bit is set to "1".
When "0" is written in this bit, it is cleared to "0". However, writing "1" to this bit is invalid and this bit
holds the previous value.
"1": Set when a RAM diagnosis is ended. (It will not be set for forced termination by a key code)
"0": Set when "0" is written.
Note:
At read access of the read-modify-write instruction, "1" is always read.
[bit3 to bit1] TTYP2 to TTYP0: RAM diagnosis content indication bit
These bits are used to set the RAM diagnosis type for Backup RAM to be executed.
The RAM diagnosis types are executed in the following order.
1. Unique (unique data is {Address [3:0],{6{Address [7:0]}}})
2. Checker
3. March (all "0" -> all "1" are executed in that order.)
These bits are used to determine whether or not each type is executed.
TTYP2
TTYP1
TTYP0
Function
1
1
0
Execution of unique and checker
-
-
1
Execution of march
-
1
-
Execution of checker
1
-
-
Execution of unique
By default, the unique and checker diagnoses are executed (110
B
). However, to change the RAM diagnosis
content, be sure to specify this change before the RAM diagnosis operation start instruction.
If march is executed last, the RAM content is all "1".
[bit0] TRUN: RAM diagnosis operation status bit
TRUN
Function
0
The RAM diagnosis is stopping
1
The RAM diagnosis is in progress
This bit is used to set or hold the RAM diagnosis status for Backup RAM.
"1": Set when a RAM diagnosis is started by the key code setting.
"0": Set when all diagnoses are complete or forcibly terminated by the key code.
MB91520 Series
MN705-00010-1v0-E
2154