Professional Documents
Culture Documents
GG
APPLICABILITY TABLE
PRODUCT GG863863 -SR ZIGBEE GG863863-SR PLUS GG863863-SR PRO GG863863-SR WW -MBUS GG863 ME50ME50-868868-00 GG863 ZE61ZE61 -2.4 GG863 NE50NE50 -868
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 2 of 31
GG
SPECIFICATIONS SUBJECT TO CHANGE WITHOUT NOTICE Notice While reasonable efforts have been made to assure the accuracy of this document, Telit assumes no liability resulting from any inaccuracies or omissions in this document, or from use of the information obtained herein. The information in this document has been carefully checked and is believed to be entirely reliable. However, no responsibility is assumed for inaccuracies or omissions. Telit reserves the right to make changes to any products described herein and reserves the right to revise this document and to make changes from time to time in content hereof with no obligation to notify any person of revisions or changes. Telit does not assume any liability arising out of the application or use of any product, software, or circuit described herein; neither does it convey license under its patent rights or the rights of others. It is possible that this publication may contain references to, or information about Telit products (machines and programs), programming, or services that are not announced in your country. Such references or information must not be construed to mean that Telit intends to announce such Telit products, programming, or services in your country. Copyrights This instruction manual and the Telit products described in this instruction manual may be, include or describe copyrighted Telit material, such as computer programs stored in semiconductor memories or other media. Laws in the Italy and other countries preserve for Telit and its licensors certain exclusive rights for copyrighted material, including the exclusive right to copy, reproduce in any form, distribute and make derivative works of the copyrighted material. Accordingly, any copyrighted material of Telit and its licensors contained herein or in the Telit products described in this instruction manual may not be copied, reproduced, distributed, merged or modified in any manner without the express written permission of Telit. Furthermore, the purchase of Telit products shall not be deemed to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents or patent applications of Telit, as arises by operation of law in the sale of a product. Computer Software Copyrights The Telit and 3rd Party supplied Software (SW) products described in this instruction manual may include copyrighted Telit and other 3rd Party supplied computer programs stored in semiconductor memories or other media. Laws in the Italy and other countries preserve for Telit and other 3rd Party supplied SW certain exclusive rights for copyrighted computer programs, including the exclusive right to copy or reproduce in any form the copyrighted computer program. Accordingly, any copyrighted Telit or other 3rd Party supplied SW computer programs contained in the Telit products described in this instruction manual may not be copied (reverse engineered) or reproduced in any manner without the express written permission of Telit or the 3rd Party SW supplier. Furthermore, the purchase of Telit products shall not be deemed to grant either directly or by implication, estoppel, or otherwise, any license under the copyrights, patents or patent applications of Telit or other 3rd Party supplied SW, except for the normal non-exclusive, royalty free license to use that arises by operation of law in the sale of a product.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 3 of 31
GG
Usage and Disclosure Restrictions License Agreements The software described in this document is the property of Telit and its licensors. It is furnished by express license agreement only and may be used only in accordance with the terms of such an agreement. Copyrighted Materials Software and documentation are copyrighted materials. Making unauthorized copies is prohibited by law. No part of the software or documentation may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, without prior written permission of Telit High Risk Materials Components, units, or third-party products used in the product described herein are NOT fault-tolerant and are NOT designed, manufactured, or intended for use as on-line control equipment in the following hazardous environments requiring fail-safe controls: the operation of Nuclear Facilities, Aircraft Navigation or Aircraft Communication Systems, Air Traffic Control, Life Support, or Weapons Systems (High Risk Activities"). Telit and its supplier(s) specifically disclaim any expressed or implied warranty of fitness for such High Risk Activities. Trademarks TELIT and the Stylized T Logo are registered in Trademark Office. All other product or service names are the property of their respective owners. Copyright Telit Communications S.p.A. 2011.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 4 of 31
GG
Contents
1. 1.1. 1.2. 1.3. 1.4. 1.5. 1.6. 2. 2.1.
2.1.1.
Introduction ................................................................ ................................................................................................ ........................................................................ ........................................ 6 Scope ........................................................................................................................ 6 Audience ................................................................................................................... 6 Contact Information, Support................................................................................... 6 Document Organization ............................................................................................ 7 Text Conventions ...................................................................................................... 7 Related Documents .................................................................................................. 7 GG863GG863- SR Application Processor Flashing .......................................................... .......................................................... 8 Flashing through the serial port .............................................................................. 8
Programming instructions ...............................................................................................8
2.2.
2.2.1.
3. 3.1.
GG863GG863- SR Short Range Flashing ................................................................ ....................................................................... ....................................... 18 Flashing through the serial port ............................................................................ 18 Follow the steps below in order to program the firmware in the SR module inside the GG863-SR using the serial port exported through the GG863-SR RJ11 (please refer to [1]): ........................ 18 3.2. Flashing via USB ..................................................................................................... 20 APPENDIX ................................................................ ................................ ................................................................ ................................ ......................................... ................................ ......... 26 4.1. 4.2.
4.2.1. 4.2.2. 4.2.3.
4.
Appendix.a - Windows USBser drivers .................................................................. 26 Appendix.b - Scripts for SR module Flashing ........................................................ 28
ZigBee Technology ..........................................................................................................28 MeshLite Technology ......................................................................................................28 Wireless M-Bus Technology ..........................................................................................28
5. 6.
ACRONYMS AND ABBREVIATIONS ................................................................ .................................................................... .................................... 30 Document History ................................................................ ............................................................................................. ................................ ............................. 31
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 5 of 31
GG
1.
1.1.
Introduction
Scope
The GG863-SR is an all-in-one gateway solution which routes data between short range networks and IP networks. The GG863-SR brings together the GSM/GPRS and short-range technology, hosting GE863-PRO with dedicated application processor (ARM9) and any of the short-range modules from Telit's wide product offer.
Scope of this document is to describe process to upgrade firmware of GG863-SR, both for Application and Short Range microprocessor.
1.2.
Audience
This User Guide is intended for software developers who develop applications using one of GG863-SR product variant, or for users that want upgrade GG863-SR software release.
1.3.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 6 of 31
GG
For detailed information about where you can buy the Telit modules or for recommendations on accessories and components visit: http://www.telit.com To register for product news and announcements or for product questions contact Telit Technical Support Center (TTSC). Our aim is to make this guide as helpful as possible. Keep us informed of your comments and suggestions for improvements. Telit appreciates feedback from the users of our information.
1.4.
Document Organization
This document contains the following chapters: Chapter 1: Introduction provides a scope for this document, target audience, contact and support information, and text conventions. Chapter 2: GG863-SR Application Processor Flashing provides instructions on how to update the ARM9 application processor firmware into GG863-SR. Chapter 3: GG863-SR Short Range Flashing describes guidelines to update the SR module firmware inside GG863-SR.
1.5.
Text Conventions
Danger This information MUST be followed or catastrophic equipment failure or bodily injury may occur. Caution or Warning Alerts the user to important points about integrating the module, if these points are not followed, the module and end user equipment may fail or malfunction. Tip or Information Provides advice and suggestions that may be useful when integrating the module. All dates are in ISO 8601 format, i.e. YYYY-MM-DD.
1.6.
Related Documents
[1] 1vv0300835 GG863-SR Hardware User Guide [2] 4990250166_DTS datasheet
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 7 of 31
GG
2.
2.1.
NOTE: To request the GG863-SR RJ11 connector datasheet [2] please contact Telit Technical Support Center (TTSC).
2.1.1.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 8 of 31
GG
3. Click on OK. 4. In the Xfp window: Select the Port of your host system (if your PC has only a serial port, it should be COM1) Select the Speed: 115200 bits per second Click on Browse; a file open dialog window will open. Select the .stream file. The following window illustrates an example of selected stream. The Stream Info box now displays information about Software Version and Product Name of the stream.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 9 of 31
GG
5. Power Off the module, Press Program and power it on when Linking message appears. At the end of the programming procedure, the following dialog window will open
6. Click Ok 7. Close the xfp.exe program. 8. The Application Processor of GG863-SR has now been programmed.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 10 of 31
GG
2.2.
2.2.1.
Programming instructions
Follow the step below in order to program a binary in the Flash Memory of the GG863-SR. 1. Turn off the GG863-SR 2. Plug the mini USB cable into the GG863-SR USB Device Port and Turn On the GG863-SR 3. Wait 5 seconds for the Virtual COM appearance in the device manager and annotate it. (If you use the same USB port, the virtual COM does not change)
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 11 of 31
GG
4.
Once the Virtual COM has appeared (around 5 seconds), follow the a, b, c ,d and e steps within 10 seconds (otherwise the port will disappear): a. Open a communications/terminal emulation program like HyperTerminal b. Click on New Connection and enter a Name
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 12 of 31
GG
d. Quickly connect using the virtual COM port just created (you can use any serial configuration); click on OK
e. Press any key to activate the U-Boot console environment and wait around 12 seconds for U-Boot prompt appears.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 13 of 31
GG
NOTE: The first time this procedure may be not successful because of the speed of rebooting time. In that case, please follow the step 5, otherwise go to step 6.
5. Repeat the 1, 2 and 4 steps. 6. Now, type the following commands in the terminal: erase all loady
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 14 of 31
GG
7. The binary file containing the application must be loaded from the attached PC to the target RAMarea using Ymodem. Go to Transfer->Send File. The following window appears:
8. Click on Browse and search for the .bin file. Then click on Send. The following dialog window will appear:
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 15 of 31
GG
9. You can see the size file on the terminal after the load has been completed.
10. In the terminal type the following commands: protect off all cp.b 20200000 40000000 ${filesize} Wait until the binary is copied into the GG863-SR flash memory
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 16 of 31
GG
11. Close the terminal 12. The Application Processor of GG863-SR has now been programmed.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 17 of 31
GG
3.
3.1.
For Wireless M-Bus technology: 2B 2B 2B 41 54 42 4C 0D (in order to put in Bootloader the MB module) For MeshLite technology: 6D FF FF 41 54 42 4C 0D (in order to put in Bootloader the ML module) 7. Close the Raw terminal 8. Now Run the SRManagerTools.exe in order to flash the firmware:
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 18 of 31
GG
Select the employed Technology and then press Flashing Select the Serial COM connected to the GG863-SR and the Platform Click on Browse to select the folder containing the firmware to load Press Flashing
9. Turn Off and On again the GG863-SR. The following screeshots illustrate an example in which the ZB technology is selected.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 19 of 31
GG
3.2.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 20 of 31
GG
Click on Next
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 21 of 31
GG
Click on Browse and select the folder containing the driver provided by Telit. Click on Next
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 22 of 31
GG
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 23 of 31
GG
Click on Finish 9. Wait 15 seconds to be sure that the Gadget Serial COM has been created and the SR module is in Bootloader mode 10. Now Run the SRManagerTools.exe in order to flash the firmware: Select the employed Technology and then press Flashing Select the Gadget Serial COM and the Platform Click on Browse to select the folder containing the firmware to load Press Flashing 11. Turn off and on again the GG863-SR. The following screeshots illustrate an example in which the ZB technology is selected.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 24 of 31
GG
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 25 of 31
GG
4.
4.1.
[Manufacturer] ; Manufacturer section %ATMEL%=AtmelMfg ; Only one manufacturer (ATMEL), models section is named ; AtmelMfg [AtmelMfg] ; Models section corresponding to ATMEL %USBtoSerialConverter%=USBtoSer.Install,USB\VID_03EB&PID_6119 ; Identifies a device with ATMEL Vendor ID (03EBh) and ; Product ID equal to 6119h. Corresponding Install section
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 26 of 31
GG
; is named USBtoSer.Install [USBtoSer.Install] ; Install section include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=USBtoSer.AddReg ; Registry keys to add are listed in USBtoSer.AddReg [USBtoSer.AddReg] ; AddReg section HKR,,DevLoader,,*ntkern ; HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" [USBtoSer.Install.Services] ; Services section AddService=usbser,0x00000002,USBtoSer.AddService PnP driver for the device [USBtoSer.AddService] ; Service install section DisplayName=%USBSer% ; Name of the serial driver ServiceType=1 ; Service kernel driver StartType=3 ; Driver is started by the PnP manager ErrorControl=1 ; Warn about errors ServiceBinary=%12%\usbser.sys ; Driver filename [Strings] ; Strings section ATMEL="ATMEL Corp." ; String value for the ATMEL symbol USBtoSerialConverter="AT91 USB to Serial Converter" ; String value for the USBtoSerialConverter symbol USBSer="USB Serial Driver" ; String value for the USBSer symbol
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 27 of 31
GG
4.2.
4.2.1.
4.2.2.
MeshLite Technology
rmmod g_ether mknod /dev/ttygserial c 127 0 modprobe g_serial use_acm=1 stty 19200 < /dev/ttyS3 echo -ne "\x6D\xFF\xFFATBL\r" > /dev/ttyS3 sleep 1 stty 115200 < /dev/ttyS3 until tty_chain -i /dev/ttyS3 -o /dev/ttygserial; do sleep 1; done
4.2.3.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 28 of 31
GG
modprobe g_serial use_acm=1 stty 19200 < /dev/ttyS3 echo -ne "+++" > /dev/ttyS3 sleep 1 echo -ne "ATBL\r" > /dev/ttyS3 sleep 1 stty 115200 < /dev/ttyS3 until tty_chain -i /dev/ttyS3 -o /dev/ttygserial; do sleep 1; done
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 29 of 31
GG
5.
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 30 of 31
GG
6.
Document History
Revision 0 Date 2012-02-10 Changes First issue
Reproduction forbidden without written authorization from Telit Communications S.p.A. - All Rights Reserved. Mod. 0809 2011-07 Rev.2
Page 31 of 31