Forced Break; How To Generate - 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.4

Forced Break

This function forcibly suspends program execution.
■ Forced Break
This function forcibly suspends program execution.
When the forced break occurs, the following message appears in the status bar.
Break at [Address] by command abort request

■ How to Generate

A forced break is generated in the following methods:
• Menu
[Debug] - [Abort] menu
Refer to "4.6.2 Abort" in "SOFTUNE Workbench Operation Manual".
• Command
- ABORT
Refer to "2.4 ABORT" in "SOFTUNE Workbench Command Reference Manual".
■ When a User Program does not Stop
In any one of the following, even when the forced break is caused to occur, the user program may not stop.
Solutions are described below.
• The communication speed of the debugger is low.
[Phenomenon] When the communication speeds of the debugger is low, it can take time to receive a
[Solution] Await for some time until receipt of the stop request is completed.
• The interrupt level is low.
[Phenomenon] When the interrupt level of the program stop request is low, the interrupt is masked by the
[Solution 1] Alter the interrupt level of the stop request, and issue a stop request again.
[Solution 2] Issue a program forced-stop request.
• The debugger is in power-on debugging.
[Phenomenon] It is considered that the debugger is in power-on debugging.
[Solution] Cancel the power-on debug mode.
• The MCU is in a hang-up state.
[Phenomenon] It is considered that the MCU is in a hang-up state.
[Solution] Issue a reset.
Note:
If the forced break is performed in CPU pause state a break occurs after that mode is released.
For more details, see "Appendix C. Debugger Suspension Messages" in "SOFTUNE Workbench
Command Reference Manual".
298
program stop request.
CPU interrupt level (ILM).

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents