17
This document is available at http://www.falcom.de/ . XF55-AVL Getting started Version 1.01

Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

Embed Size (px)

Citation preview

Page 1: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

This document is available at http://www.falcom.de/ .

XF55-AVL Getting started

Version 1.01

Page 2: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

Index of contents

0 INTRODUCTION ..............................................................3 0.1 GENERAL........................................................................................................................................ 3 0.2 USED ABBREVIATIONS.................................................................................................................... 3 0.3 RELATED DOCUMENTS.................................................................................................................... 3

1 GETTING STARTED........................................................4 1.1 TERMINAL EMULATOR SETUP ......................................................................................................... 4 1.1.1 Evaluating the XF55-AVL locally, using SiRFDemo software..................................................... 9

2 HARDWARE CONFIGURATION ................................12 2.1 XF55-AVL HARDWARE ............................................................................................................... 12 2.2 XF55-AVL OPERATING WITH AVL OR TCP/IP SOFTWARE (HARDWARE CONFIGURATION)......... 12

3 HOW TO UPDATE THE NEW FIRMWARE INTO THE XF55-AVL................................................................14

Version history:

Version number Author Changes 1.00 Fadil Beqiri Initial version

1.01 Fadil Beqiri A complete update implemented

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 1

Page 3: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01 Cautions

Information furnished herein by FALCOM are accurate and reliable. However, no responsibility is assumed for its use. Please read carefully the safety precautions. If you have any technical questions regarding this document or the product described in it, please contact your vendor. General information about FALCOM and its range of products is available at the following Internet address: http://www.falcom.de/.

Trademarks

Some mentioned products are registered trademarks of their respective companies.

Copyright

This manual is copyrighted by FALCOM GmbH with all rights reserved. No part of this user’s guide may be produced in any form without the prior written permission of FALCOM GmbH.

FALCOM GmbH.

No patent liability is assumed with respect to the use of the information contained herein.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 2

Page 4: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

0 Introduction

0.1 General

This brief guide explains the basic steps for getting started with XF55-AVL. The XF55-AVL GSM/GPRS/GPS device allows a quick and uncomplicated configuration and evaluation by the user via local RS232-interface (directly connected to the serial port). With WindowsTM Hyperterminal application (utility that is pre-installed on all versions of Windows 98, 98SE, Windows ME, Windows NT, and Windows 2000) it is possible to request GPS position data, and to execute a range of configurations.

0.2 Used abbreviations

Abbreviation Description

GPS Global Positioning System

NMEA National Maritime Electronics Association

GSM Global Standard for Mobile Communications

GPI General Propose Input

CRLF Carriage Return/Line Feed

bps Bit per Second

0.3 Related documents

1. ETSI GSM 07.05: “Use of Data Terminal Equipment–Data Circuit terminating Equipment interface for Short Message Service and Cell Broadcast Service”

2. ETSI GSM 07.07 “AT command set for GSM Mobile Equipment” 3. ITU-T V.25ter “Serial asynchronous automatic dialling and control” 4. xf55_at_command_set.pdf 5. gprs_startup_user_guide.pdf 6. SiRF binary and NMEA protocol specification;

www.falcom.de/service/download/SiRF/SiRFMessages.pdf 7. SiRF-demo software and manual;

http://www.falcom.de/service/downloads/SiRF/SiRFdemo.pdf http://www.falcom.de/service/downloads/SiRF/SiRFdemo.zip

8. xf55_avl_tcp_ip_software_manual.pdf 9. universal_evaluation_board_manual.pdf 10. xf55_avl_hardware_description.pdf 11. xf55_avl_using_V2.0RC1_sw.pdf 12. xf55-avl_using_stepp_II_1.6.2_sw.pdf

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 3

Page 5: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

1 Getting started

1.1 Terminal emulator setup

The instructions below describe how to use the XF55-AVL (operating with STEPP II Firmware V1.6.2, V2.0RC1 or TCP/IP stack) with a PC running Windows 2000. The example below is based on the Windows™

Hyperterminal; because of it is a supplement tool that is also licensed by purchased Windows™. The XF55-AVL can be configured by using any other Terminal-Program as well (user requirements). On the first time you power the module up, you can use a terminal software, which provides an interface between your PC and XF55-AVL module.

Figure 1: Using Microsoft Windows™ Hyper Terminal

On Windows 2000, starts the Hyper Terminal program. On the displayed window assign the name for a new session (e.g XF55-AVL).

Figure 2: Assign the name for a new session

Choose the correct COM Port (e.g. COM 1) and baud rate settings (57600bps, 8 bit, no parity bit, 1 stop bit), and click on OK button.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 4

Page 6: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01 Hint 1: To control the GSM/GPRS and GPS functionalities of the XF55-

AVL operating with the “V2.0RC1”, use the GPS port (Ser1) (SP_2 port on the Evaluation-Board, see [9]). The pre-defined factory settings of this port are as follow:

57600 bps 8 Data bits No Parity bit 1 Stop bit

None Flow control.

Hint 2: To control the GSM/GPRS and GPS functionalities of the XF55-AVL operating with the “STEPP II Firmware V1.6.2” firmware, use the GPS port (Ser1) (SP_2 port on the Evaluation-Board, see [9]). The pre-defined factory settings of this port are as follow:

9600 bps 8 Data bits No Parity bit 1 Stop bit

None Flow control.

Hint 3: To control the GSM/GPRS functionalities of XF55-AVL use the GSM port (SER0) (SP_1 port on the Evaluation-Board, see [9]). The settings of this port are as follow:

300... 230 k bps 8 Data bits No Parity bit 1 Stop bit

Hardware Flow control.

Hint 4: To control the GSM/GPRS functionalities of XF55-AVL operating with TCP/IP stack, use the GPS port (Ser1) (SP_2 port on the Evaluation-Board, see [9]). The settings of this port are as follow:

57600 k bps 8 Data bits No Parity bit 1 Stop bit

NO Flow control.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 5

Page 7: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

Figure 3: COM Port transmission settings

1) If you are using the XF55-AVL module operating with “STEPP II Firmware V1.6.2” or “V2.0RC1” and the connection to the module is created, the transmitted protocols from the module will be displayed on the terminal window.

2) If you are evaluating the GSM/GPRS functionality of XF55-AVL and the SP_1 port of the Eval-Board is connected to your PC, instead of the GPS messages, a “^SYSSTART” string will be displayed on the terminal window. Type:

AT <enter> If OK is responded, you are ready to control/evaluate the GSM/GPRS functionality by using other AT commands, see [4]. Please, do not follow the steps described below, if you are controlling/evaluating the GSM/GPRS functionalities. These are available for the XF55-AVL operating with firmware 1.6.2 or V2.0RC1, only.

Figure 4: COM Port transmission settings

If a connection to the XF55-AVL module is established, the transmitted protocols will be displayed.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 6

Page 8: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

Please note that, if the embedded GPS receiver of the XF55-AVL module (operating with 2.0RC1 firmware) is unable to calculate a valid position due to the satellites in view (less then 3 satellites), it stops the start-up procedure (no GPS messages will be displayed in the terminal) and it goes in the sleep state. In that case, please change the location of the GPS antenna and restart your XF55-AVL module. In order to evaluate the GPS receiver, if valid positions are being received, see section 1.1.1.

The next step, click on Property button and activate the Settings tab sheet. Then click on ASCI setup... button.

Figure 5: Connections properties. On the appeared window select the check box captioned send line ends with line feeds and click on OK . Close the next opened dialog box.

Figure 6: Change the default setting Now open a text file (txt extended file) and write “$PSRF108,PIN=3333*68” command which has to be sent to the XF55-AVL (e.g see the figure below). The value “3333” of PIN parameter has to correspond to the PIN number of your SIM Card, which is provided by your mobile phone service provider. Please note that, after the command is written, press the enter key to complete the command (<CR><LF>), else the command will be ignored from the XF55-AVL. Save the opened file, for example “example.txt” and then close it. Please remember its directory. Note that, this command is

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 7

Page 9: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01 available using the “V2.0RC1” firmware, only. Using the “1.6.2” firmware other command has to be written into the text file.

Figure 7: Write the command on the text file. In order to sent the command to the terminal you have to transfer the text file with included command. Click on Transfer menu and select Send text file... .

Figure 8: Start the transfer program. Select the saved text file “eula.txt” from its directory and click the open button. Now the command(s) included in the text file is automatically sent to the connected XF55-AVL. Note that, after the text file is sent to the device and it is accepted from the device as well (command is written without single mistake), it writes the user defined value on the internal FLASH and it will be displayed upon request. Sending the “$PSRF108,CNF*49” command to the XF55-AVL, it responds only changed configuration (changed from the user) while the GPS messages are being displayed. To find the received configurations from the XF55-AVL use the vertical and horizontal scroll bars of terminal. The default settings will be not displayed.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 8

Page 10: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

Figure 9: Sending the command

More information how to test the Falcom XF55-AVL operating with firmware V2.0RC1 can to be found in a separated manual. See section 1.3 on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes how to setup, configure and poll the current state of the XF55-AVL remotely via a TCP server connection.

1.1.1 Evaluating the XF55-AVL locally, using SiRFDemo software

The section follow is available for XF55-AVL operating with “STEPP II Firmware V1.6.2”, “V2.0RC1” or GPS standard firmware 2.20. After you have connected the serial port (SP_2) of XF55-AVL Evaluation Board to one of availble ports on your PC, please install the SiRFdemo software, which is available on the CD, or download it from Falcom’s Website:

www.falcom.de/service/downloads/SiRF/SiRFdemo.zip 1. Run the SiRFdemo software by double clicking the SiRFdemo.exe file.

The SiRFdemo program will be automatically installed onto your computer.

2. To start up the SiRFdemo software, either double-click on the SiRFdemo.exe installed file or if you have created a shortcut on your desktop, double-click the SiRFdemo.exe.

3. The SiRFdemo software will be appeared as follow: Before running the software, make sure that your PC is

recognizing the XF55-AVL properly. In order to receive the valid positions for the current location of the device, please, place it so that the receiver can have clear view to the sky. On the activated Data Source Setup window, select the COM

(e.g. COM1) for SiRFdemo program. Using V2.0RC1 firmware set the baud rate to 57600 bps. See figure below. Using STEPP II 1.6.2 firmware set the baud rate to 9600 bps.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 9

Page 11: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

Click the icon on toolbar by the up-down button (marked button

in figure below) the program will automatically detects the selected COM port and starts evaluating.

The output messages can be viewed in the Development Data

screen. For a description of NMEA messages, please, download from Falcom’s Website the “SiRFmessages.pdf” file. The valid/invalid protocols can be recognized in the $GPRMC protocol as shown in the figure below. The capital letter A means, incoming protocols are valid and the capital letter V means, incoming protocols are invalid

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 10

Page 12: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

For more details about using of the SiRFdemo software, please

download the SiRFdemo.pdf manual, which is also available on Falcom’s website.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 11

Page 13: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

2 Hardware configuration

2.1 XF55-AVL hardware

XF55-AVL is a Plug-and-Play Tri-Band GSM/GPRS/GPS device with an integrated SIM card holder, two on board antenna connectors (GSM and GPS) and a 80-pin board-to-board connector, provides a quick and easy way to plug in GSM/GPRS and GPS functionality to systems and terminals. It can be directly connected via provided interfaces (see figure below) to the serial port of a desktop or notebook computer. The module sends and receives data by any GSM and GPRS network. It supports SMS, Fax and voice calls. The XF55-AVL can easily be controlled by using AT commands for all kinds of operations. Available in tri-band configurations, this full type approved integrated module constitutes a self contained, fully integrated implementation of the GSM/GPRS standard.

2.2 XF55-AVL operating with AVL or TCP/IP software (hardware configuration)

XF55-AVL is a Plug & Play GSM/GPRS and GPS device, which contains an AVL software application (STEPP II Firmware V1.6.2 or V2.0RC1 delivered on the CD) that can locally and remotely be configured. It can be directly connected via GPS first serial interface (see figure below) to the serial port of a desktop or notebook computer or as stand-alone device wich can be remotely configured and evaluated. The GSM part will be monitored from the AVL software loaded into the FLASH memory of GPS part. In this

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 12

Page 14: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01 way the module can sends and receives data to/from the local GPS first port or to the GSM network. The integration of TCP/IP stack (TCP/IP firmware delivered on the CD) into the equipment converts it to a stand-alone client that can be connected to the Internet through any GSM 850/900/1800/1900 networks. To operate with TCP/IP and PPP stack you have to load it into the FLASH memory of GPS part. The module can also sends and receives data by GPRS network using TCP/IP stack. The GSM/GPRS part will be evaluated via AT and IP commands. An essential persequisite to operate with both aforementioned firmwares (AVL or TCP/IP application) is that the first serial interface of GSM part must externally be connected to the second serial interface of GPS part (see also figure below).

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 13

Page 15: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

3 How to update the new firmware into the XF55-AVL

In order to allow users of XF55-AVL to utilize AVL software (known as firmware), a program has to be available to update the on-board Flash-Memory. An update program (SirfFlash Tool) can be found on the delivered CD.

Important note: The new update procedure of firmware erases the whole internal flash memory and the presettings stored on it are absolutely erased, too.

WARNING !!! In order to evaluate and test both the 1.6.2 and 2.0RC1 firmware on the same XF55-AVL terminal, the first serial port (GSM) and second serial port (GPS) have to be configured to the same bit rate. Whereby the bit rate of GPS serial port will be specified from the used firmware. If the XF55-AVL has been started-up with firmware 1.6.2, the communication between GSM and GPS serial ports is fixed at the 9600 bit rate (due to the used firmware operation task). This setting is stored in the non-volatile memory of GSM part and will be used whenever the engine is powered up again.

If you reprogram the FLASH with the firmware 2.0RC1 the communication between GSM and GPS serial ports has to be specified to 57600 bit rate (due to the used firmware operation task). The GSM serial port baudrate is read from the non-volatile memory and automatically set to the 9600 bps. So the communication to the GSM could not be performed. In order to change and specify the bit rate to the required firmware operation, use the SP_1 serial interface of the EVAL-Board. Send the AT+IPR=0 (autobaud mode,[4]) see command and then enter the AT&W command. If these steps are properly done, restart your XF55-AVL module.

If you reprogram the FLASH with the firmware 1.6.2 or greater versions the communication between GSM and GPS serial ports has to be specified to 9600 bit rate (due to the used firmware operation task). The GSM serial port baudrate is read from the non-volatile memory and automatically set to the 57600 bps. So the communication to the GSM could not be performed. In order to change and specify the bit rate to the required firmware operation, at first shut down the TCP-connection using PSRF111,stop (if such connection already exist), and then the command:

PSRF111,autobaud //set the baudrate between GSM and GPS core to 0. should several times be sent until the following message appears:

$[g] GSM compatibility mode entered for 1.6.x

After the modem has been set in the autobauding mode, then other firmware such as the 1.6.2 and greater version can be flashed in the FLASH memory of target device.

In order to update a firmware into the internal FLASH of device, please follow step-by-step the instructions described below:

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 14

Page 16: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

Install the SiRF software (SirfTools Setup for Win32) included on distributed CD.

If the XF55-AVL device is still not connected to the Falcom Universal Evaluation Kit, connect the XF55-AVL (see [9] installation instructions. Note, the SP_2 of XF55-AVL Evaluation-Board has to be connected to the one of the available COM ports of your PC), else go to the next step.

The update procedure takes place if the target system (XF55-AVL) is reset in the internal update mode, see also [9]. The following instruction are referred to the XF55-AVL Evaluation-Board:

Press the “boot” button, and while holding it, force a reset procedure by pressing the “Button 3”, and after at least 1 sec. release the “Button 3”.

Then release the “boot” button. The XF55-AVL is already set into the Boot-mode.

Unzip the SiRFDemo.zip file and start “SiRFflash.exe” program from the folder “sirf_flash” by double clicking the icon. The Dialog Window shown below appears. Ensure that the connection to one of the available COM ports on your PC (i.e. COM1) is properly performed and the XF55-AVL is set into the boot mode.

Please refer to the figure below for the following points. Select the Program flash radio button in the Activity selection box

Select the Line where your XF55-AVL is connected (i.e COM1) and Baud rate (115200) in the Communication settings box. Select the Chip select (CSN0) and Chip offset (0) in the Flash location settings box. Choose the download file (the new firmware “*.S” is included into the delivery file) by using the Browse button into the File selection box. Select Erase whole chip, in the Programming options box. Press Execute button to start the flash update programming. The current positions of the programming progress are displayed in the Progress box and the Total, Erase and Burn process are shown in the Timing box.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 15

Page 17: Vorlage für Dokumente - falcom.de · This brief guide explains the basic steps for getting started with XF55-AVL. ... on the “xf55_avl_using_V2.0RC1_sw.pdf” user manual describes

XF55-AVL GETTING STARTED VERSION 1.01

Note: Do not interrupt this procedure. A partially reprogrammed flash memory could lead to invalid operation of the terminal and permanent damage to the components.

If an error is generated by clicking the Execute button or during flash programming, check cables and retry the operation or click the help button to get the troubleshooting described in the help file of SirfFlash program.

If download has been successfully completed, power down the XF55-AVL by disconnecting the power supply. Your XF55-AVL can be run with the AVL firmware. The XF55-AVL with the AVL firmware is automatically started at the next power up.

For further evaluation of the updated firmware in the FLSH memory of target device, please refer to the corresponding documentation, which is included on the delivering CD.

This confidential document is the property of FALCOM GmbH and may not be copied or circulated without permission. Page 16