NXP Semiconductors MC9S08SU16 Reference Manual page 535

Table of Contents

Advertisement

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)
Command mnemonic
SYNC
ACK_ENABLE
ACK_DISABLE
BACKGROUND
READ_STATUS
WRITE_CONTROL
READ_BYTE
READ_BYTE_WS
READ_LAST
WRITE_BYTE
WRITE_BYTE_WS
READ_BKPT
WRITE_BKPT
GO
TRACE1
NXP Semiconductors
Table 27-1. BDC command summary
Active BDM/ non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Non-intrusive
Active BDM
Active BDM
Table continues on the next page...
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 27 Development support
Coding structure
1
N/A
Request a timed reference
pulse to determine target BDC
communication speed
D5/d
Enable acknowledge protocol.
Refer to NXP document order
no. HCS08RMv1/D.
D6/d
Disable acknowledge
protocol. Refer to NXP
document order no.
HCS08RMv1/D.
90/d
Enter active background
mode if enabled (ignore if
ENBDM bit equals 0)
E4/SS
Read BDC status from
BDCSCR
C4/CC
Write BDC controls in
BDCSCR
E0/AAAA/d/RD
Read a byte from target
memory
E1/AAAA/d/SS/RD
Read a byte and report status
E8/SS/RD
Re-read byte from address
just read and report status
C0/AAAA/WD/d
Write a byte to target memory
C1/AAAA/WD/d/SS
Write a byte and report status
E2/RBKP
Read BDCBKPT breakpoint
register
C2/WBKP
Write BDCBKPT breakpoint
register
08/d
Go to execute the user
application program starting at
the address currently in the
PC
10/d
Trace 1 user instruction at the
address in the PC, then return
to active background mode
Description
535

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents