mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 506

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
64 KByte Flash Module (S12FTMRG64K512V1)
17.4.9
If a Flash command is active (CCIF = 0) when the MCU requests stop mode, the current Flash operation
will be completed before the MCU is allowed to enter stop mode.
17.5
The Flash module provides security information to the MCU. The Flash security state is defined by the
SEC bits of the FSEC register (see
register using data read from the security byte of the Flash configuration field at global address 0x3_FF0F.
The security state out of reset can be permanently changed by programming the security byte assuming
that the MCU is starting from a mode where the necessary P-Flash erase and program commands are
available and that the upper region of the P-Flash is unprotected. If the Flash security byte is successfully
programmed, its new value will take affect after the next MCU reset.
The following subsections describe these security-related subjects:
17.5.1
The MCU may be unsecured by using the backdoor key access feature which requires knowledge of the
contents of the backdoor keys (four 16-bit words programmed at addresses 0x3_FF00-0x3_FF07). If the
KEYEN[1:0] bits are in the enabled state (see
command (see
keys stored in the Flash memory via the Memory Controller. If the keys presented in the Verify Backdoor
Access Key command match the backdoor keys stored in the Flash memory, the SEC bits in the FSEC
register (see
not permitted as backdoor keys. While the Verify Backdoor Access Key command is active, P-Flash
memory and EEPROM memory will not be available for read access and will return invalid data.
The user code stored in the P-Flash memory must have a method of receiving the backdoor keys from an
external stimulus. This external stimulus would typically be through one of the on-chip serial ports.
If the KEYEN[1:0] bits are in the enabled state (see
backdoor key access sequence described below:
506
1. Follow the command sequence for the Verify Backdoor Access Key command as explained in
2. If the Verify Backdoor Access Key command is successful, the MCU is unsecured and the
Unsecuring the MCU using Backdoor Key Access
Unsecuring the MCU in Special Single Chip Mode using BDM
Mode and Security Effects on Flash Command Availability
Section 17.4.6.11
SEC[1:0] bits in the FSEC register are forced to the unsecure state of 10
Security
Stop Mode
Unsecuring the MCU using Backdoor Key Access
Table
Section
17-10) will be changed to unsecure the MCU. Key values of 0x0000 and 0xFFFF are
17.4.6.11) allows the user to present four prospective keys for comparison to the
MC9S12VR Family Reference Manual,
Preliminary - Subject to Change Without Notice
Table
17-10). During reset, the Flash module initializes the FSEC
Section
Section
17.3.2.2), the Verify Backdoor Access Key
17.3.2.2), the MCU can be unsecured by the
Rev. 2.2
Freescale Semiconductor

Related parts for mc9s12vr48