144
Development Tools User’s Manual
IXP2400/IXP2800 Network Processors
Developer Workbench
Set:
To break execution on a changed data value:
1. Right-click the name or value of the state and click
Set Break On Change
on the shortcut
menu, or click the name or value of the state.
2. On the
Debug
menu, click
Data Watch
, then click
Set Break On Change
.
Remove:
To remove a break-on-change:
1. Right-click the name or value of the state and click
Remove Break On Change
on the
shortcut menu, or click the name or value of the state.
2. On the
Debug
menu, click
Data Watch
, then click
Remove Break On Change
.
2.13.13
Memory Watch
In debug mode, you can
monitor the values of
DRAM, SRAM, and
Scratchpad memory
locations using the
Memory
Watch
window.
The IXP2nnn Network
Processors address memory
in bytes, thus the
Memory
Watch
window interprets the address to be watched as a byte-aligned. An SRAM or scratchpad
byte address will be rounded to the next lower longword and the data will be displayed in
longwords. A DRAM byte address will be rounded to the next lower quadword and the data will be
displayed in quadwords. For example, if the user specifies a watch of dram[3:8], the watch is
shown as dram[0:15]
When the user enters the address in the
Add Memory
Watch
window and clicks the
Add watch
button, the
following message box pops up to inform the user of
the byte alignment adjustment. You may disable the
message box by clicking the
Don’t show this
message in the future
.
Visibility:
To toggle visibility of the
Memory Watch
window:
•
On the
View
menu, click
Debug Windows
, then click
Memory Watch
, or
Click the
button on the
View
toolbar.
Chip Selection:
You select which chip’s memory is watched using the list in the upper left
corner of the
Memory Watch
window. Chip selection is synchronized with
chip selection in the
History
,
Thread Status
and
Queue Status
windows.