Freescale Semiconductor MCF51QE128RM Freescale-Recommended BDM Pinout, No Connect, GND Reset

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 419
Image 419

 

 

Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

 

Table 18-28. PST/DDATA Specification for Supervisor-Mode Instructions

 

 

 

 

Instruction

Operand Syntax

PST/DDATA

 

 

 

 

 

halt

 

PST = 0x01,

 

 

 

PST = 0x0F

 

 

 

 

 

move.l

Ay,USP

PST = 0x01

 

 

 

 

 

move.l

USP,Ax

PST = 0x01

 

 

 

 

 

move.w

SR,Dx

PST = 0x01

 

 

 

 

 

move.w

{Dy,#<data>},SR

PST = 0x01, {PST = 0x03}

 

 

 

 

 

movec.l

Ry,Rc

PST = 0x01

 

 

 

 

 

rte

 

PST = 0x07, {PST = 0x0B, DD = source operand}, {PST = 0x03}, {PST = 0x0B,

 

 

 

DD = source operand},

 

 

 

PST = 0x05, {[PST = 0x0{DE}], DD = target address}

 

 

 

 

 

stldsr.w

#imm

PST = 0x01, {PST = 0x0A, DD = destination operand, PST = 0x03}

 

 

 

 

 

stop

#<data>

PST = 0x01,

 

 

 

PST = 0x1E

 

 

 

 

 

wdebug.l

<ea>y

PST = 0x01, {PST = 0x0B, DD = source, PST = 0x0B, DD = source}

 

 

 

 

 

The move-to-SR, STLDSR, and RTE instructions include an optional PST = 0x3 value, indicating an entry into user mode.

Similar to the exception processing mode, the stopped state (PST = 0x1E) and the halted state (PST = 0x1F) display this status for two entries when the ColdFire processor enters the given mode.

18.4.4Freescale-Recommended BDM Pinout

Typically, a relatively simple interface pod is used to translate commands from a host computer into commands for the custom serial interface to the single-wire background debug system. Depending on the development tool vendor, this interface pod may use a standard RS-232 serial port, a parallel printer port, or some other type of communications such as a universal serial bus (USB) to communicate between the host PC and the pod. The pod typically connects to the target system with ground, the BKGD pin, RESET, and sometimes VDD. An open-drain connection to reset allows the host to force a target system reset, useful to regain control of a lost target system or to control startup of a target system before the on-chip nonvolatile memory has been programmed. Sometimes VDD can be used to allow the pod to use power from the target system to avoid the need for a separate power supply. However, if the pod is powered separately, it can be connected to a running target system without forcing a target system reset or otherwise disturbing the running application program.

BKGD

1

No Connect

3

No Connect

5

2GND

4RESET

6VDD

Figure 25. Recommended BDM Connector

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

419

Get the latest version from freescale.com

Page 419
Image 419
Freescale Semiconductor MCF51QE128RM Freescale-Recommended BDM Pinout, No Connect, GND Reset, Freescale Semiconductor 419