The text of a manual · part 10 of 25
AI1620 SmartPass System Guide, pages 91 to 100
Pages 91 to 100 of 246
The original document is the PDF (4.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec AI1620 and Intermec SmartPass Reader AI1620
Page 91
5 General Software Information
Page 92
Page 93
General Software Information
5
This chapter provides software-related information for the AI1620 SmartPass system. The information covers version SP2-ACC V2.01 of the SmartPass software. This version will only execute on AI1620 SmartPass models. Note: Amtech strongly recommends that you read the READ.ME file on the SmartPass software diskette before you install or use SmartPass. This chapter contains various software-related topics arranged in alphabetical order by subject. In addition to this chapter, see Chapter 6 and Chapter 7.
Command Entry Conventions All SmartPass commands are preceded by the start-of-message character (#). The endof-message sequence expected from the host is a carriage return (CR). SmartPass terminates messages with a return and a line-feed (CR/LF). For example, the switch to command mode 01 is typed as follows:
#01<enter> where: <enter>
Enter or Return key
Some command characters may be represented by the letter N. This letter indicates you are to supply a value. Maximum valid entries are the numbers 0–9 and the uppercase letters A–F. These letters allow for as many as 16 available user responses and is based on the hexadecimal numbering system. Commands have at least two characters following the # character. Table 5-1shows the basic structure of a four-character command. Table 5-1 Four-Character Command Structure #1005 (Set Baud Rate to 9600 Baud) #
All commands are preceded by the # character.
1
The entry in the first position of the command indicates the command group. This command is in Group 1- Communications Port Control.
0
The entry in the second position of the command indicates the command subgroup. In this example, all commands with a second digit of 0 apply to the main port.
0
The entry in the third position of the command is the command digit. In this example, the 0 indicates this command affects the baud rate.
5
The entry in the fourth position of the command indicates the setting. Normally this is a variable and is usually a hexadecimal value from 0 to F. In this example, 5 sets the baud rate to 9600, the factory setting. In some commands, this digit may be a four-place hexadecimal string or a character string.
5-3
Page 94
AI1620 SmartPass System Guide
Command Response Conventions Like SmartPass commands, responses are preceded with the # character. Many SmartPass commands respond with #Done or #Error indicating the command was or was not recognized and completed. Other commands respond with a four-character identifier followed by one or more values. Table 5-2 shows an example of a command/reply sequence. This example assumes that a SmartPass with serial number 97001P running version SP2-ACC 1.03D software is connected to a PC running a terminal emulation software package such as Windows Terminal or ProCom. The command sequence verifies that communications are working correctly. Table 5-2 Sample Command Sequence Entry
SmartPass Response
Notes
#01 <CR>
#Done <CR/LF>
Switches SmartPass to command mode
#505 <CR> #Model SP2-ACC Ver 1.03D SN97001P <CR/LF>
Reports the software version and serial number
#00 <CR>
Returns SmartPass to data mode
#Done <CR/LF>
In command discussions, SmartPass response characters may be shown in brackets < >. This indicates that the response is a value in the range of characters. The brackets are not part of the response. For example, the display power fail bit command 520 responds with either a 0 or a 1. In the command discussion, the response is shown as:
#PWRB <0-1> The actual SmartPass response is one of the following:
#PWRB 0 #PWRB 1 In the above example, PWRB is the four-character identifier for power fail bit, and the 0 or 1 is the value. All spaces shown in the response are actual spaces sent from SmartPass. In the example above, one space is between the letter B and the number.
5-4
Page 95
General Software Information
5
Operating Parameters SmartPass readers maintain their operating parameters in battery-powered RAM so that the parameters will be preserved after a power-down sequence.
Power Fail The system maintains a power fail flag. The host transmits display power fail bit (command 520) to determine if a power down has occurred. This flag is cleared by both reset reader (command 63) and reset power fail bit (command 65).
Program Download Program download stores the SmartPass applications software into SmartPass’s flash memory. Program download is used to install program upgrades, add features, and to recover from corrupted program data. The download mode supports commands 90, 91, 96, 97, and 99.
Download Considerations You should consider the following items when performing program download:
•
SmartPass does not process tags while in download mode.
•
SmartPass accepts only download commands while in download mode. It responds to all other commands with an e rror message.
•
SmartPass will not accept any program data unless a successful erase of flash memory has been performed before transmitting the data. Erasing the flash memory typically takes 7 seconds.
•
Exiting from download mode will re-execute startup. If the new software has been loaded without errors, SmartPass will come up in data mode. If a flash checksum error is detected, SmartPass will reenter download mode and transmit a sign-on message with a software version of 0.00 and without a serial number.
Note: SmartPass uses default communication parameters when operating in download mode (9600 baud, 8 data bits, 1 stop bit, no parity, basic protocol), and does not echo commands in download mode.
5-5
Page 96
AI1620 SmartPass System Guide
Download Procedures If Amtech releases a new release of the SmartPass software or if SmartPass seems not to be working properly, you may need to download the software to SmartPass. Use the following procedures to download a new program file. Use the SmartPass Host software included on the SmartPass software diskette provided to dealers.
Follow the instructions in “Connecting SmartPass to the PC” on page 47 to connect a PC to SmartPass. Then follow these instructions. 1. Insert the SmartPass software diskette into the A:\ drive. 2.
Look in the A:\1620 directory for the file with an extension of .hex. In this example, the file name is SP2ACC.HEX. This is the firmware download file.
3.
See “Loading and Starting SmartPass Host” on page 4-15 and “Verifying PC-toSmartPass Communications” on page 4-15 to launch the SmartPass Host software and connect to SmartPass.
4.
Select the Reader drop-down menu and click on the Download command. This displays the Select Download File dialog box shown in Figure 5-1.
5.
Type in the name of the download file as shown in Figure 5-1 and click the OK button.
Figure 5-1 Download File Name Entry
The software will begin downloading. When the download is complete, SmartPass Host displays a Download Complete message on the message line.
5-6
Page 97
General Software Information
5
Startup Upon startup, SmartPass readers transmit a sign-on message or a boot ROM failure message.
Sign-On Message The sign-on message should appear as shown below: Model [software version] SNYYYYYY [Copyright notice] where YYYYYY is the serial number assigned to the SmartPass unit being used. Serial number 000000 is the default setting and is not a valid number. If this number appears in the sign-on message, either the battery has failed or the serial number has never been stored into reader memory. The appropriate serial number is assigned using command 695. If the flash memory checksum does not verify, the sign-on message appears as shown below: Model [Model] Ver 0.00 [Copyright notice]
Boot Failure Message The software performs a checksum function on itself. The function returns a specific value for the particular version of software. If the value returned is not correct, the boot ROM checksum assumes that locations have been corrupted, and a failure condition exists. If the boot ROM checksum is not correct, a boot failure message is transmitted. If the failure message does not transmit, a communications error has occurred, or the boot failed to the extent that it cannot transmit the failure message. If the failure message version number equals 0.00 and no serial number exists, the flash memory checksum has failed, and SmartPass is operating out of boot ROM. In this case, SmartPass automatically enters download mode and waits for a new program to be loaded into the flash memory. Follow the instructions in “Program Download” on page 5-5.
Tag/Message Buffer SmartPass readers maintain a tag buffer in battery-backed RAM to save tag IDs acquired while in the command mode and when data inquiry protocol is used. This buffer holds up to 195 time-stamped messages. Error messages will be transmitted to the host to provide buffer status as it fills. When the buffer fills, subsequent tag IDs will be lost. For more information on how the buffer works, refer to “Command Entry Conventions” on page 5-3 and “6161 Enable Buffer Control Mode” on page 7-28.
5-7
Page 98
AI1620 SmartPass System Guide
5-8
Page 99
6 Communication Protocols