![NXP Semiconductors MC9S08PA4 Скачать руководство пользователя страница 356](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08pa4/mc9s08pa4_reference-manual_1721838356.webp)
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.
10 C Y C LE S
B D C C LO 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
P E R C E IV E D S T A R T
O F B IT T IM E
H IG H -IM P E D A N C E
B K G D P IN
10 C Y C LE S
S P E E D -U P P U LS E
S P E E D U P
P U LS E
E A R LIE S T S TA R T
O F N E X T B IT
H O S T S A M P LE S B K G D P IN
Figure 18-4. BDM target-to-host serial bit timing (logic 0)
18.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.
Background debug controller (BDC)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
356
NXP Semiconductors
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...