mc9s12e256 Freescale Semiconductor, Inc, mc9s12e256 Datasheet - Page 450

no-image

mc9s12e256

Manufacturer Part Number
mc9s12e256
Description
Hcs12 Microcontrollers 16-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12e256CFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256CPVE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s12e256CPVE
Manufacturer:
FREESCA
Quantity:
300
Part Number:
mc9s12e256CPVE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256MFUE
Manufacturer:
FREESCAL
Quantity:
329
Part Number:
mc9s12e256MFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256MPVE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256VFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 15 Background Debug Module (BDMV4)
15.3.2.1
Note:
1
2
Read: All modes through BDM operation
Write: All modes but subject to the following:
450
Special single-chip mode:
Special peripheral mode:
BDMACT
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.
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
6
BDMACT can only be set by BDM hardware upon entry into BDM. It can only be cleared by the
standard BDM firmware lookup table upon exit from BDM active mode.
CLKSW can only be written via BDM hardware or standard BDM firmware write commands.
All other bits, while writable via BDM hardware or standard BDM firmware write commands,
should only be altered by the BDM hardware or standard firmware lookup table as part of BDM
command execution.
ENBDM should only be set via a BDM hardware command if the BDM firmware commands are
needed. (This does not apply in special single-chip mode).
All other modes:
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 allowed.
0 BDM disabled
1 BDM enabled
Note: ENBDM is set by the firmware immediately out of reset in special single-chip mode. In secure mode, this
BDM Active Status — This bit becomes set upon entering BDM. The standard BDM firmware lookup table is
then enabled and put into the memory map. BDMACT is cleared by a carefully timed store instruction in the
standard BDM firmware as part of the exit sequence to return to user code and remove the BDM memory from
the map.
0 BDM not active
1 BDM active
BDM Status Register (BDMSTS)
Reset:
bit will not be set by the firmware until after the EEPROM and FLASH erase verify tests are complete.
W
R
ENBDM
1
7
0
0
0
1
Figure 15-3. BDM Status Register (BDMSTS)
= Unimplemented or Reserved
Table 15-2. BDMSTS Field Descriptions
BDMACT
MC9S12E256 Data Sheet, Rev. 1.08
1
1
1
0
6
ENTAG
5
0
0
0
0
Description
SDV
0
0
0
0
4
TRACE
3
0
0
0
0
= Implemented (do not alter)
CLKSW
0
0
0
0
2
Freescale Semiconductor
UNSEC
0
1
0
0
0
2
0
0
0
0
0
0

Related parts for mc9s12e256