GUI 5.3 Added debug functions shown in
Figure 6-21.
Click the Debug Tab button at
the side of the Peripherals Panel to display Figure 6-21.
Selecting the Enable Debug mode
checkbox enables the debug functions shown in on the Debug Tab.
- The Destination ASIC does
not apply to single controller systems and the options remain grayed out.
- The Controller Memory
Read/Write box allows Reading from and Writing to memory address on the
controller.
The From
box is grayed out for single controller systems since there is only the
default (primary) controller.
CAUTION: Read from
or write only to defined addresses. Reading from or writing to undefined
addresses results in unpredictable behavior!
There are two virtual
interfaces to assist in debugging. For example Reading from or Writing to
some addresses can result in changes in other memory locations. The result
of writing to a memory using Interface 1 can be tracked in Interface
2.
The Secondary - Read
Data box is grayed out for single controller systems.
The following are valid
memory address ranges:
- 0x00000000 -
0x00003FFF
- 0x11000000 -
0x11003FFF
- 0x11005000 -
0x1100AFFF
- 0x1100F000 -
0x110137FF
- 0x11014000 -
0x110177FF
- 0x11018000 -
0x110187FF
- 0x11019000 -
0x110197FF
- 0x11020000 -
0x11023A40
- 0x11024000 -
0x11025FFF
- 0x20000000 -
0x27FFFFFF
- 0xA7000000 -
0xA7FFFFFF
- 0xF7FEC000 -
0xFAFFFFFF
- 0xFFFF0000 -
0xFFFFFFFF
- The Debugging Trace box
allows the user to enable various debug areas to report detailed debug
information to the DLPC900 UART beyond the always printed debug messages output during regular operation.
Select the Enable debug message checkbox to allow the following
individual masks to be enabled or disabled separately:
Dubug Masks - detailed
descriptions:
- System information
- Enable printing of debug messages regarding system functions like
system initialization, memory allocation, batch command execution.
- Datapath
information - Enable printing of debug messages regarding
datapath like datapath initialization to process video input, ITE, HDMI,
DP information, and System state transition.
- Projector Control
Information - Enable printing of debug messages regarding
projector control like initialization of USB and I2C command port,
command message handler, and command processing.
- I2C
handler - Enable printing of debug messages regarding I2C
communication interface.
- UART handler -
Enable printing of debug messages regarding UART communication
interface.
- USB handler -
Enable printing of debug messages regarding USB communication
interface.
- Always Printed (on
by default) - Enable printing of debug messages regarding system,
power-up, illumination, memory initialization, state transitions,
application layer command processing.
- Mailbox message -
Enable printing of debug messages regarding application mailbox
interface.
- Environment
information - Not used
- PTN Information -
Enable printing of Pattern Info debug messages regarding loading of
splash images to FMT memory or loading a BMP pattern.
- PTN debug - Enable
printing of Pattern Info debug messages regarding sequence database,
selected sequence information, encode and decode of sequences, pattern
parameter setup, etc.
When debug messages are enabled, pressing
Get
retrieves the currently enabled masks. After selecting the desired masks
pressing
Set
enables the selected masks. The Debug Mask text box shows, in hex, the overall
mask value. The value can be used in the Firmware Power up Defaults section to build a firmware with the desired masks enabled
at power up.Note: Deselecting
Enable debug message disables all debug output except Always
Printed items
Max
String Length - reads the maximum allocated string size for the debug
message
Currently Used
- reads the string size currently used by the debug message
- The Memory Access Batch
Files box enables special batch files that can be provided by TI during
advanced debugging.
Select the
Record result check box to record the result of running a
provided batch file. Results are recorded in the same directory that the
batch file resides.
Use
Open memory access batch File button to navigate to a memory
access batch file provided.
Use Run memory access
batch file button to run the batch file selected by the Open
memory access batch File.
- Diagnostic Window Settings
Select the Enable or
Disable button to show or hide diagnostic log windows. Enablilng
this option shows a command log window under the main GUI window are as
shown in Figure 6-22.
These logs are
available:
- Select the Enable
Projector Control Log tab. Records every command sent to the
DLPC900 and the status of transaction. Records the system
initialization and status commands the first time the DLPC900 is
powered up.
- Select the Enable
Command Log tab. Records information such as command name,
command ID, sent and received message packet, status of
transaction.
- Select the Enable
Periodic Status Log to show the periodic status polling
commands in the Projector Control tab. Records the DLPC900 main, HW,
system status query commands sent by the GUI. This occurs at 120
second intervals. Enabling this records these commands each time the
commands are sent. This causes slow response from the GUI.
For the Projector
Control log and Command log the following options are available:
- Select all - selects
all of the contents of the selected log tab to be copied.
- Copy - copies to the
clipboard the currently selected items in the selected log tab. Drag
click to select a subset of the log to copy.
- Clear all - clears
all of the current entries in the selected log tab.
- Save to File - saves
the current selected log tab entries to a file.