Everything
2.4.2 Debugging the SMS

This section explains how to use debugging features for SMS (SNOOZE Mode Sequencer) when the selected microcontroller supports SMS.

Caution

This feature is supported only by the simulator. It is available only for devices that support peripheral function simulation. Please refer to our website for supported products.

 

[Usage]

(1)

Open the SMS Panel

Select [SMS] from the [View] menu to display the SMS panel.

Figure 2.13

SMS Panel

 

(2)

Prepare for SMS Debugging

(a)

Enable SMS Debugging

Click the Enable/Disable button on the SMS panel toolbar to toggle SMS debugging on or off.

Figure 2.14

SMS Debugging ON

 

Caution

SMS programs cannot be downloaded using the debugger.
Please transfer the SMS program to SMSIp from the CPU program.

(3)

Start SMS Debugging

This section describes how to start SMS debugging.

(a)

Start SMS debugging by triggering from the program

When a trigger occurs, the program stops and SMS debugging can begin.

Caution

If the trigger occurs during CPU step execution, the program does not stop.

(b)

Start SMS debugging manually

Click the on the SMS panel toolbar to begin.

(4)

Perform SMS Debugging

(a)

Step Execution

Click the on the SMS panel toolbar.

Caution

When stepping SMS, SMS and CPU are synchronized and step together.

(b)

Run

Click the Run button on the debug toolbar.

Caution

SMS and CPU run in synchronization.

(c)

Set Debug Execution Position

Right-click the line where you want to start execution and select [Set the location for the next execution here] from the context menu.

(d)

Check SMS Resources

<1>

Disassembly

The SMS panel displays SMSIp (p:0-31) code in the disassembly area as 4-digit hexadecimal values along with disassembled instructions.

Caution

Instruction codes cannot be edited.

<2>

Status

The SMS status is displayed on the toolbar of the SMS panel.

Table 2.2

SMS Status

Status

Description

OFF

SMS Debug disabled

DISABLE

SMS input clock supply suspended

STOP

SMS stopped

TERMINATE

Waiting for the SMS activating trigger

OPERATING

SMS in progress

Table 2.3

SMS Debugging Status

SMS Debugging Status

Description

BREAK

Now halted

RUN

Under execution

STEP

Step execution in progress