Freescale Semiconductor Tower System Module S12G240 TWR-S12G240 TWR-S12G240 数据表

产品代码
TWR-S12G240
下载
页码 1292
16 KByte Flash Module (S12FTMRG16K1V1)
MC9S12G Family Reference Manual,
Rev.1.23
806
Freescale Semiconductor
24.4.4.3
Valid Flash Module Commands
 present the valid Flash commands, as enabled by the combination of the functional MCU
mode (Normal SingleChip NS, Special Singlechip SS) with the MCU security state (Unsecured, Secured).
Special Singlechip mode is selected by input mmc_ss_mode_ts2 asserted. MCU Secured state is selected
by input mmc_secure input asserted.
+
24.4.4.4
P-Flash Commands
 summarizes the valid P-Flash commands along with the effects of the commands on the
P-Flash block and other resources within the Flash module.
Table 24-25. Flash Commands by Mode and Security State
FCMD
Command
Unsecured
Secured
NS
1
1
Unsecured Normal Single Chip mode
SS
2
2
Unsecured Special Single Chip mode.
NS
3
3
Secured Normal Single Chip mode.
SS
4
4
Secured Special Single Chip mode.
0x01
Erase Verify All Blocks
0x02
Erase Verify Block
0x03
Erase Verify P-Flash Section
0x04
Read Once
0x06
Program P-Flash
0x07
Program Once
0x08
Erase All Blocks
0x09
Erase Flash Block
0x0A
Erase P-Flash Sector
0x0B
Unsecure Flash
0x0C
Verify Backdoor Access Key
0x0D
Set User Margin Level
0x0E
Set Field Margin Level
0x10
Erase Verify EEPROM Section
0x11
Program EEPROM
0x12
Erase EEPROM Sector
Table 24-26. P-Flash Commands
FCMD
Command
Function on P-Flash Memory
0x01
Erase Verify All
Blocks
Verify that all P-Flash (and EEPROM) blocks are erased.