Everything
2.4.1 Debugging the Initial Stop State or Standby Mode

This section describes how to enable the debugging facilities for the initial stop state or standby mode and gives notes on usage when the selected microcontroller is in the initial stop state or incorporates a specific standby-mode facility.

Caution

The simulator does not support this facility.

 

In some descriptions, this section refers to the states of the microcontroller listed below as well as those in the Main window.

Table 2.2

States of the Microcontroller

Name

State of the Microcontroller

Stop

In the stop mode

Initial Stop

In the initial stop state

Deep Stop

In the deep stop mode

Cyclic Run

In the cyclic run mode

Cyclic Stop

In the cyclic stop mode

Cyclic Disable

The state of cores other than the main core when the main core is in the cyclic run mode or cyclic stop mode

-

How to enable the debugging facilities

Set the following for debugging the initial stop state or standby mode.

The [Connection with Target Board] category on the [Connect Settings] tab in the Property panel

Debug the initial stop state and the standby mode

Yes

-

Notes on usage

(a)

If this facility is not used, a program that includes a transition to standby mode cannot be debugged.

(b)

If this facility is used, the following facilities are not available.

-

Asynchronous debugging modeNote

-

LPD output of software tracing

-

External trigger input

-

External trigger output

-

Measuring CAN bus reception processing times

Note

In asynchronous debugging mode, the following method is available but is restricted to the initial stop state.

Execute after resetting microcontroller (CPU) (Initial stop debug)

(c)

Using this facility enables debugging of a core (PE) in the following states.

-

Initial Stop

-

Cyclic Run

-

Cyclic disable in the cyclic run mode

 

In the cyclic run mode, however, the following facilities that involve the programming of flash memory cannot be used.

-

Downloading to flash memory

-

Setting and deleting software breaks

 

When a core is in the following states, executing a program, referring to the CPU registers, and setting and deleting breakpoints are not possible.

-

Initial Stop

-

Cyclic disable in the cyclic run mode

 

When the core is in the following states, debugging is not possible. Only a subset of the debugging facilities, such as referring to states, is available.

-

Stop

-

Deep Stop

-

Cyclic Stop

-

Cyclic disable in the cyclic stop mode