mc9s08qd4 Freescale Semiconductor, Inc, mc9s08qd4 Datasheet - Page 168
![no-image](/images/manufacturer_photos/0/2/263/freescale_semiconductor__inc_sml.jpg)
mc9s08qd4
Manufacturer Part Number
mc9s08qd4
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.MC9S08QD4.pdf
(202 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qd4CSC
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
mc9s08qd4MSC
Manufacturer:
Freescale Semiconductor
Quantity:
150 510
Company:
Part Number:
mc9s08qd4MSC
Manufacturer:
ON
Quantity:
50 000
Development Support
1
168
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
TAGGO
READ_A
READ_CCR
READ_PC
READ_HX
READ_SP
READ_NEXT
READ_NEXT_WS
WRITE_A
WRITE_CCR
WRITE_PC
WRITE_HX
WRITE_SP
WRITE_NEXT
WRITE_NEXT_WS
The SYNC command is a special operation that does not have a command code.
Mnemonic
Command
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
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Active BDM
Non-intrusive
Active BDM/
MC9S08QD4 Series MCU Data Sheet, Rev. 3
Table 12-1. BDC Command Summary
n/a
D5/d
D6/d
90/d
E4/SS
C4/CC
E0/AAAA/d/RD
E1/AAAA/d/SS/RD
E8/SS/RD
C0/AAAA/WD/d
C1/AAAA/WD/d/SS
E2/RBKP
C2/WBKP
08/d
10/d
18/d
68/d/RD
69/d/RD
6B/d/RD16
6C/d/RD16
6F/d/RD16
70/d/RD
71/d/SS/RD
48/WD/d
49/WD/d
4B/WD16/d
4C/WD16/d
4F/WD16/d
50/WD/d
51/WD/d/SS
1
Structure
Coding
Request a timed reference pulse to determine
target BDC communication speed
Enable acknowledge protocol. Refer to
Freescale document order no. HCS08RMv1/D.
Disable acknowledge protocol. Refer to
Freescale document order no. HCS08RMv1/D.
Enter active background mode if enabled
(ignore if ENBDM bit equals 0)
Read BDC status from BDCSCR
Write BDC controls in BDCSCR
Read a byte from target memory
Read a byte and report status
Re-read byte from address just read and report
status
Write a byte to target memory
Write a byte and report status
Read BDCBKPT breakpoint register
Write BDCBKPT breakpoint register
Go to execute the user application program
starting at the address currently in the PC
Trace 1 user instruction at the address in the
PC, then return to active background mode
Same as GO but enable external tagging
(HCS08 devices have no external tagging pin)
Read accumulator (A)
Read condition code register (CCR)
Read program counter (PC)
Read H and X register pair (H:X)
Read stack pointer (SP)
Increment H:X by one then read memory byte
located at H:X
Increment H:X by one then read memory byte
located at H:X. Report status and data.
Write accumulator (A)
Write condition code register (CCR)
Write program counter (PC)
Write H and X register pair (H:X)
Write stack pointer (SP)
Increment H:X by one, then write memory byte
located at H:X
Increment H:X by one, then write memory byte
located at H:X. Also report status.
Description
Freescale Semiconductor