Fujitsu SOFTUNE F2 MC-16 User Manual page 178

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
■ Setting Events
The emulator can monitor the MCU bus operation, and generate a trigger for a sequencer at a specified
condition. This function is called an event.
In the event, code (/CODE) and data access (/READ/WRITE) can be specified.
Up to eight events can be set. However, since hardware is shared with trace triggers, the actual numbers is
calculated as follows.
Current maximum constant of events
= 8 - (current number of trace trigger settings + current number of data monitoring break settings)
Table 2.3-5 shows the conditions that can be set for events.
Table 2.3-5 Conditions for Event and Trace Trigger
Condition
Address
Data
Access size
Status
Note:
In instruction execution (/CODE), an event trigger is generated only when an instruction is executed.
This cannot be specified concurrently with other status (/READ or /WRITE).
Use the following commands to set an event.
SET EVENT :
SHOW EVENT :
CANCEL EVENT : Deletes an event
[Example]
>SET EVENT/CODE
>SET EVENT/WRITE data[2],!d=h'10
>SET EVENT/READ/WRITE 102
164
Memory location (address bit masking disabled)
16-bit data (data bit masking enabled)
Byte, word
Select from code, data read or data write
Sets an event
Displays the status of event setting
func1
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents