Bdc Commands - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Background debug controller (BDC)
The following figure shows the host receiving a logic 0 from the target HCS08 MCU.
Because the host is asynchronous to the target MCU, there is a 0-to-1 cycle delay from
the host-generated falling edge on BKGD to the start of the bit time as perceived by the
target MCU. The host initiates the bit time but the target HCS08 finishes it. Because the
target wants the host to receive a logic 0, it drives the BKGD pin low for 13 BDC clock
cycles, then briefly drives it high to speed up the rising edge. The host samples the bit
level about 10 cycles after starting the bit time.
B D C C L O C K
(T A R G E T M C U )
H O S T D R IV E
T O B K G D P IN
T A R G E T M C U
D R IV E A N D
S P E E D -U P P U L S E
P E R C E IV E D S T A R T
O F B IT T IM E
B K G D P IN
Figure 27-4. BDM target-to-host serial bit timing (logic 0)

27.2.3 BDC commands

BDC commands are sent serially from a host computer to the BKGD pin of the target
HCS08 MCU. All commands and data are sent MSB-first using a custom BDC
communications protocol. Active background mode commands require that the target
MCU is currently in the active background mode while non-intrusive commands may be
issued at any time whether the target MCU is in active background mode or running a
user application program.
The following table shows all HCS08 BDC commands, a shorthand description of their
coding structure, and the meaning of each command.
Coding Structure Nomenclature
This nomenclature is used in the following table to describe the coding structure of the
BDC commands.
534
1 0 C Y C L E S
1 0 C Y C L E S
H O S T S A M P L E S B K G D P IN
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
H IG H -IM P E D A N C E
S P E E D U P
P U L S E
E A R L IE S T S T A R T
O F N E X T B IT
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents