IR
9100TX/9100RX: IrDA-1.1 (9.6K-4M bps) Infrared Transfer and
Receive Test Software
*** ACTiSYS
IR9100TX IR9100RX Software for Infrared TX/RX Test ***
Copyright
1999-2000, ACTiSYS Corp. Ver-1.0 11/30/99
Purpose:
-------
For IR Tx and
Rx test. User can select different single baud rate to test,
including
FIR/MIR/SIR (4M, 1.152M, 115.2K.2, 57.6K, 38.4K, 19.2K, 9.6K).
This package
consists of 3 files:
Readme.txt:
This is the text file you are reading now.
The DOS file
TxOnly.exe is Tx only for IR transmitter test.
The DOS file
IRLst.exe is Rx only for IR receiver test.
Configuration:
--------------
PC MS-DOS PC
MS-DOS
------------
-------------
| IR2000B |
----- ----- | IR2000B |
| |--|2000L|
-----> |2000L|--| |
| TxOnly.exe
| ----- ----- | IrLst.exe |
------------
-------------
Working
Priciple:
----------------
The TxOnly
program sends out frames with a frame format similar to
the IrDA
Frame Format (not IrDA Test Frame in IrDA-IrLAP layer).
Each frame is
made up of:
- A biginning
flag (BOF=0xC0) that marks the bigining of the frame.
- A data
field with 256 bytes of 0x55.
- A frame
check sequence (FCS) field that allows the receiving station
to check the
transmission accuracy of the frame.
Here
implements the CRC-CCITT FCS algorithm. On FIR it is 4-byte
and on any
other speed it is 2-byte.
- An ending
falg (EOF=0xC1) that signals the end of the frame.
--------------------------------------------------------
| BOF |
data-field (256 bytes) | FCS (2 or 4 bytes) | EOF|
--------------------------------------------------------
The IrLst or
your device will check the FCS of the frame to see if
the
transmission accuracy is OK or not.
Note: The
receiver can still receive something when its speed is
different
from the transmitter. But the FCS checking will fail. So FCS
checking is
the way to identify the current speed.
Use one
golden-reference transceiver on one side as reference, put
your DUT
(transceiver or IR device set) on another side for test.
If your
device is transmitting, run IrLst.exe on the reference PC.
If your
device is receiving, run TxOnly.exe on the reference PC.
To monitor
the working speed of your DUT try different speed to listen,
Only one
speed will be able to get correct FCS so that any frames sent
with any
other speeds will fail.
Please take
care of the ASYNC TRANSPARENCE and use Control Escape
byte
(CE=0x7D) to do the framing and deframing on SIR, including
the FCS
field. On FIR, the controller will do it for you. [1]
Equipment
Requirement:
---------------------
One or Two PC
desktop
One or Two
set of ACTiSYS IR2000B/L (FIR Adapter)
MS-DOS O.S.
Default
Settings:
----------------
COM2
(2F8/IRQ3), DMA0, IR2000L(IBM31T1100), 9600 bps
Important:
---------
Run only
under pure DOS. To be sure no resource conflict.
Disable COM2
in BIOS (for default settings).
------
TxOnly.EXE -----------
TxOnly.exe
This is an IR
Transmitter Program under DOS and IR2000B/L.
It supports
different IR transceiver brand and models and all
FIR/MIR/SIR
speeds (4M, 1.152M, 115.2K - 9.6K bps). User can
select any
speed with menu.
It sends
frames with 256 bytes of data (0x55) with CRC appended
(4-byte on
FIR and 2-byte on other speeds) continuously and has a
pause 0.5
second between frames.
Hit any key
will stop sending and back to the main menu for speed
selection.
ESC key will exit to DOS.
Usage:
txonly
-option1 -option2 -option3
-COM:x
(x=1~4) com port used setting. (Default COM2)
-IRQ:x
(x=3-5,7,9,11,15) IRQ used setting. (Default IRQ3)
-DMA:x
(x=0,1,3) DMA used setting. (Default DMA0)
-DON:x
(x=0~4) dongle selection.
0: HP1100, 1:
IBM31T1100, 4: VISHAY 6X0XE. (Default
IBM31T1100)
-V view
dongles supported
-RUN running
the program
example1:
IR2000L (IBM31T1100), COM2, IRQ3
txonly -run
example2:
IR2000L (HP1100), COM2, IRQ3
txonly
-don:0, -run
Note: disable
COM2 on BIOS and make sure no resource conflict.
-------
IRLst.EXE --------
This is an IR
Listener Program under DOS and IR2000B/L. It supports
different IR
transceiver brand and models and all FIR/MIR/SIR speeds
(4M, 1.152M,
115.2K - 9.6K bps). User can select any speed to listen.
It listens
and records frame in single selected speed. Display 'x'
means timeout
and '.' one frame received.
Hit any key
will stop listening and back to the main menu for speed
selection.
ESC key will exit to DOS.
The received
frames will be saved in a log file: Frame.log with
following
format:
frame_size*(2
bytes) + Time(4 bytes) + frame data
* The max
size of saved frame data is 64 bytes. So That
The size of
saved frame data block =
( frame_size
<= 64 )? frame_size : 64;
** There are
no limits to the number of frames but only the last 512
frames will
be saved.
The log file
"protores.log" is ASCII format. You can use any text
editor to see
it.
If listen to
IrDA communication the log file "protores.log" will
have
more
description about the frames.
Usage:
(similar to txonly.exe)
[1]IrLAP11.pdf
IrLAP ver1.1
10.1.3 ASYNC
Transparency
10.2 SYNC
Wrapper (576 kbps and 1.152 Mbps)
10.3 4PPM Wrapper
(4Mbps)
|