SC9S12XS256J1MAA FREESCALE [Freescale Semiconductor, Inc], SC9S12XS256J1MAA Datasheet - Page 645

no-image

SC9S12XS256J1MAA

Manufacturer Part Number
SC9S12XS256J1MAA
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
20.4.2.10 Unsecure Flash Command
The Unsecure Flash command will erase the entire P-Flash and D-Flash memory space and, if the erase is
successful, will release security.
Upon clearing CCIF to launch the Unsecure Flash command, the Memory Controller will erase the entire
P-Flash and D-Flash memory space and verify that it is erased. If the Memory Controller verifies that the
entire Flash memory space was properly erased, security will be released. If the erase verify is not
successful, the Unsecure Flash operation sets MGSTAT1 and terminates without changing the security
state. During the execution of this command (CCIF=0) the user must not write to any Flash module
register. The CCIF flag is set after the Unsecure Flash operation has completed.
Freescale Semiconductor
1
1
As defined by the memory map for FTMR128K1.
As found in the memory map for FTMR128K1.
Register
Register
FSTAT
FSTAT
CCOBIX[2:0]
MGSTAT1
MGSTAT0
Table 20-49. Unsecure Flash Command FCCOB Requirements
MGSTAT1
MGSTAT0
ACCERR
ACCERR
Error Bit
Error Bit
FPVIOL
FPVIOL
Table 20-48. Erase P-Flash Sector Command Error Handling
000
Table 20-50. Unsecure Flash Command Error Handling
S12XS Family Reference Manual, Rev. 1.09
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see
Set if an invalid global address [22:16] is supplied
Set if a misaligned phrase address is supplied (global address [2:0] != 000)
Set if the selected P-Flash sector is protected
Set if any errors have been encountered during the verify operation
Set if any non-correctable errors have been encountered during the verify
operation
Set if CCOBIX[2:0] != 000 at command launch
Set if command not available in current mode (see
Set if any area of the P-Flash or D-Flash memory is protected
Set if any errors have been encountered during the verify operation
Set if any non-correctable errors have been encountered during the verify
operation
1
0x0B
FCCOB Parameters
Error Condition
Error Condition
Not required
64 KByte Flash Module (S12XFTMR64K1V1)
1
Table
Table
20-28)
20-28)
1
645

Related parts for SC9S12XS256J1MAA