2 notes on executing program, Notes on executing program – FUJITSU CM71-00329-7E User Manual

Page 81

Advertising
background image

71

CHAPTER2 Dependence Functions

2.2.2

Notes on Executing Program

There are some precautions to observe when using program execution commands.

Real-time Functionality in Running Program

When the MCU is in the full trace mode, there are some cases when a program cannot execute in real-time.

The MCU operation mode can be set up by using either the [Emulation] tab in debug environment setting

dialog, or the SET RUNMODE command in the Command window.

Precaution on executing the delay branch instruction

If the delay branch instruction is executed in one of the following procedures, the instruction (just after the

delay branch instruction) placed in the delay slot is executed, and a break is set just after the delay branch

instruction was executed.

[Debug] - [Run] - [Step In] menu

[Debug] - [Run] - [Step Over] menu

Restrictions when Suspended by Software Break

When there is a software break at the current PC location, if either the [Debug] - [Run] - [Go] menu or the

Go command is executed, the emulator debugger (MB2197) performs one execution step internally, and

then executes the program in batch processing. In addition, when a software break is set for the instruction

to clear the T-flag, and when either the [Debug] - [Run] - [Go] menu or the Go command is executed from

that address, all software breaks are disregarded. When this happens, any interrupt is masked too.

Value of TBR Register

Note a program null-function may occur if you specify such value for the TBR register as the vector table

overlaps to the I/O area.

Precautions on executing the instruction for clearing flag T

If one of the following procedures is executed, the instruction for clearing flag T is executed continuously.

All software breaks are then ignored.

[Debug] - [Run] - [Step In] menu

[Debug] - [Run] - [Step Over] menu

Advertising