TXZ Family
Flash Memory
2018-06-05
65 / 120
Rev. 2.0
4.1.9. User Information Area
Instructions cannot be executed in the user information area. Data reading can be instructed by the CPU.
Data becomes accessible on bank switching with
[FCBNKCR]
. For address assignment, refer to “Table 2.10
Information Area Configuration of Code Flash”. After bank switching, do not access to code flash (Area 0).
The chip erasing command is not erased; therefore, it can be written the unique number for management.
User information area cannot be used with code flash (Area 0) Use this area exclusively.
4.1.9.1. Switching Procedure of the User Information Area
(1)
Load the switching program on the RAM, and make Jump.
(2)
Write “111” to
[FCBUFDISCLR]
<BUFDISCLR[2:0]>.
(3)
Write “111” to
[FCBNKCR]
<BANK0[2:0]>.
(4)
Read
[FCBNKCR]
<BANK0[2:0]> to confirm whether
[FCBNKCR]
<BANK0[2:0]> is “111”.
(5)
Perform the following operation in the user information area:
Data reading, data programming, data erasing
(6)
Write “000” to
[FCBNKCR]
<BANK0[2:0]>.
(7)
Read
[FCBNKCR]
<BANK0[2:0]> to confirm whether
[FCBNKCR]
<BANK0[2:0]> is “000”.
(8)
Write “000” to
[FCBUFDISCLR]
<BUFDISCLR[2:0]>.
(9)
Return to the original program.
4.1.9.2. Data programming Method for the User Information Area
Data programming on the user information area is programmed samle procedure of code flash (Area 0) by step (5)
of “4.1.9.1”.
4.1.9.3. Data Erasing Method for the User Information Area
Data erasing on the user information area is erased samle procedure of code flash (Area 0) by step (5) of “4.1.9.1”.
All data are erased at one time.