User`s manual

4-8 Suite56 DSP Tools User’s Manual Motorola
Finding Well Hidden Bugs
To set a breakpoint on an address in memory, follow these steps:
1. Set the default device.
In the Modify menu, choose Device, and then select Set Default.
2. Load your program, both memory and symbols.
In the File menu, choose Load, and then select Memory. A dialogue box appears
for you to indicate Memory and Symbols as well as the name of the file to load.
3. Open the device window to display memory.
In the Windows menu, choose Memory. A dialogue box appears for you to
indicate a part of memory to display. Your choice there will automatically open a
window titled with the device number and portion of memory (P for program, X for
X data, Y for Y data, if your target device includes Y data memory).
4. Set the breakpoint.
In the device memory window that just appeared, click on a location to set a
breakpoint there.
OR
In the Execute menu, choose Breakpoints, and select Set. A dialogue box appears
for you to indicate characteristics of the breakpoint, as in Figure 4-3 on page 4-9.
Set its type as Memory in the Type pane.
Set the access you are watching for (read, write, or read and write) in the Access
pane. If your target device includes a DMA controller for direct memory access,
then you can also indicate that type in the Access pane.
Indicate the memory space (whether P for program memory, X for X data, or Y
for Y data) that interests you in the Memory pane.
For a range of memory addresses, indicate the start address and end address in
the Memory pane as well.
If you want the simulator to perform special actions, such as halting execution,
incrementing a counter, or executing a command at the breakpoint, then
indicate that action in the Action pane.
5. Execute.
Click OK in the dialogue box where you have indicated the characteristics of the
breakpoint. Then click Go on the toolbar.