Table 6.12 Password Setting Values And Setting Ranges - Toshiba TXZ Reference Manual

32-bit risc microcontroller
Table of Contents

Advertisement

(3) Password Setting/Releasing/Verification
・Password setting
Password system uses a part of a user program. Therefore, special process is not required for password setting.
At the time when a password is programmed to the code flash, a password is set.
・Password releasing
To release a password, chip erasing (entire erasing) of code flash is required. A password is released at the time
when the code flash is initialized to "0xFF" except the user information area.
・The case where password verification is unnecessary.
When the entire area of the code flash and data flash are "0xFF", the product is determined as a blank product.
At this time, password verification is not performed.
For example, even if code flash area is all "0xFF" a password error occurs as long as data remains in data flash.
In this case, perform chip erasing.
(4) Password Setting Values and Setting Ranges
A password must be set according to the condition described in "Table 6.12 Password setting values and setting
ranges". Unless the condition is met, a password error occurs.
Password
PNSA
(Address where the number of
passwords is stored)
PCSA
(Address where the start
address used for password
comparison)
N (The number of passwords)
Password
Note1: Over the same three bytes consecutive data cannot be used as a password string.
Note2: When the flash memory erasing command is used, a dummy password string should be sent to
the blank product.
2018-06-05

Table 6.12 Password setting values and setting ranges

Blank product (Note 1)
0x5E001000 ≤ PNSA ≤ Maximum
memory address
0x5E001000 ≤ PCSA ≤ Maximum
memory address
Necessary (Note 2)
Necessary (Note 2)
98 / 120
TXZ Family
Flash Memory
Non blank product
0x5E001000 ≤ PNSA ≤ (Maximum
memory address)
0x5E001000 ≤ PCSA ≤ (Maximum
memory address) – (N x 4) + 1
8 ≤ N
Necessary (Note 1)
Rev. 2.0

Advertisement

Table of Contents
loading

Table of Contents