MM912H634DM1AER2 Freescale Semiconductor, MM912H634DM1AER2 Datasheet - Page 203

no-image

MM912H634DM1AER2

Manufacturer Part Number
MM912H634DM1AER2
Description
16-bit Microcontrollers - MCU 64KS12 LIN2XLS/HS ISENSE
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MM912H634DM1AER2

Rohs
yes
Core
HCS12
Processor Series
MM912F634
Data Bus Width
16 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
32 KB
Data Ram Size
2 KB
On-chip Adc
Yes
Operating Supply Voltage
5.5 V to 18 V
Operating Temperature Range
- 40 C to + 105 C
Package / Case
LQFP-48
Mounting Style
SMD/SMT
A/d Bit Size
10 bit
A/d Channels Available
15
Interface Type
SPI
Maximum Operating Temperature
+ 105 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
15
Number Of Timers
1
Program Memory Type
Flash
Supply Voltage - Max
18 V
Supply Voltage - Min
5.5 V
Functional Description and Application Information
4.30.4.4
Firmware commands are used to access and manipulate CPU resources. The system must be in active BDM to execute standard
BDM firmware commands, see
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
Table 257. Firmware Commands
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:
174.
175.
176.
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 or wait mode). The
for all BDM WRITE commands.
accessed rather than user code. Writing BDM firmware is not possible.
GO_UNTIL command will not get an Acknowledge if CPU executes the wait or stop instruction before the “UNTIL” condition (BDM active
again) is reached (see
(176)
(175)
(174)
Standard BDM Firmware Commands
Opcode
(hex)
0C
62
63
64
65
66
67
42
43
44
45
46
47
08
10
18
Section 4.30.4.7, “Serial Interface Hardware Handshake Protocol"”
Section 4.30.4.2, “Enabling and Activating
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
none
none
none
Data
none
Table
257.
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.
BDM"”. Normal instruction execution is suspended
Background Debug Module (S12SBDMV1)
Description
last Note).
MM912F634
203

Related parts for MM912H634DM1AER2