sc9s12hy64j0vllr Freescale Semiconductor, Inc, sc9s12hy64j0vllr Datasheet - Page 176

no-image

sc9s12hy64j0vllr

Manufacturer Part Number
sc9s12hy64j0vllr
Description
S12 Microcontrollers Mcu 16-bit Hcs12 Cisc 32kb Flash 5v Tray
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Background Debug Module (S12SBDMV1)
accesses taking place.This protocol allows a great flexibility for the POD designers, since it does not rely
on any accurate time measurement or short response time to any event in the serial communication.
Figure 5-11
instruction is used as an example. First, the 8-bit instruction opcode is sent by the host, followed by the
address of the memory location to be read. The target BDM decodes the instruction. A bus cycle is grabbed
(free or stolen) by the BDM and it executes the READ_BYTE operation. Having retrieved the data, the
BDM issues an ACK pulse to the host controller, indicating that the addressed byte is ready to be retrieved.
After detecting the ACK pulse, the host initiates the byte retrieval process. Note that data is sent in the form
of a word and the host needs to determine which is the appropriate byte based on whether the address was
odd or even.
176
BKGD Pin
(Target MCU)
BDM Clock
ACK Pulse
BKGD Pin
Transmits
Last Command Bit
16th Tick of the
Target
shows the ACK handshake protocol in a command level timing diagram. The READ_BYTE
READ_BYTE
If the ACK pulse was issued by the target, the host assumes the previous
command was executed. If the CPU enters wait or stop prior to executing a
hardware command, the ACK pulse will not be issued meaning that the
BDM command was not executed. After entering wait or stop mode, the
BDM command is no longer pending.
Host
Figure 5-11. Handshake Protocol at Command Level
High-Impedance
Byte Address
Target
32 Cycles
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Figure 5-10. Target Acknowledge Pulse (ACK)
BDM Decodes
the Command
Minimum Delay
From the BDM Command
NOTE
16 Cycles
BDM Executes the
READ_BYTE Command
Speedup Pulse
Target
BDM Issues the
ACK Pulse (out of scale)
(2) Bytes are
Retrieved
Host
Next Bit
Earliest
Start of
Freescale Semiconductor
High-Impedance
Host
Command
New BDM
Target

Related parts for sc9s12hy64j0vllr