English
Language : 

MC3S12RG128 Datasheet, PDF (118/546 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 3 Module Mapping Control (MMCV5) Block Description
3.3.1.3 Miscellaneous System Control Register (MISC)
Module Base + 0x0013
Starting address location affected by INITRG register setting.
7
6
5
4
3
2
R
0
0
0
0
EXSTR1 EXSTR0
W
Reset: Expanded
or Emulation
0
0
0
0
1
1
Reset: Peripheral
or Single Chip
0
0
0
0
1
1
Reset: Special Test
0
0
0
0
1
1
1. The reset state of this bit is determined at the chip integration level.
= Unimplemented or Reserved
Figure 3-5. Miscellaneous System Control Register (MISC)
Read: Anytime
Write: As stated in each bit description
NOTE
Writes to this register take one cycle to go into effect.
This register initializes miscellaneous control functions.
Table 3-3. MISC Field Descriptions
1
ROMHM
0
0
0
0
ROMON
—1
1
0
Field
Description
3:2
EXSTR[1:0]
External Access Stretch Bits 1 and 0
Write: once in normal and emulation modes and anytime in special modes
This two-bit field determines the amount of clock stretch on accesses to the external address space as shown in
Table 3-4. In single chip and peripheral modes these bits have no meaning or effect.
1
ROMHM
FLASH EEPROM or ROM Only in Second Half of Memory Map
Write: once in normal and emulation modes and anytime in special modes
0 The fixed page(s) of FLASH EEPROM or ROM in the lower half of the memory map can be accessed.
1 Disables direct access to the FLASH EEPROM or ROM in the lower half of the memory map. These physical
locations of the FLASH EEPROM or ROM remain accessible through the program page window.
0
ROMON
ROMON — Enable FLASH EEPROM or ROM
Write: once in normal and emulation modes and anytime in special modes
This bit is used to enable the FLASH EEPROM or ROM memory in the memory map.
0 Disables the FLASH EEPROM or ROM from the memory map.
1 Enables the FLASH EEPROM or ROM in the memory map.
Note: Removing the Mask-ROM from the memory map in a secured Mask-ROM device unsecures the device.
This can be either achieved by writing a ’0’ to the ROMON bit or by starting up with the Mask-ROM disabled
using the external ROMCTL pin. A secured Mask-ROM cannot be re-enabled once the device was
unsecured using this method. Writing a ’1’ to the ROMON bit will not have any effect. Re-enabling a
secured Mask-ROM requires a system reset. Additionally, when starting in special single chip mode, the
BDM firmware in a Mask-ROM device will disable a secured ROM automatically before BDM access to the
device is enabled.
MC3S12RG128 Data Sheet, Rev. 1.05
118
Freescale Semiconductor