• Inventory
  • Products
  • Technical Information
  • Circuit Diagram
  • Data Sheet
Data Sheet
Home > Data Sheet > MC9S12XDP512CFU
MC9S12XDP512CFU

MC9S12XDP512CFU

Model MC9S12XDP512CFU
Description 16-BIT, FLASH, 40MHz, MICROCONTROLLER, PQFP80
PDF file Total 1348 pages (File size: 8M)
Chip Manufacturer PHILIPS
Chapter 15 Background Debug Module (S12XBDMV2)
Table 15-6. Firmware Commands
Command
1
READ_NEXT
2
READ_PC
READ_D
READ_X
READ_Y
READ_SP
WRITE_NEXT<f-hel
vetica><st-superscri
pt>
WRITE_D
WRITE_X
WRITE_Y
WRITE_SP
GO
GO_UNTIL
3
TRACE1
TAGGO -> GO
Opcode
(hex)
62
63
64
65
66
67
42
Data
Description
16-bit data out Increment X index register by 2 (X = X + 2), then read word X points to.
16-bit data out Read program counter.
16-bit data out Read D accumulator.
16-bit data out Read X index register.
16-bit data out Read Y index register.
16-bit data out Read stack pointer.
16-bit data in
Increment X index register by 2 (X = X + 2), then write word to location
pointed to by X.
Write program counter.
Write D accumulator.
Write X index register.
Write Y index register.
Write stack pointer.
Go to user program. If enabled, ACK will occur when leaving active
background mode.
Go to user program. If enabled, ACK will occur upon returning to active
background mode.
Execute one user instruction then return to active BDM. If enabled,
ACK will occur upon returning to active background mode.
(Previous enable tagging and go to user program.)
This command will be deprecated and should not be used anymore.
Opcode will be executed as a GO command.
43
44
45
46
47
08
0C
10
18
16-bit data in
16-bit data in
16-bit data in
16-bit data in
16-bit data in
none
none
none
none
1
2
3
If enabled, ACK will occur when data is ready for transmission for all BDM READ commands and will occur after the write is
complete for all BDM WRITE commands.
When the firmware command READ_NEXT or WRITE_NEXT is used to access the BDM address space the BDM resources
are accessed rather than user code. Writing BDM firmware is not possible.
System stop disables the ACK function and ignored commands will not have an ACK-pulse (e.g., CPU in stop or wait mode).
The GO_UNTIL command will not get an Acknowledge if CPU executes the wait or stop instruction before the “UNTIL”
condition (BDM active again) is reached (see
Section 15.4.7, “Serial Interface Hardware Handshake Protocol”
last Note).
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
581
Go Upload

* Only PDF files are allowed for upload

* Enter up to 200 characters.