2.10.4
Stop the program with the access to variables/I/O registers
By setting a break event (access-related), it is possible to stop the program in execution when a specified access is made to any variable or I/O register.
At this time, it is also possible to limit the values accessed.
The types of access specifiable in access-related events are as follows:
Table 2.5 | Types of Accesses to Variables |
|
|
Read
|
The program in execution is stopped when a specified variable or I/O register is accessed for read (i.e., to read data from it).
|
Write
|
The program in execution is stopped when a specified variable or I/O register is accessed for write (i.e., to write data to it).
|
Read/Write
|
The program in execution is stopped when a specified variable or I/O register is accessed for read or write (i.e., to read or write data).
|
Caution 1. | The program is not stopped with the access via DMAC (Dynamic Memory Access Controller) / DTC (Data Transfer Controller). |
Caution 2. | [Simulator]
With string manipulation instructions and multiply-and-accumulate instructions, the first and final data accesses are subjected to the event check. |
This section describes the following.
2.10.4.1 Set a break event (access-related) to a variable/I/O register
2.10.4.2 Edit a break event (access-related) to a variable/IO register
2.10.4.3 Delete a break event (access-related) to a variable/IO register