Chapter 7 ROM
7.1
Introduction
There are several classes of functions stored in ROM:
? A boot program, including ROM-based, slave-port command interpreter
? A collection of utilities that can be invoked via the ROM-based slave port interpreter
? ROM functions that are callable from user code using the call_trap() function
ROM code can only be executed when the CPU is in Supervisor mode. Any attempt to access the ROM
while in User mode will result in a privilege violation exception. Error exceptions arising from User-mode
attempts to access Supervisor-only resources will result in a reset of the device.
7.2
Boot ROM
The MMA955xL platform boots from a standard routine in ROM. This boot function (shown in
Figure 7-1 ) is responsible for a number of initialization steps before transferring control to user code in
flash memory. The ROM also contains a simple command interpreter capable of running a number of
utility and test functions for programming and erasing flash memory, as well as a limited set of other
functions.
Individual steps shown in Figure 7-1 are described in more detail in subsequent sections. One common
theme is the use of the Flash Options Register (FOPT). This register is not visible to software operating in
User mode on the ColdFire core. Normally, it is accessed only by supervisor code operating out of the
on-chip ROM.
One of the functions of FOPT is to configure boot options for the device. These are normally fetched once
at power-up from the locations 0x3FFE and 0x3FFF. FOPT bits control the security state of the device,
such as whether or not a mass-erase operation is pending (required to clear device security) and whether
the part is to boot to flash, RAM or the slave-port command interpreter. For a flash boot, the FOPT also
controls whether a checksum is calculated prior to transferring control to flash and determines what is done
if a checksum fails.
Because FOPT[15:8] is initialized only at power-up, it can be manipulated by the slave-port command
interpreter and BDM to reconfigure device operation on subsequent reset operations.
For fielded applications, the normal control flow for the boot function is 1-2-3-4-9. (See Figure 7-1 .) Other
options are intended primarily for debug and development purposes.
MMA955xL Intelligent, Motion-Sensing Platform Hardware Reference Manual, Rev. 1.0
Freescale Semiconductor, Inc.
71
相关PDF资料
KITMMA955XLEVM KIT EVALUATION FOR MMA955XL
KITMPL115A1EVB KIT EVALUATION FOR MPL115A1
KITMPL115A1SPI KIT EVALUATION FOR PL115A1SP1
KITMPL115A2I2C KIT EVALUATION FOR PL115A2I2C
KITMPVZ5004EVK KIT EVAL PRESSURE SENS BOARD
KN500B1/4 SWITCH KNOB STRAIGHT .50" BLACK
KN5700B1/4 SWITCH KNOB STRAIGHT .75" BLACK
KN700B1/4 SWITCH KNOB STRAIGHT .75" BLACK
相关代理商/技术参数
KITMMA9551LEVM 功能描述:加速传感器开发工具 Dev Board MMA9551L RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V
KITMMA955XLEVM 功能描述:加速传感器开发工具 EVM KIT FOR MMA955XL RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V
KITMMDS08AB32 功能描述:DEV KIT FOR 68HC908AB32 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08JB8 功能描述:DEV KIT FOR 68HC908JB8 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08JL 功能描述:DEVKIT 68HC908JL3/JK3/JK1 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08KX 功能描述:DEV KIT FOR 68HC908KX8/KX2 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08MR32 功能描述:DEVKIT FOR 68HC908MR32/MR16 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMEVS08AB32 功能描述:DEV KIT FOR 68HC908AB32 MMEVS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP