Setting up the development system, Setting up the host machine for c/c++ development – Rockwell Automation 6182 SDK User Manual
Page 31

Developing CE Drivers and Applications for the RAC6182
2–3
Publication 6182-UM002B-EN-P
RAC6182 and all similar embedded devices since the Icons, the Start
Menu, and application-provided Control Panel Applets must be re-
created at startup.
The solution is to place shortcuts in \Storage Card\Windows or in a
directory under it. In a normal system initialization sequence, everything
in \Storage Card\Windows\ (in the persistent file system), including
subdirectories and their contents, is copied to \Windows (in the RAM
filesystem) following the startup of gwes.exe. (For further information
see “Launching Applications At Start-Up” above.)
Typically, development will take place on an x86 machine running a
Microsoft Win32 operating system and Microsoft cross development
tools. The development system will be connected to the target RAC6182
by Ethernet or serial link, and MIPS binary files generated on the
development system will be downloaded to the target for testing and
debugging.
While for the most part the Microsoft development tools will run on
Windows 95, Windows 98 and Windows 2000, certain special functions,
like emulation of the target platform on the x86 host, are available to the
developer only with Windows NT 4.0.
Application development can be carried out using either C/C++ or Basic.
Note that the C/C++ development system normally produces MIPS
binaries that are directly executable on the RAC6182, while the Basic
development system produces application code modules (.vb files) that
must be run with the help of a Basic interpreter on the RAC6182. The
Basic development system includes an application installer that bundles
the application code module with the interpreter (consisting of MIPS
executables) so that all the components necessary for program execution
will be properly installed on the RAC6182. Device driver developers
should plan to use C/C++.
Setting Up the Host Machine for C/C++ Development
First, Microsoft Windows CE Services (Active Sync) must be installed
on the host system. This package provides utilities needed to download
applications to the RAC6182 and to support a number of remote
development tools. Windows CE Services is provided on CDROM with
the RAC6182. The RAC6182 User’s Manual (Chapter 14) contains
detailed information about installation.
Next, the following Microsoft development tools must be installed on the
host system, in the order given:
Microsoft Visual C++ 6.0 (from Visual Studio 6.0, Professional or
Enterprise Edition)
Setting Up the
Development System