TC1796
System Units (Vol. 1 of 2)
Program Memory Unit
User’s Manual 7-14 V2.0, 2007-07
PMU, V2.0
7.2.5 Command Sequence Definitions
Flash commands are executed by writing specific data to dedicated addresses in a well
defined command specific sequence. The data to be transmitted within a command
sequence must be transmitted right-aligned on data bus lines D[7:0] as byte (exception:
32-bit data, 64-bit data, 32-bit password). Data lines D[31:8] are ignored in a command
sequence (indicated in the “Data” columns of the command tables by a “X”). Addresses
in a command sequence always refer to the non-cached address ranges. The available
command sequences are shown in Figure 7-4.
Note: During a programming or erasing operation, a minimum CPU clock (f
CPU
)
frequency of 1 MHz must be provided.
Table 7-4 Flash Command Overview
Command Description Details see
Reset-to-Read Resetting Flash State Machine to
Read Mode
Page 7-15
Enter Page Mode Initiate Page Mode Page 7-15
Load Page Buffer Loading page assembly buffer with
32-bit or 64-bit data
Page 7-16
Write Page Programming a Flash page with
assembly buffer content
Page 7-18
Write User Configuration Page Programming a user configuration
page with assembly buffer content
Page 7-19
Erase Sector Erasing a PFLASH or DFLASH
sector
Page 7-20
Erase User Configuration Block Erasing a UCB Page 7-22
Disable Write Protection
1)
1) This command is not available for the DFLASH.
Temporarily unlocking write
protection
Page 7-23
Disable Read Protection Temporarily unlocking read
protection
Page 7-24
Resume Protection Resumption of disabled read or write
protection
Page 7-24
Clear Status Resetting status register flags Page 7-25