Texas Instruments MSP50C614 User Manual

Page 326

Advertising
background image

Software Emulator

5-26

Trace Mode : This menu option launches the Trace Mode Dialog
(Figure 5–25), that allows that user to run the chip in

trace mode, i.e., running

an internal program on the chip while monitoring its execution on the scanport.

Figure 5–26. Trace Mode

Optional Trace Mode start
program memory location
(hex). If this value is not
provided, execution starts
from current PC value.

Optional PC location where
execution should stop. If
“Stop After” field is used,
program stops which ever
occurs first.

Optional number of clock
cycles to execute from
Start location. If “Stop at
PC” field is used, program
stops which ever occurs
first.

Start tracing.

Saves the result of trace to
a file with the name as
project with extension .trc.

This radio button is
checked when trace mode
is running.

Stop tracing.

Exit Trace Mode

Run Internal : This menu option launches execution on the program actually
programmed on the chip. In the case of MSP50P614/MSP50C614, program
execution will stop if a hardware breakpoint is encountered. Otherwise, the
user will have to stop execution by hitting the Stop icon, for example.
IMPORTANT: The hardware breakpoint has to be located more that one cycle
away from the current program counter location. For example, if the current
PC is 0x0800, and the instruction at 0x0800 is a one cycle instruction (like
NOP), then the closest location for a hardware breakpoint is at PC+2. If a
breakpoint was set at address PC+1, it would be ignored by the system.
NOTE: The code to execute must be present on the chip.

Advertising