$REVOLUTION_SDK_ROOT/build/demos/hio2demo
Each demo consists of two parts: the target side and the host 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/.
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.
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:
ndrun script using a .elf file as an argument.ide with a .elf file as an argument (if you want to debug with CodeWarrior).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. |
2006/04/07 Revised the description of how to start the hio2demo program for the PC .
2006/03/01 Initial version.
CONFIDENTIAL