Debugging Custom Programs Using Com4 - ICP DAS USA I-7188XA Series User Manual

Hide thumbs Also See for I-7188XA Series:
Table of Contents

Advertisement

4.2 Debugging custom Programs using COM4

The COM4 Port (download port) of the I-7188XA(D) has three major
functions.
 Downloading programs from the Host PC
 Connecting to the Host PC to enable program debugging
 Acting as a general-purpose COM port
When the I-7188XA(D) is switched on, it will initialize COM4 in the
following configuration under console mode:
 Start Bit=1, Data Bit=8, Stop Bit=1, no parity
 Baud Rate=115200 bps
The I-7188XA(D) will check the status of the INIT* pin. If the INIT* pin
is shorted to the GND pin, the I-7188XA(D) will send the start up
information to COM4 and enter console mode to allow the user to
download/debug a program, and the following start up messages will be
displayed.
 Power off the Host PC and I-7188XA(D)
 Connect the download cable between COM4 on the I-7188XA(D)
and the COM Port of the Host PC (refer to Section 2.2 for more
details)
 Switch on the power for the Host PC and execute the 7188xw.exe
 Switch on the power for the I-7188XA(D)
 All initialization messages will be shown on the monitor of the Host
PC
If the INIT* pin is open, the I-7188XA(D) will search for the
autoexec.bat file. If the autoexec.bat file is present, the I-7188XA(D)
will execute it. If the autoexec.bat file is not present, the I-7188XA(D)
will revert to console mode to allow the user to download/debug a
program.
After completing the initialization stage, the I-7188XA(D) will use the
COM4 as its standard input/output. The standard output of the
I-7188XA(D) will be shown on the monitor of the Host PC. If a key is
pressed on the keyboard of the Host PC, the key code will be echoed to
the I-7188XA(D) as standard input. Therefore both the keyboard and
I-7188XA Series User's Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
50

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7188xaI-7188xbI-7188xcI-7188I-7188xadI-7188xbd ... Show all

Table of Contents