1/27/15
SigC667x / SigC641x User Guide, Rev B7
Copyright
Signalogic 2012-2014
98 / 109
5 pn4Test Host Program
Note
This section only applies to SigC641x DSP systems.
The pn4Test host program controls and tests the McBSP1 and GPIO devices on the selected
DSPs. During pn4Test operation, data is transmitted and received between selected DSPs, and
real-time results are displayed in a Linux terminal window.
To build pn4Test, enter:
#cd .. /SigC641x/apps/SigC64x/pn4Test
#make
Running pn4Test with the command
./pn4Test –h
will list the available command line options noting which options are mandatory for running
pn4Test with a “+” sign. Supported command line options are listed below:
-d<0…2>
0 – Detail display is disabled.
1 – Probe counters for each time the specified ISR (GPIO, TX, or RX) is entered
are displayed on each display updated.
2 – FPGA revision numbers and memory symbol addresses are displayed once.
Sync data for MCBSP and MCBSP_GPIO test modes is displayed once. A
message indicating a signal was received with the DSP number that HINT was
generated on is displayed each time the signal handler runs.
-f<N>
Sets the processor clock rate in MHz. (e.g.
–f720
or
-f1000
)
-m<bitmask>
Sets the processor select bit mask. Values can be entered in decimal or hex
(e.g.
–m17
is equivalent to
–m0x11
). Only one DSP from group A (DSPs
0-3) and only one DSP from group B (DSPs 4-7) should be selected for
testing. If other settings are used, the first DSP from each group will be
used, but the data display may not reflect the desired testing mode.
-e<DSP COFF file name>
(e.g.
-etmsc64xx_rtaf_ccs3.out
)
-c<designator>
Sets card designator (e.g.
-cSIGC64XX
)
-M<Test Mode>
Available options are listed below