sc9s12hy64j0vllr Freescale Semiconductor, Inc, sc9s12hy64j0vllr Datasheet - Page 164

no-image

sc9s12hy64j0vllr

Manufacturer Part Number
sc9s12hy64j0vllr
Description
S12 Microcontrollers Mcu 16-bit Hcs12 Cisc 32kb Flash 5v Tray
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Background Debug Module (S12SBDMV1)
5.3.2.1
Register Global Address 0x3_FF01
1
2
Read: All modes through BDM operation when not secured
Write: All modes through BDM operation when not secured, but subject to the following:
164
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). 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).
BDMACT
ENBDM
Field
7
6
— 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
— All other bits, while writable via BDM hardware or standard BDM firmware write commands,
All Other Modes
are needed. (This does not apply in special single chip mode).
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. In special single chip mode with
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
the device secured, this bit will not be set by the firmware until after the Flash erase verify tests are
complete.
W
R
ENBDM
0
0
0
7
1
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Figure 5-3. BDM Status Register (BDMSTS)
Table 5-2. BDMSTS Field Descriptions
= Unimplemented, Reserved
= Always read zero
BDMACT
1
0
6
0
0
0
5
Description
SDV
0
0
4
TRACE
0
0
3
= Implemented (do not alter)
0
0
0
2
Freescale Semiconductor
UNSEC
0
0
1
2
0
0
0
0

Related parts for sc9s12hy64j0vllr