EasyManuals Logo

Vaisala RVP900 User Manual

Vaisala RVP900
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #404 background imageLoading...
Page #404 background image
USER’S MANUAL__________________________________________________________________
402 _________________________________________________________________ M211322EN-D
D.3 Debugging and Profiling Your Code
Although the complete RVP8 is a rather complex multi-thread and multi-
process system, it is still a user-level application running under the Linux
operating system. Most of the custom code that you develop can be
debugged using tools that are already familiar to Linux/C/GNU
programmers.
D.3.1 Monitoring Opcode/Data Activity:
-exposeIO
The RVP8 is generally controlled by higher level application such as
ascope, iris, dspx, etc., which communicates with the RVP8 through the
IRIS DSP Driver Library using the opcodes (see Chapter 7, Host Computer
Commands, on page 255). These layered applications provide a clean and
maintainable signal processor interface, as evidenced by the RVP5/6/7/8
being largely opcode-compatible over a fifteen year period.
The complete opcode activity, between the application driver and the
RVP8, can be viewed by including the –exposeIO flag on the RVP8 startup
command line. The following printout shows what happens when an
"Output Test" opcode is written, followed by a "Noise Sample" command
and a "Get Processor Parameters" opcode:
Opcode 0x0004 (OTEST)
Output Words
0: 0001 0002 0004 0008 0010 0020 0040 0080 0100 0200 0400 0800 1000
2000 4000 8000
Opcode 0x0005 (SNOISE)
Input Words
0:0000 0000
Opcode 0x0009 (GPARM)
Output Words
0: 2000 0064 0960 9DCF 0110 0DD0 0000 0000 0000 5284 0000 0000 0040
D472 0000 0000
16: 0000 0603 020D 5DC0 012C 1D4C 1770 0BB8 8421 0210 2EE0 2EE0 0000
0000 042E 07AE
32: 000D FE20 0066 0050 FE70 0000 0000 0000 0000 0000 0001 0011 0000
0011 0000 0DD0
48: 0000 0000 00E8 01C0 03E8 04B0 0303 0000 0037 30CB 0003 0000 0000
0000 0000 0000
When the OTEST opcode is received, it is parsed by the RVP8/Main
HostCmds thread, which also generates the exposeIO printout. The opcode
is shown in both numerical and mnemonic form, followed by the
sixteen-word walking-ones pattern that results from it. The SNOISE

Table of Contents

Other manuals for Vaisala RVP900

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Vaisala RVP900 and is the answer not in the manual?

Vaisala RVP900 Specifications

General IconGeneral
BrandVaisala
ModelRVP900
CategoryReceiver
LanguageEnglish