Code Break (Hardware) - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

CHAPTER 2 DEPENDENCE FUNCTIONS
2.6.6.1

Code Break (Hardware)

This function suspends program execution by monitoring a specified address by
hardware. A break occurs before an instruction at the specified address is executed.
■ Code Break (Hardware)
This function suspends program execution by monitoring a specified address by hardware. A break occurs
before an instruction at the specified address is executed.
Code Break (Hardware) has the hardware/count for which a path count can be set.
The maximum number of points that can be set is as follows:
Hardware:
Hardware/count:
When the code break (hardware) occurs, the following message appears in the status bar.
• Hardware:
Break at [Address] by code event break
• Hardware/count
Break at [Address] by sequential or pass count break
■ How to set
Control the code break in the following methods:
• Command
- SET BREAK/HARD
Refer to "3.1 SET BREAK(type 1)" in "SOFTUNE Workbench Command Reference Manual".
• Dialog
- "Code" tab in the breakpoint setting dialog
Refer to "4.6.4 Breakpoint" in "SOFTUNE Workbench Operation Manual".
• Window
- Source window/disassemble window
Refer to "3.7 Source Window" or "3.9 Disassemble Window" in "SOFTUNE Workbench Operation
Manual".
■ Special Operation when breakpoint is set
If the specified condition is satisfied in the debugger, note that the following phenomenon occurs.
• No progressing of program counter (PC)
If the hardware break is set to the string instruction, the pass count may be added several times by one
instruction execution.
Furthermore, if program is executed from the string instruction which the hardware break is set, a break
occurs without progressing PC.
• When the breakpoint is hit, the stopping address becomes after two instructions or less from the address
that is sure to stop originally.
During continuous user program execution, the address where the program stops becomes after two
instructions or less from the address that is sure to stop originally when either of the following conditions
was satisfied.
294
8 points
2 points

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents