MM912H634CV1AE Freescale Semiconductor, MM912H634CV1AE Datasheet - Page 188

no-image

MM912H634CV1AE

Manufacturer Part Number
MM912H634CV1AE
Description
64KS12 LIN2xLS/HS Isense
Manufacturer
Freescale Semiconductor
Series
-r
Datasheet

Specifications of MM912H634CV1AE

Applications
Automotive
Core Processor
HCS12
Program Memory Type
FLASH (64 kB)
Controller Series
HCS12
Ram Size
6K x 8
Interface
LIN
Number Of I /o
-
Voltage - Supply
5.5 V ~ 27 V
Operating Temperature
-40°C ~ 105°C
Mounting Type
Surface Mount
Package / Case
48-LQFP Exposed Pad
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
4.31.4.4
BDM firmware commands are used to access and manipulate CPU resources. The system must be in active BDM to execute
standard BDM firmware commands, see
suspended while the CPU executes the firmware located in the standard BDM firmware lookup table. The hardware command
BACKGROUND is the usual way to activate BDM.
As the system enters active BDM, the standard BDM firmware lookup table and BDM registers become visible in the on-chip
memory map at 0x3_FF00–0x3_FFFF, and the CPU begins executing the standard BDM firmware. The standard BDM firmware
watches for serial commands and executes them as they are received.
The firmware commands are shown in
4.31.4.5
Hardware and firmware BDM commands start with an 8-bit opcode followed by a 16-bit address and/or a 16-bit data word,
depending on the command. All the read commands return 16 bits of data despite the byte or word implication in the command
name.{Satatement}
Freescale Semiconductor
READ_NEXT
READ_PC
READ_D
READ_X
READ_Y
READ_SP
WRITE_NEXT
WRITE_PC
WRITE_D
WRITE_X
WRITE_Y
WRITE_SP
GO
GO_UNTIL
TRACE1
TAGGO -> GO
Note:
169.
170.
171.
Command
If enabled, ACK will occur when data is ready for transmission for all BDM READ commands and will occur after the write is complete
When the firmware command READ_NEXT or WRITE_NEXT is used to access the BDM address space the BDM resources are
System stop disables the ACK function and ignored commands will not have an ACK-pulse (e.g., CPU in stop mode). The GO_UNTIL
for all BDM WRITE commands.
accessed rather than user code. Writing BDM firmware is not possible.
command will not get an Acknowledge if CPU executes the stop instruction before the “UNTIL” condition (BDM active again) is reached
(see
(171)
Section 4.31.4.7, “Serial Interface Hardware Handshake Protocol”
(170)
(169)
Standard BDM Firmware Commands
BDM Command Structure
8-bit reads return 16-bits of data, only one byte of which contains valid data. If reading an
even address, the valid data will appear in the MSB. If reading an odd address, the valid data
will appear in the LSB.
Opcode
(hex)
0C
62
63
64
65
66
67
42
43
44
45
46
47
08
10
18
16-bit data out
16-bit data out
16-bit data out
16-bit data out
16-bit data out
16-bit data out
16-bit data in
16-bit data in
16-bit data in
16-bit data in
16-bit data in
16-bit data in
Data
none
none
none
none
Table
Section 4.31.4.2, “Enabling and Activating
MM912_634 Advance Information, Rev. 4.0
267.
Table 267. Firmware Commands
Increment X index register by 2 (X = X + 2), then read word X points to.
Read program counter.
Read D accumulator.
Read X index register.
Read Y index register.
Read stack pointer.
Increment X index register by 2 (X = X + 2), then write word to location
pointed to by X.
Write program counter.
Write D accumulator.
Write X index register.
Write Y index register.
Write stack pointer.
Go to user program. If enabled, ACK will occur when leaving active background mode.
Go to user program. If enabled, ACK will occur upon returning to active background
mode.
Execute one user instruction then return to active BDM. If enabled,
ACK will occur upon returning to active background mode.
(Previous enable tagging and go to user program.)
This command will be deprecated and should not be used anymore.
Opcode will be executed as a GO command.
last note).
Description
BDM”. Normal instruction execution is
188

Related parts for MM912H634CV1AE