FILE REGISTERS WINDOW

8.9 FILE REGISTERS WINDOW

The File Register window displays all the file registers of the selected device. When a file register value changes, or the processor is interrogated, the data in the File Register window is updated.

Note: To speed up debugging with certain hardware tools, close this window. Use

the SFR or Watch window instead. • File Registers Window Display

• File Registers Window Menu • File Registers Window FAQ

8.9.1 File Registers Window Display

You may change the way data is displayed in the file register window by clicking on one of the buttons on the bottom of the window.

• Hex • Symbolic • XY Data (dsPIC devices only)

8.9.1.1 HEX This format displays file register information as hex data. The window will have 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.

8.9.1.2 SYMBOLIC This format displays each file register symbolically with corresponding data in hex,

decimal, binary and character formats. The window will have the following columns: • Address – Data hexadecimal address.

• Hex – Hexadecimal data, shown in 1- or 2-byte blocks. • Decimal – Data in decimal format. • Binary – Data in binary format. • Char – Data in character format. • Symbol Name – Symbolic name for the data.

8.9.1.3 XY DATA (dsPIC DEVICES ONLY) This format displays file register information as hex data. The window will have the

following columns: • Address – X hexadecimal address of the data.

• Y Bus – Y hexadecimal address of data, if supported. • Data Blocks – Hexadecimal data, shown in 2-byte blocks. • ASCII – ASCII representation of the corresponding line of data.

For more information on dsPIC devices, see dsPIC30F Family Reference Manual (DS70046).

 2005 Microchip Technology Inc.

DS51519A-page 113

MPLAB ® IDE User’s Guide

8.9.2 File Registers Window Menu

Below are the menu items in the File Registers right mouse button menu. • Close

Close this window. • Full Memory Update Updates the entire contents of this window after a halt or single step if enabled. By default, this option is enabled. If the window is open, only the data visible is

updated. If the window is closed, no data is updated. • Find Find text specified in the Find dialog in this window. • Find Next Find the next instance of Find text. F3 repeats the last Find. Shift+F3 reverses the direction of the last Find.

• Go To Go to the address specified in the Go To dialog. • Import Table Open the Import dialog (see Section 9.8 “File Management Dialog”.) • Export Table Open the Export As dialog (see Section 9.8 “File Management Dialog”.) • Fill Registers Fill registers from Start Address to End Address with the value in Data. See

Section 9.9 “Fill Memory/Registers Dialog”. • Output to File Write the displayed window contents to a text file. Uses a Save As dialog (see

Section 9.8 “File Management Dialog”), with the addition of an “Output Range”. Select the type of range, either “Lines” or “Address”, and then enter the “Start” and “End” values to output.

• Print Print the contents of the window. • Refresh Refresh the data in this window. • Properties Select background colors for SRF’s and unallocated memory. Also, set up generic

window properties (see Section 9.17 “Properties Dialog”.)

8.9.3 File Registers Window FAQ

How do I: • Fill all registers with a value?

Right-click in the window and select “Fill Registers” to open a dialog where you may enter fill data.

DS51519A-page 114

 2005 Microchip Technology Inc.

MPLAB IDE Windows