![NXP Semiconductors MC9S08LG16 Reference Manual Download Page 343](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08lg16/mc9s08lg16_reference-manual_1721837343.webp)
Chapter 18 Development Support
MC9S08LG32 MCU Series, Rev. 5
Freescale Semiconductor
343
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.
shows all HCS08 BDC commands, a shorthand description of their coding structure, and the
meaning of each command.
Coding Structure Nomenclature
to describe the coding structure of the BDC commands.
Commands begin with an 8-bit hexadecimal command code in the host-to-target
direction (most significant bit first)
/ = separates parts of the command
d
=
delay 16 target BDC clock cycles
AAAA
=
a 16-bit address in the host-to-target direction
RD
=
8 bits of read data in the target-to-host direction
WD
=
8 bits of write data in the host-to-target direction
RD16
=
16 bits of read data in the target-to-host direction
WD16
=
16 bits of write data in the host-to-target direction
SS
=
the contents of BDCSCR in the target-to-host direction (STATUS)
CC
=
8 bits of write data for BDCSCR in the host-to-target direction (CONTROL)
RBKP
=
16 bits of read data in the target-to-host direction (from BDCBKPT breakpoint
register)
WBKP
=
16 bits of write data in the host-to-target direction (for BDCBKPT breakpoint register)
Summary of Contents for MC9S08LG16
Page 2: ......
Page 4: ......
Page 8: ......
Page 20: ......
Page 26: ...Chapter 1 Device Overview MC9S08LG32 MCU Series Rev 5 26 Freescale Semiconductor...
Page 40: ...Chapter 2 Pins and Connections MC9S08LG32 MCU Series Rev 5 40 Freescale Semiconductor...
Page 372: ......