The
Hardware Diagnostics
window lets you run a series of diagnostic tests that determine if the basic hardware is functional.
These tests include:
- Memory read/write - Makes a read / write access to memory in order to read or write a byte, word (2 bytes), and long word (4 bytes) to / from memory.
- Scope loop - Makes read and write accesses to memory in a loop at target address. The the loop speed settings determine the time between accesses. The loop can only be stopped by cancelling the test.
- Memory tests - Requires you to set the access size and target address from the access settings group and the settings present in the Memory Tests group.
On the Eclipse IDE, the hardware diagnostics feature runs like a target task.
To create a hardware diagnostic target task:
- Click Window > Show View > Other.
The
Show View
dialog box appears.
- Expand the Debug group and select Target Tasks.
- Click OK.
- Click Add New Task from the Target Tasks view t oolbar to create a new target task.
The
Create New Target Task
wizard appears.
- In the Task Name text box, enter the name of the target task.
- From the Run Configuration drop-down list, select a configuration.
Note: Select Active Debug Context from the Run Configuration drop-down list, if you want to use hardware diagnostics over an active debugger session, else select any of the specified debug context from the list.
- From the Task Type drop-down list, select Hardware Diagnostic.
- Click Finish.
The
Hardware Diagnostics Action
window appears.
Figure 1. Hardware Diagnostics Action Window 
The
Hardware Diagnostics Action
window includes the following groups: