Datasheet

Chapter 12 Development Support
MC9RS08KA2 Series Data Sheet, Rev. 4
106 Freescale Semiconductor
Table 12-2. RS08 BDC Command Summary
Command
Mnemonic
Active Background
Mode/
Non-Intrusive
Coding
Structure
Description
SYNC Non-intrusive n/a
1
Request a timed reference pulse to deter-
mine target BDC communication speed
BDC_RESET Any CPU mode 18
2
Request an MCU reset
BACKGROUND Non-intrusive 90/d
Enter active background mode if enabled
(ignore if ENBDM bit equals 0)
READ_STATUS Non-intrusive E4/SS Read BDC status from BDCSCR
WRITE_CONTROL Non-intrusive C4/CC Write BDC controls in BDCSCR
READ_BYTE Non-intrusive E0/AAAA/d/RD Read a byte from target memory
READ_BYTE_WS Non-intrusive E1/AAAA/d/SS/RD Read a byte and report status
WRITE_BYTE Non-intrusive C0/AAAA/WD/d Write a byte to target memory
WRITE_BYTE_WS Non-intrusive C1/AAAA/WD/d/SS Write a byte and report status
READ_BKPT Non-intrusive E2/RBKP Read BDCBKPT breakpoint register
WRITE_BKPT Non-intrusive C2/WBKP Write BDCBKPT breakpoint register
GO
Active background
mode
08/d
Go to execute the user application pro-
gram starting at the address currently in
the PC
TRACE1
Active background
mode
10/d
Trace one user instruction at the address
in the PC, then return to active back-
ground mode
READ_BLOCK
Active background
mode
80/AAAA/d/RD
3
Read a block of data from target memory
starting from AAAA continuing until a
soft-reset is detected
WRITE_BLOCK
Active background
mode
88/AAAA/WD/d
4
Write a block of data to target memory
starting at AAAA continuing until a
soft-reset is detected
READ_A
Active background
mode
68/d/RD Read accumulator (A)