Chapter 3: Configuring the Emulator
Setting the Hardware Options
To specify the TRAP instruction for breakpoints
1
Choose the Settings→Emulator Config→Hardware... (ALT, S, E, H)
command.
Enter a number from 0 to 0fh in the "TRAP number for Software
2
break" text box.
Choose the OK button to exit the Emulator Config dialog box.
3
When breakpoints are set, the program opcodes are replaced with the
specified TRAP instruction. The number indicates the exception vector to
use in processing the TRAP.
You should select a trap number that is not used by your program code.
Note
Changing the TRAP instruction number cancels all the current breakpoints.
Any breakpoints defined in target memory must be deleted by using one of
the breakpoint commands.
To select the data bus width
1
Choose the Settings→Emulator Config→Hardware... (ALT, S, E, H)
command.
Select either the 8 bits or 16 bits option for the Data Bus Width.
2
Choose the OK button to exit the Emulator Config dialog box.
3
The Data Bus Width selection is only used when the emulator is operating
out-of-circuit.
74