TXZ Family
Flash Memory
2018-06-05
96 / 120
Rev. 2.0
Table 6.10 ACK response data corresponding to CHECKSUM data
Transmit data
Meaning
0xN8(Note)
A receive error occurred in the operation command
data.
0xN1(Note)
A CHECKSUM error or password error occurred.
0xN0(Note)
The CHECKSUM value was determined as correct
value.
Note: The upper 4 bits of the ACK response data are the same as the operation command data.
Table 6.11 ACK response data corresponding to flash memory erasing operation
Transmit data
Meaning
0x54
Determined as a flash memory erase command.
0x4F
Erase command completed.
0x4C
Erase command completed illegally.
0x47
Flash operation command was aborted.
6.6.6.3. Password
Any data (a part of user memory) in the flash memory can be used as a password. Once the password is set, RAM
transfer command need to password authentication.
(1) Mechanism of Password
Arbitrary data (sequential data greater than 8 bytes or more) in the flash memory can be set a password. Password
verification is performed by the comparison between the password sent from the external controller and the memory
data in the MCU where the password is specified.
(2)
Password Configuration
A password is comprised of four elements: PLEN, PNSA, PCSA, and a password string. See “Figure 6.16
Password configuration (Example of Transmission)”.
・
PLEN (Password length data)
The length of a password is specified in the range of “0x08” to “0xFF”. A password error occurs when PLEN is
set to less than “0x07”, address data of PNSA is less than “0x07”, or password length data does not match the
address of PNSA.
・
PNSA (Password store start address)
Use the address “0x5E001000” up to the maximum address in the unit of four bytes. Memory data of specified
address is the number of bytes of password string. A password error occurs when address data of PNSA is less
than “0x07”, or password length data does not match the address of PNSA. Memory data is defined as N.