14.15.3 SRAM Data Memory Window

The SRAM Data Memory window displays all the SRAM of the selected device, either AT, AVR or SAM. When a register value changes, or the processor is interrogated, the data in this window is updated (values updated shown in red).

When using a hardware tool for debug, some registers may show an R for each nibble of data to represent a reserved resource.

Note: To speed up debugging with certain hardware tools, close this window. Use the I/O Memory (SFRs) Window or Watches Window instead.
Figure 14-34. SRAM Data Memory Window with Content

SRAM Data Memory Window Displays

You may specify how memory is displayed in the window by selecting from the Format drop-down box on the bottom of the window.

Hex

This format displays file register information as hex data. The window has the following columns:

  • Address – Hexadecimal address of the data in the next column.
  • Data Blocks – Hexadecimal data, shown in 1- or 2-byte blocks.
  • ASCII – ASCII representation of the corresponding line of data.

Symbol

This format displays each file register symbolically with corresponding data in hex, decimal, binary and character formats. The window has the following columns:

  • Address – Data hexadecimal address.
  • Symbol Name – Symbolic name for the data.
  • Radix Information – Hex, Decimal, Binary, Char.

Radix information is displayed in four columns. Hex is shown in 1- or 2-byte blocks.

SRAM Data Memory Window Icons

Icons are located on the left side of the window.

Table 14-25. SRAM Data Memory Window Icons
Icons Icon Text Function
Find Specify a string to find in the window. Select to match whole word or case.
Find Next Find next instance of string from Find.
Find Previous Find previous instance of string from Find.
Go To Go to specified line number or address.

SRAM Data Memory Window Menu

Right click in the memory window data area to pop up this menu. Not all items may be visible for all devices.

Table 14-26. SRAM Data Memory Window Context Menu
Item Description
Hex Display Width Hex Format Only

Set the hexadecimal display width
 (options depend on the device selected).

Fill Memory Fill memory from Start Address to End Address with the value in Data. Specify other options in the Fill Memory dialog.
Go To Go to the address/function specified using the Go To dialog.
Find Find text specified using the Find dialog.
Output To File Write the displayed window contents to a text file using the Output to File dialog.
Import Table Hex Format Only

Import tabular data from a file into a Memory window using the Import Table dialog.

Export Table Hex Format Only

Export tabular data from a Memory window into a file using the Export Table dialog.

Print Print the contents of this window using the Print dialog.
Note: If you have a large memory device, the number of pages printed can become very large. A suggestion is to print the window contents to a file (Print dialog, General tab, Print to File check box) and then select which pages from the file you need to print.
Adjust Table Columns Adjust the columns automatically.