mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 574

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 15 Background Debug Module (S12XBDMV2)
15.3.2.1
Register Global Address 0x7FFF01
1
2
3
Read: All modes through BDM operation when not secured
Write: All modes through BDM operation when not secured, but subject to the following:
574
Special Single-Chip Mode
ENBDM is read as 1 by a debugging environment in special single chip mode when the device is not secured or secured but
fully erased (Flash and EEPROM). This is because the ENBDM bit is set by the standard firmware before a BDM command
can be fully transmitted and executed.
CLKSW is read as 1 by a debugging environment in emulation modes when the device is not secured and read as 0 when
secured.
UNSEC is read as 1 by a debugging environment in special single chip mode when the device is secured and fully erased,
else it is 0 and can only be read if not secure (see also bit description).
ENBDM
Field
7
— ENBDM should only be set via a BDM hardware command if the BDM firmware commands
— BDMACT can only be set by BDM hardware upon entry into BDM. It can only be cleared by
— CLKSW can only be written via BDM hardware WRITE_BD commands.
— All other bits, while writable via BDM hardware or standard BDM firmware write commands,
Emulation Modes
All Other Modes
are needed. (This does not apply in special single chip and emulation modes).
the standard BDM firmware lookup table upon exit from BDM active mode.
should only be altered by the BDM hardware or standard firmware lookup table as part of BDM
command execution.
Enable BDM — This bit controls whether the BDM is enabled or disabled. When enabled, BDM can be made
active to allow firmware commands to be executed. When disabled, BDM cannot be made active but BDM
hardware commands are still allowed.
0 BDM disabled
1 BDM enabled
Note: ENBDM is set by the firmware out of reset in special single chip mode and by hardware in emulation
BDM Status Register (BDMSTS)
Reset
modes. In special single chip mode with the device secured, this bit will not be set by the firmware until
after the EEPROM and Flash erase verify tests are complete. In emulation modes with the device
secured, the BDM operations are blocked.
W
R
ENBDM
0
1
0
0
7
1
Figure 15-3. BDM Status Register (BDMSTS)
Table 15-2. BDMSTS Field Descriptions
= Unimplemented, Reserved
= Always read zero
BDMACT
MC9S12XDP512 Data Sheet, Rev. 2.17
1
0
0
6
0
0
0
0
5
Description
SDV
0
0
0
4
TRACE
0
0
0
3
= Implemented (do not alter)
CLKSW
1
0
0
2
2
Freescale Semiconductor
UNSEC
0
1
0
0
3
0
0
0
0
0

Related parts for mc9s12xd256