
SDK Programming Guide Version 1.511
ABLELink
R
Ethernet-Serial Server MAXI Series
AP
.HEX
D
O
W
N
Figure 3-1 Program Flow Diagram
Step 1. Setup environment parameters
1. Run the batch file to setup Microsoft C environment parameters. Then you can compiler and link
application program. The batch file is provided in Microsoft compiler. For example, it may be
“msc6.bat”
in Microsoft C compiler \bin directory. To run the batch file may be like following:
2. Append the SDK \BIN directory to the system environment parameter:
PATH
. Then you can use
SDK utilities in any directory.
Step 2. Write your application program
You can write your application program by any text editor.
Step 3. Compile your application program
After writing application program, you can compile the program. The C compiler option arguments
are
”/AL /Zi /Gs /c /Oi /I. /Fpi”
. For example, to compile ‘userap.c’ is as following:
cl /AL /Zi /Gs /c
/Oi /I. /Fpi userap.c
.
Copyright © 2004 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.