Running the Demos from the Command Line

3.4Running the Demos from the Command Line

You can run the demo applications from the Linux shell in a terminal window connected to the EVM board’s serial port. These are the same demos described in Section 3.2, Starting the Standalone Demos.

Before running demo applications from the command line, the CMEM and accelerator kernel modules must be loaded. Use "lsmod" to see if they are loaded. If not, use the following commands to load these modules:

Target $ cd /opt/dvsdk/dm357

Target $ ./loadmodules.sh

To see the command-line options for the demos, use one of the following commands with the -h or --help option:

Target $ ./encodedecode -h

Target $ ./encode -h

Target $ ./decode -h

You can also find the list of command-line options in encode.txt, decode.txt, and encodedecode.txt in the respective demo directories of the DVSDK package on the host.

3-10

Page 28
Image 28
Texas Instruments TMS320DM357 DVEVM v2.05 manual Running the Demos from the Command Line