TXZ Family
Flash Memory
2018-06-05
58 / 120
Rev. 2.0
4.1.3.9. Automatic Security Bit Erasing
(1)
Operation
The operation of the automatic security bit erasing command varies depending on the security state of the
flash memory.
-
Non secured state
Erase the security bit.
-
Security state
Erase all address of code flash and data flash, and erase security bit.
For details of the security function, refer to “4.1.7. Security Function”.
Another command sequence is not accepted during automatic operation.
After erased, flash memory returns to command sequence input mode.
(2)
How to set
Input security bit erasing command sequence. After the command sequences are input, the automatic security bit
erasing starts.
In non security state, all bits are erased.
Whether the security bit is erased normally, Security bit is released after
system reset. Please check the
[FCSSR]
<SEC>.
In security state, if perform the security bit erasing command sequence, data of all addresses of code flash, data
flash and security bit are erased.
Security is released after system reset. Read all addresses to check whether data of
flash and the security bit are erased normally. And if necessary, perform the automatic protect bit erasing command.
4.1.3.10. ID-Read
(1)
Operation
The ID-Read command can read the information including the type of the flash memory. The information
consists of a manufacturer code, device code, and macro code.
(2)
How to set
The 1
st
to 3
rd
bus write cycles are the ID-Read command sequences. The ID address to be read is specified in
the 4
th
bus write cycle. After the 4
th
bus write cycle, release area selection to read mode and input 5
th
bus cycle.
It can be read ID data from Flash.
If read other ID, input ID-read command sequence from 1
st
bus cycle again.
Note: After executed ID-read, must be execute the Read/Reset command for return to read mode.