HIO2 Sample Demos

Location

$REVOLUTION_SDK_ROOT/build/demos/hio2demo

Compilation

Each demo consists of two parts: the target side and the host side.

[Target side]

Change directories to $REVOLUTION_SDK_ROOT/build/demos/hio2demo and enter make. The executable programs (.elf files) will be generated under $REVOLUTION_SDK_ROOT/build/demos/hio2demo/bin/RVL/.

[Host side]

Change directories to $REVOLUTION_SDK_ROOT/build/demos/hio2demo and enter make X86 = TRUE. The executables (.exe files) will be generated under $REVOLUTION_SDK_ROOT/X86/hio2demo/.

Prebuilt demos are available under

$REVOLUTION_SDK_ROOT/RVL/bin/demos/hio2demo/ (Target side)
$REVOLUTION_SDK_ROOT/X86/hio2demo/ (Host side)

These files are overwritten when you compile the demos.

Execution

To run an application on the host side, move to $REVOLUTION_SDK_ROOT/X86/hio2demo/ in the bash shell called from RVL_NDEV.bat and execute the .exe file.

Note: This must be done due to the fact that these programs use dll files in the /X86/bin/ portion of the SDK install directories and that path settings are made inside RVL_NDEV.bat. Note that applications cannot be started from Explore or under other conditions where the path has not been set.

To run the target side application, go to $REVOLUTION_SDK_ROOT/build/demos/hio2demo/bin/RVL/ and do one of the following:

Description

simple.exe/simple.elf Sample on how to use HIO2.
See here for more detail.
dual.exe/dual.elf Demo for communicating between a stand-alone Revolution and a stand-alone PC.
See here for more detail.
multi.exe/multi.elf Demo for communicating between a multiple Revolutions and a stand-alone PC.
See here for more detail.

See Also

HIO2 API

Revision History

2006/04/07 Revised the description of how to start the hio2demo program for the PC .
2006/03/01 Initial version.


CONFIDENTIAL