32 KByte Flash Module (S12FTMRG32K1V1)
MC9S12G Family Reference Manual Rev.1.27
NXP Semiconductors 843
25.4.4.3 Valid Flash Module Commands
Table 25-27 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.
+
25.4.4.4 P-Flash Commands
Table 25-28 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 25-27. 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 25-28. 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.