BDC_SCR field descriptions (continued)
Field
Description
0
Target CPU is running user application code or in active background mode (was not in wait or stop
mode when background became active).
1
Target CPU is in wait or stop mode, or a BACKGROUND command was used to change from wait or
stop to active background mode.
1
WSF
Wait or Stop Failure Status
This status bit is set if a memory access command failed due to the target CPU executing a wait or stop
instruction at or about the same time. The usual recovery strategy is to issue a BACKGROUND command
to get out of wait or stop mode into active background mode, repeat the command that failed, then return
to the user program. (Typically, the host would restore CPU registers and stack values and re-execute the
wait or stop instruction.)
0
Memory access did not conflict with a wait or stop instruction.
1
Memory access command failed because the CPU entered wait or stop mode.
0
DVF
Data Valid Failure Status
0
Memory access did not conflict with a slow memory access
1
Memory access command failed because CPU was not finished with a slow memory access.
18.4.2 BDC Breakpoint Match Register: High (BDC_BKPTH)
This register, together with BDC_BKPTL, holds the address for the hardware breakpoint
in the BDC. The BKPTEN and FTS control bits in BDCSCR are used to enable and
configure the breakpoint logic. Dedicated serial BDC commands (READ_BKPT and
WRITE_BKPT) are used to read and write the BDCBKPT register but is not accessible to
user programs because it is not located in the normal memory map of the MCU.
Breakpoints are normally set while the target MCU is in active background mode before
running the user application program.
Address: 0h base + 1h offset = 1h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
BDC_BKPTH field descriptions
Field
Description
A[15:8]
High 8-bit of hardware breakpoint address.
Chapter 18 Development support
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
367
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...