Susi Sample Programs - Advantech PCM-3363 User Manual

Pci-104 sbc w/intel® atom™ n455/d525, vga, lvds, gigabit ethernet, usb2.0, sata, and on-board memory
Table of Contents

Advertisement

Manual Installation:
You can add the SUSI Library into the image by editing any bib file.
First you open project.bib in the platform builder.
Add this line to the MODULES section of project.bib
Susi.dll $(_FLATRELEASEDIR)\Susi.dll NK SH
If you want to run the window-based demo, add following line:
SusiTest.exe $(_FLATRELEASEDIR)\SusiTest.exe
If you want to run the console-based demo, add following lines:
Watchdog.exe $(_FLATRELEASEDIR)\Watchdog.exe NK S
GPIO.exe $(_FLATRELEASEDIR)\GPIO.exe NK S
SMBUS.exe $(_FLATRELEASEDIR)\SMBUS.exe NK S
Place the three files into any files directory.
Build your new Windows CE operating system.
4.3.5

SUSI Sample Programs

Sample Programs
The sample programs demonstrate how to incorporate SUSI into your program.
There are sample programs for two categories of operating system, i.e. Windows XP
and Windows CE. The sample programs run in graphics mode in Windows XP and
Windows CE. The sample programs are described in the subsections below.
Windows Graphics Mode
There are sample programs of Windows in graphics mode for two categories of oper-
ating system, i.e. Windows CE and Windows XP. Each demo application contains an
executable file SusiDemo.exe, a shared library Susi.dll and source code within the
release package. The files of Windows CE and Windows XP are not compatible with
each other.
SusiDemo.exe is an executable file and it requires the shared library, Susi.dll, to
demonstrate the SUSI functions. The source code of SusiDemo.exe also has two
versions, i.e. Windows CE and Windows XP, and must be compiled under Microsoft
Visual C++ 6.0 on Windows XP or under Microsoft Embedded Visual C++ 4.0 on
Windows CE. Developers must add the header file Susi.h and library Susi.lib to their
own projects when they want to develop something with SUSI.
SusiDemo.exe
The SusiDemo.exe test application is an application which uses all functions of the
SUSI Library. It has five major function blocks: Watchdog, GPIO, SMBus, I
VGA control. The following screen shot appears when you execute SusiDemo.exe.
You can click function tabs to select test functions respectively. Some function tabs
will not show on the test application if your platform does not support such functions.
For a complete support list, please refer to Appendix A. We describe the steps to test
all functions of this application.
PCM-3363 User Manual
42
2
C and

Advertisement

Table of Contents
loading

Table of Contents