Executing the diagnostic test program. STMicroelectronics STM2, STM3
Oglas
Oglas
Configuration and diagnostics
Name
internal_FPGA_test debug_level print_version request_dump_on_error
UM1616
0
(disabled)
1
0
Table 5. Debug and test options
Value by default
0
(disabled)
Description
Set this parameter to 1 to generate STP messages from the FPGA without using a target. This option can generate a large amount of messages without a break. It works only for STPv1.
Use this parameter to select the required debug level.
The trace infrastructure prints a message only when its level is less than the level set here.
The permitted values are:
– 0: no log
– 1: errors only
– 2: level 1 plus initialization statistics
– 3: level 2 plus timeout and driver overflow
– 4: level 3 plus decoded messages (this level suffers from degraded performance)
Set this parameter to print information concerning the
FPGA firmware version and DDR2 version.
Use this option to activate a dump after an opcode error in order to locate the error. The output is stored in a .dat file.
6.2 Executing the diagnostic test program
To check if everything has been set up correctly, run the diagnostic program
Test_Stm-Probe_DLL.exe
. The test is a short example of instrumented code and provides raw display of the trace captured.
18/27 DocID024336 Rev 1
Preuzimanje
Oglas