User Guide

Table Of Contents
Appendix B: Using the ArbSer Application 169
Appendix B: Using the ArbSer
Application
This appendix explains how to use the ArbSer application. This application provides some
simple commands for using the Mercury embedded modules to read tags.
The ArbSer program is a simple terminal program with which you can communicate with
the M4e, M5e, M5e-C, and M6e-TC modules. It provides several pre-formed commands,
as well as a raw message interface that can be used to generate any command. The
source code is part of the developer’s kit to provide an example of the message format
and CRC calculation.
The executable was built using a Windows 2000 PC. If the host PC’s operating system is
different, the executable should be rebuilt using Microsoft Visual C++ 6.0, or other
compatible compiler. If building ArbSer on another platform, some work may be
necessary to integrate the serial port properly.
ArbSer provides a help message if it is called with no argument:
C:\> ArbSer
ArbSer Version 3.2.0.
Usage: ArbSer <baud> <COM port> <option>
Default baud rate is 9600. To use 115200: ArbSer 115200 <options>
Default COM port is COM1. To use COM3: ArbSer <baud> -c3 <options>
Only one option can be used at a time:
-eraseApp – Erase application FW only (sectors 1-8).
-genMsg – Generates a msg and prints it to console.
-go – Start the application FW.
-l5a MercuryE – Load the application FW into FLASH
-l5f x.dat <addr> – Load Program file x.dat at FLASH address <addr>