This document contains and refers to proprietary information, which is protected by copyright.
Reproduction of any part of this document is prohibited without the prior written permission of Toumaz
UK Limited.
Notices
Information contained in this publication regarding the Telran TZ1053 and the Telran TDK is provide
as-is and may be superseded by updates. It is the Users responsibility to see that his/hers
applications meets their own specifications.
TOUMAZ MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER
EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE
INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE,
MERCHANTABILITY OR FITNESS FOR PURPOSE.
Toumaz disclaims all liability arising from this information and its use. Use of Toumaz’s products as
critical components in life support systems is not authorized except with express written approval by
Toumaz. No licenses are conveyed, implicitly or otherwise, under any Toumaz intellectual property
rights.
All information in this document is subject to change without notice. The products supplied may differ
in appearance from that shown.
Trademarks
The Toumaz™ name and logo, and Telran™ are registered trademarks of Toumaz UK Limited.
The Microchip name and logo, KEELOQ, MPLAB, PIC, are the registered trademarks of Microchip
Technology Incorporated.
UMI and the UMI logo are trademarks of Cambridge Consultants Ltd.
All other trademarks mentioned herein are the property of their respective companies
Document Revision History
Issue Description Author Date
1.00 First Version for Telran TDK AM 20-Jan-2011
2.00 Updated for Version 2 TDKs AM 06-Jul-2011
2.01 Updated for Version 2 TDKs AM 10-Aug-2011
2.02 Safety Information Updated AM 22-Sep-2011
TZ2070-IFU ver 2.02 Sep 2011 Page 2 of 58
Contents
connected freedom
1.
1.1
1.2
1.3
1.4
1.5
1.6
1.7
2.
2.1
2.2
2.2.1
2.2.2
2.2.3
2.3
2.3.1
Copyright 2011 Toumaz UK Limited ............................................................................... 2
The Telran TDK kit serves as a development and evaluation tool for the Telran TZ1053 RF
device. The boards contained in this kit have sufficient features and expandability to allow the
user to explore all of the features of the Telran TZ1053.
This document is applicable to the Telran TDK Version 2
This section of the User Guide contains general information that will be useful to know before
using the Telran TDK Kit contents. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Toumaz Web Site
• Customer Support
• Document Revision History
1.1 Document Layout
This document describes how to evaluate and use the Telran TZ1053 device by using the
hardware within Telran TDK kit. The User guide layout is as follows:
Section: 1 Introduction
This section of the User Guide contains general information that will be useful to
know.
Section: 2. Regulatory Approval
This section indicates the current Regulatory Approval Status.
Section: 3 Telran TDK Kit Contents
This section describes features of the hardware in the Telran TDK Kit.
Section: 4. Getting Started
This section goes through the basic step-by-step process for getting the Telran
TDK Kit working
Section: 5. Accelerometer Demo Program
This section describes the installation and operation of the Accelerometer Demo
for the Telran TDK Kit.
Section: 6. Customisation
This section details the processes required to customise the Telran TDK
Demonstration program. his section also guides the User through the steps
required to produce Script based program.
Section 7. Reference Design Schematic Diagrams
This section presents the schematic diagrams of each of boards that go to make
up the Telran TDK kit.
TZ2070-IFU ver 2.02 Sep 2011 Page 6 of 58
Description
Represents
Examples
•
Section to be
1.2 Screen Displays
The screen displays in this document are representative of what will be seen by the User
when running the various programs described in this document. Actual screens may differ as
program versions change or are updated.
1.3 Conventions Used in this Guide
Section to be completed.
References
Italic character
Emphasised text
TZ1053 Telran
datasheet V1_06
draft.doc.
completed.
Text in angle brackets <> A key on the keyboard Press <Enter>
Underlined text in blue Hyper link to a website Toumaz
For more information regarding the Telran TZ1053 device please refer to the Toumaz web
site.
from Cambridge Consultants Ltd.
1.5 The Toumaz Web Site
Toumaz provides online support for registered customers / users through the ‘extranet’ at
www.toumaz.com. This web site is used as a means to make files and information easily
available to customers.
The Toumaz web site is accessible by using an Internet browser and clicking on the ‘extranet’
menu item. The User can the either log on or register with the Toumaz website.
The web site contains the following information:
Product Support – Data sheets and errata, application notes and sample programs, design
resources, user’s guides and hardware support documents, latest software releases and
archived software.
General Technical Support – Frequently Asked Questions (FAQs), technical support requests.
TZ2070-IFU ver 2.02 Sep 2011 Page 7 of 58
1.6 Abbreviations
The following abbreviations are used within this document.
CE Conformité Européenne – conformance marking
CRC Cyclic Redundancy Check
FAE Field Application Engineer
FCC Federal Communications Commission - US
GPIO General Purpose Input Output
ISM Industrial Scientific and Medical
ISP In System Programming
ITU International Telecommunications Union
ITU-T ITU – Telecommunications
MAC Media Access Controller
NSP Network Service Protocol
NSP Nanopower Sense Protocol
OTA Over The Air
PCB Printed Circuit Board
RF Radio Frequency
RFM Radio Frequency Module
RX Receiver
SDB Sensor Development Board
SPI System Packet Interface
TDK Telran development Kit
TX Transmitter
UMI Universal Metering Interface
USART Universal Synchronous Asynchronous Receiver Transmitter
USB Universal Serial Bus
1.7 Customer Support
Users of Toumaz products can receive support through a number ways:
Distributor or Representative
Local Sales Office
Field Application Engineer (FAE)
Technical Support
TZ2070-IFU ver 2.02 Sep 2011 Page 8 of 58
2. Regulatory Approval
The Telran TDK RF module, TZ207010 and Telran TDK USB module, TZ20720 have
undergone testing for regulatory approvals in Europe, the United States and other countries.
FCC modular approval will allow the end user to place the Telran TDK RF module, TZ207010
inside a finished product and not require regulatory testing for an intentional radiator (RF
transmitter), provided no changes or modifications are made to the module circuitry. Changes
or modifications could void the user’s authority to operate the equipment. The end user must
comply with all of the instructions provided by the Grantee, which indicate installation and/or
operating conditions necessary for compliance.
The integrator may still be responsible for testing the end product for any additional
compliance requirements required with this module installed (for example: digital device
emission, PC peripheral requirements, etc.) in the specific country that the end device will be
marketed.
2.1 USA
The Telran TDK RF module, TZ207011 has received Federal Communications Commission
(FCC) CFR47 Telecommunications, Part 15 Subpart C “Intentional Radiators” 15.247 and
modular approval in accordance with FCC Public Notice DA 00-1407 Released: June 26,
2000, Part 15 Unlicensed Modular Transmitter Approval. The Telran TDK RF module,
TZ207011 module can be integrated into a finished product without obtaining subsequent and
separate FCC approvals for intentional radiation.
The Telran TDK RF module, TZ207011 module has been labelled with its own FCC ID
number, and if the FCC ID is not visible when the module is installed inside another device,
then the outside of the finished product into which the module is installed must also display a
label referring to the enclosed module. The following examples present terminology that could
be used: A user’s manual for the product should include the following statement:
Contains Transmitter Module FCC ID: ZT9-TZ207011V2.
or
Contains FCC ID: ZT9-TZ207011V2. This device complies with Part 15 of the FCC Rules.
Operation is subject to the following two conditions:
(1) This device may not cause harmful interference, and
(2) This device must accept any interference received, including interference that may
cause undesired operation. This equipment has been tested and found to comply with
the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These
limits are designed to provide reasonable protection against harmful interference in a
residential installation. This equipment generates uses and can radiate radio
frequency energy, and if not installed and used in accordance with the instructions,
may cause harmful interference to radio communications. However, there is no
guarantee that interference will not occur in a particular installation. If this equipment
does cause harmful interference to radio or television reception, which can be
determined by turning the equipment off and on, the user is encouraged to try to
correct the interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to
which the receiver is connected.
•Consult the dealer or an experienced radio/TV technician for help.
TZ2070-IFU ver 2.02 Sep 2011 Page 9 of 58
2.2 Canada
2.2.1 Radio Frequency Module
Canada IC: 9809A-TZ207011V2
This Class B digital apparatus meets all requirements of the Canadian Interference Causing
Equipment Regulations. Operation is subject to the following two conditions: (1) this device
may not cause harmful interference, and (2) this device must accept any interference
received, including interference that may cause undesired operation.
Cet appareillage numérique de la classe [B] répond à toutes les exigences de l'interférence
canadienne causant des règlements d'équipement. L'opération est sujette aux deux
conditions suivantes: (1) ce dispositif peut ne pas causer l'interférence nocive, et (2) ce
dispositif doit accepter n'importe quelle interférence reçue, y compris l'interférence qui peut
causer l'opération peu désirée.
2.2.2 USB Dongle
Canada IC: 9809A-TZ207021V2
This Class B digital apparatus meets all requirements of the Canadian Interference Causing
Equipment Regulations. Operation is subject to the following two conditions: (1) this device
may not cause harmful interference, and (2) this device must accept any interference
received, including interference that may cause undesired operation.
Cet appareillage numérique de la classe [B] répond à toutes les exigences de l'interférence
canadienne causant des règlements d'équipement. L'opération est sujette aux deux
conditions suivantes: (1) ce dispositif peut ne pas causer l'interférence nocive, et (2) ce
dispositif doit accepter n'importe quelle interférence reçue, y compris l'interférence qui peut
causer l'opération peu désirée.
2.2.3 Sensor Development Board
Canada IC: 9809A-TZ207030V2
This is Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada.
TZ2070-IFU ver 2.02 Sep 2011 Page 10 of 58
RTTE article
Relevant Standard
Chief Technology Officer
Regulatory and QA
2.3 Europe
The Telran TDK RF module, TZ207010 module has been certified for use in European
countries. The following is Toumaz’s R&TTE Declaration of Conformity:
R&TTE Declaration of Conformity
Toumaz UK Ltd, Building 3, 115, Milton Park, Abingdon, Oxon OX14 4RZ, UK declares that
the following product:
TELRAN 868MHz TDK Kit TZ207000 (TZ1053TDK868), comprising of the following modules:
• 868MHz TDK RF Module TZ207010
• 868MHz TDK USB dongle TZ207020
• 868MHz TDK Sensor Dev. PCB TZ207030
is in conformity with the essential requirements and other relevant requirements of the R&TTE
Directive 95/5/EC.
The product has been assessed under annex IV by notified body TUV SUD Ltd (CE0168) and
is in conformity with the following standards:
Article 3.1 (Safety) IEC 60950-1:2006/A1:2010
Article 3.1.b (EMC) EN 301489-1 v2.3.1 referencing EN 301489-3 v1.4.1
Article 3.2 (Spectrum) EN 300220-1 v2.3.1 referencing EN 300220-2
Signed on behalf of Toumaz UK Ltd
TZ2070-IFU ver 2.02 Sep 2011 Page 11 of 58
ETSI does not provide a modular approval similar to the USA (FCC) and Canada (IC).
However, the declaration of conformity above can be used as part of the customer’s
application for certification. The test report data can be included in their test plan and can
significantly the lower customer’s certification burden.
A helpful document that can be used as a starting point in understanding the use of Short
Range Devices (SRD) in Europe is the European Radio Communications Committee (ERC)
Recommendation “70-03 E”, downloadable from the European Radio Communications Office
(ERO): http://www.ero.dk/
The end user is responsible for ensuring compliance with harmonized frequencies and
labelling requirements for each country in which the end device is marketed and sold.
2.3.1 Helpful Web Sites:
Federal Communications Commission (FCC): http://www.fcc.gov
Radio and Telecommunications Terminal Equipment (R&TTE):
ttp://ec.europa.eu/enterprise/rtte/index_en.htm
European Conference of Postal and Telecommunications Administrations (CEPT):
http://www.cept.org/
European Telecommunications Standards Institute (ETSI): http://www.etsi.org/
European Radio Communications Office (ERO): http://www.ero.dk/
TZ2070-IFU ver 2.02 Sep 2011 Page 12 of 58
3. Telran TDK Kit Contents
3.1 Deliverables
The Telran TDK kit contains the following items:
Telran TDK RF Module, TZ20701x.
Telran TDK USB Dongle, TZ20702x.
Telran TDK Senor Development Board, TZ207030.
The Telran TDK Kit DVD, containing User Guide, Software application notes and the Windows
Based Telran Wireless Tool.
The x above in the board number refers to the base frequency of operation of the unit. Thus:
Where x = 0, i.e. TZ207010 and TZ207020 the base frequency will be 868 MHz, (ITU Region 1),
Where x = 1, i.e. TZ207011 and TZ207021 the base frequency will be 915 MHz, (ITU Region 2),
Where x = 2, i.e. TZ207012 and TZ207022 the base frequency will be 950 MHz.
Where x = 3, i.e. TZ207013 and TZ207023 the base frequency will be 779 MHz.
This document will refer to TZ207010 and TZ207030 throughout. It should be understood that
where a kit is supplied at a different frequency for example 915 MHz comments made about
TZ207010 and TZ207020 apply equally to TZ207011 and TZ207021, respectively. This applies
equally for other frequency Telran TDK kits.
Note: Telran TDK Sensor Development Board, TZ207030, does not contain any radio frequency
dependant parts and thus will be the same in each kit.
TZ2070-IFU ver 2.02 Sep 2011 Page 13 of 58
3.2 Electrostatic Warning
The Telran TDK kit components are supplied in a protective anti-static package. The boards
comprising the TDK Kit must not be subjected to high electrostatic potentials. A grounding strap
or similar anti-static protective device should be worn when handling these items. Avoid touching
the components on the TDK boards.
Static sensitive components are used on the Patch PCBA and therefore handling of this unit
shall be in accordance with ESD Handling Procedures.
ESD Symbol
3.3 Safety Notice
The Telran TDK kit contains a USB Dongle this is supplied with power via the USB connector.
The USB Dongle can be connected directly to a desktop or laptop PC, or via an USB extension
cable of not more than 1 m in length. The USB Dongle can also be connected via a self-powered
or powered USB Hub to a desktop or laptop PC.
To avoid the risk of electric shock or fire hazard ensure that any external power source used
with the USB Dongle or the Sensor Development Board and RF Module Combination must meet
the requirements of IEC 60950-1 clause 2.1.1.5, Limited Energy and source must also meet the
requirements of IEC 60950-1 clause 2.5, Limited Power Sources. The PSU used with the USB
should be voltage and current limited to 5V@50mA. The PSU used with the Sensor
Development Board and RF Module Combination should be voltage and current limited to
3V@50mA
3.4 Waste Electrical and Electronic Equipment (WEEE)
Important:
This symbol is placed on the product to remind users to dispose of Waste Electrical
and Electronic Equipment (WEEE) appropriately, per Directive 2002-96-EC. In most
areas, this product can be recycled, reclaimed and reused when properly
discarded. Do not discard labelled units with general waste. For information about
proper disposal, contact your Toumaz Distributor or representative, or visit
www.toumaz.com.
TZ2070-IFU ver 2.02 Sep 2011 Page 14 of 58
3.5 Telran TDK Hardware Features
The layouts of each board in the Telran TDK Kit are shown in the following sections, with a list of
the main features. More complex features are discussed later.
3.5.1 Telran TDK RF Module (RFM).
3.5.1.1 RFM Assembly Details
12
8
3
45
View on Top of PCB
7
6
View on Underside of PCB
Figure 1. Telran TDK RF Assembly Views.
1. J2 Connector to Telran TDK Sensor Board.
2. Telran Reset.
3. Telran TZ1053.
4. J1 U FL RF Connector.
5. Antenna.
6. LR44 Battery Retainer (Not normally fitted).
7. Outline of RF Can (Fitted to 915MHz RF Modules)
8. Assembly Labels
TZ2070-IFU ver 2.02 Sep 2011 Page 15 of 58
3.5.1.2 RFM Block Diagram
VBatt/Vchip
VDDIO
Telran 1053
GPIOs
Digital
RF
Antenna
Matching
Connector
Reset
Figure 2. Telran TDK RFM Block Diagram
3.5.1.3 RFM Board Dimensions
4 layer PCB 22 mm x 39 mm x 1.0 mm. Length overall, including connector 43.74 mm.
3.5.1.4 RFM Board Weights
EU Version, TZ207010: Weight: 2.8 gms without battery or Battery Holder
Weight: 3.7 gms with Battery Holder and no battery
Weight: 5.1 gms with Battery Holder and battery
US Version, TZ207011: Weight: 5.9 gms with RF Can, Battery Holder and no battery fitted
Weight: 7.8 gms with RF Can and Battery Holder with battery fitted.
3.5.1.5 J1 U_FL Co-axial Antenna Connector
A ‘Unique’ connector for connecting to external antennas. Note for full power to be delivered to
an antenna attached to this connector C9 must be removed from the PCB.
USB Dongle (TZ207020 and TZ207021) Weight: 10.3 gms
3.5.2.4 USB Block Diagram.
5 x
ISP Port, J5
PIC Reset, SW2
PIC
LEDs
SPI Bus &
Control
SPI Memory
USBConnector, J3
USB
Interface
Telran
TZ1053
Serial Routing
Circuitry
USB Serial
Data
Figure 4. Telran TDK USB Board Block Diagram
Antenna
Matching
J2 Telran TDK
External
Connector
TZ2070-IFU ver 2.02 Sep 2011 Page 19 of 58
Pin No.
Function
Pin No.
Function
Pin No.
Function
3.5.2.5 J1 U_FL Co-axial Antenna Connector
A ‘Unique’ connector for connecting to external antennas. Note for full power to be delivered to
an antenna attached to this connector C9 must be removed from the PCB.
The TDK USB Dongle may be plugged directly into a USB port of a Desktop PC or Laptop. An
extension cable of not more than 1m in length may be also used to connect the TDK USB
Dongle to a Desktop PC or Laptop.
The TDK USB Dongle may also be plugged into a USB hub that is subsequently connected to a
Desktop PC or Laptop.
3.5.2.10 USB UART Routing
UART SEL = 0
Telran
TZ1053
UART SEL = 1
(Default)
PIC18LF25K22
USART1 USART2
USB
PIC18LF25K22
USART1 USART2
Telran
TZ1053
Figure 6. UART Routing as Controlled by PIC_UART_SEl.
Note:
Pin 3 - F0 is not a UMI pin as this is used by High power UMI devices.
Pins 1 to 10 are configured as UMI connections, whilst the remaining pins can be used to
connect to other functions on the Telran TDK RF and Telran TDK Sensor Boards.
This table shows the correct pinout of J7. The pin numbering indicated on the TZ207020 PCB
is incorrect, with 1 and 20 swapped.
3.5.3.8 J10 1.25V Jumper
J10 is linked to supply the Vchip of an attached Telran TDK RF Board with 1.25V when a
battery or external power supply is used to power the Telran TDK Sensor Board.
A current meter placed across J10, when it is unlinked, can be used to monitor the current
used by an attached Telran TDK RF Board.
Note:
Jumper J10 should not be linked when supplying Vchip from Connector J11.
TZ2070-IFU ver 2.02 Sep 2011 Page 25 of 58
Pin No.
Function
Pin No.
Function
3.5.3.9 J11 External Power Supply / Monitor Connector
1 VDDIO – 3V
2 Vchip – 1.25V
3 GND
J11 can be used to monitor the VDDIO and Vchip voltages used on the Telran TDK Sensor
board. Alternatively this connector permits an external 3V power supply to be used to power
the Telran TDK Sensor Board via J11 pin 3.
A separate 1.25V supply can be connected to J11 pin 2 to power an attached Telran TDK RF
Board. In this case Jumper J10 should not be linked.
3.5.3.10 J12 LED Enable/Disable Jumper
Placing a jumper link on J12 will enable the operation of the LEDs D1 to D5. Leaving the link
off the LEDs will be non-operational.
WARNING: Running the Sensor Board on battery, with the LEDs enabled will reduce the life /
running time of the battery.
3.5.3.11 J13 USART2 Connector
J13 is used to connect the PIC’s number 2 USART to a serial host connector.
Splash screen, File to start-up CD and display contents of CD.
•
Readme.txt, Readme.html - Files to allow the user to determine what on the CD.
•
TZ1053 data sheet: TZ1053-TDS V1_07.doc, TZ1053 data sheet describes the
features of the Telran Chip.
•
Telran TDK Errata.doc, Errata for the Telran Development Kit.
•
TZ1053-AN02 RF Reference PCB Layout.doc.
•
Telran User Guide: Telran TDK TZ1053-IFU ver 2.00.pdf. A guide showing what's on
each board and how to use the kit, Demo Accelerometer Application and associated
software.
•
Bootstrap Loader: PIC Bootlader.HEX and AN1310ui.exe. Bootstrap Loader code for
the PIC and Bootstrap loader program for a PC to permit UART down load of user
code.
•
Accelerometer Demo Program.
•
Telran Plug Code In User Guide: TZ1053 Plugin Code Userguide_V1_1.pdf. How to
use and compile Plug-In code.
•
Software User Guide:
•
Telran Scripter Guide: How to use and compile Script codes for the Telran.
•
Telran TDK GUI
•
Any redistributable code that is required to make any of the above work on an End
Users PC or to give the End User the ability to reconfigure the TDKs.
4.2 Software Tools
In order to be able to evaluate the Telran TZ1053 a set of software tools are required. These
are:
Included on the DVD with the Telran Development Kit is a utility that permits the User to
communicate with the Telran TZ1053. This utility, the ‘TELRAN Wireless Application Tools’
can also be used to send plug-in code to the Telran TZ1053 on the USB Board and to remote
Telran TZ1053 by using an Over The Air (OTA) command. . The latest version of this tool can
be downloaded from the Toumaz web site.
Template files. The latest version of the Template files can be downloaded from the Toumaz
web site.
If the PIC code on the Telran TDK Sensor or USB boards is to be modified then Microchip’s
MPLAB IDE and the HI-TECH C Compiler for PIC18 MCUs will be required. Both of these
tools can be downloaded from Microchip’s website. The HI-TECH C Compiler can be
installed as a ‘Lite’ version – a restricted version of the fully released compiler.
TZ2070-IFU ver 2.02 Sep 2011 Page 28 of 58
4.3 Toumaz Wireless Tool
The Toumaz Wireless Tool included with the Telran TDK Kit is a tool that enables the User to
debug and control applications running on the Telran TZ1053.
The current tool included with the kit will be replaced by a new Graphical User Interface in the
very near future. Users should refer to the Toumaz web site www.toumaz.com for the latest
updates.
This Guide shows briefly how to use and setup the Toumaz Wireless Tool in Appendices A2
and A3. These Appendices show how the TZ207020 USB Dongle is tested.
This section of the Telran User Guide will be expanded at a later date to reflect the new tools
once they are available.
TZ2070-IFU ver 2.02 Sep 2011 Page 29 of 58
5. Accelerometer Demo Program
The Telran TDK Kit is supplied with a 3-axis accelerometer demonstration program that is
intended to show the capabilities of the Telran TZ1053.
The Application Screen has a number of areas of information as shown by Figure 11.
The information areas are:
•
Basestation: Chip ID of the Telran used in the Telran TDK USB Dongle.
•
Target: Chip ID of the Telran used in the Telran TDK RF Board.
•
Com Port: Virtual Com Port used by the Telran TDK USB Dongle.
•
Link Status: This Box changes colour according to of the link:
•
•
Operating Frequency: The current frequency used by the application.
•
Operating Signal Strength: The signal strengths observed by both the Telran
TDK USB Dongle and the Telran TDK RF Board.
•
Application Status: Indicates the actions that the Demonstration program is
performing.
•
Progress Bar: Indicates the progress of linking.
•
3-axis Acceleration Data: A display of Raw and Filtered Data received from the
Target.
•
Time and Date Status Bar: The time and date at which sample data is received.
•
Reset Button: Button to Reset the Base station
•
Logs Button: Button to display Logs
Figure 11. Application in operation.
Target available
Linking to target
Linked to target station.
TZ2070-IFU ver 2.02 Sep 2011 Page 30 of 58
5.1 Installation of the Accelerometer Demonstration
Program.
Installation of the Accelerometer Demonstration program requires that the PIC application
code to be installed in the TZ207020 USB Dongle. This is done using the Bootstrap Loader
(see Section 6.2) to write the appropriate regional file to the USB Dongle:
TZ2070 Dongle Application_xx.hex
Where xx = CN, for Chinese operating frequency band – 779 MHz,
EU, for European operating frequency band – 868 MHz,
JP, for Japanese operating frequency band – 950 MHz,
US, for United States operating frequency band – 915 MHz,
Installation also requires that the PC code for the application is installed on the user’s PC in a
directory called TelranTdkDemoApplications-1.0.2.3, see Figure 12
Figure 12. File structure for Accelerometer Demonstration.
5.2 Operation of the Accelerometer Demonstration
Program.
To operate the Accelerometer Demonstration program take the following steps:
1. Connect the USB dongle to the PC and press the Reset button as shown in item
9 figure 2.
2. Navigate to the directory TelranTdkDemoApplications-1.0.2.3, see Figure 12.
TZ2070-IFU ver 2.02 Sep 2011 Page 31 of 58
3. Click on
Telran.DemoApp.Launcher.exe
the splash screen (this might take a few seconds), and then Figure 13 is
displayed.
. This starts the application and shows
Figure 13. Application Screen opening and looking for target.
4. To view the logs click on the logs button. This opens up Baretail and to view the
basestation logs click on the packet-processors.txt tab Figure 14.
Figure 14 Logs showing Base station looking for target
5. Connect the target RF board to the sensor board as shown below.
Figure 15 TELRAN RF Module and Sensor Development Board
TZ2070-IFU ver 2.02 Sep 2011 Page 32 of 58
6. Put the battery into the sensor board with the positive side on top. The LED’s will
turn on, on inserting the battery
7. Once a Target Station has been found the Application will link with that target
and start running, Figure 16.
Figure 16. Application running with linked target.
TZ2070-IFU ver 2.02 Sep 2011 Page 33 of 58
6. Customisation
6.1 The Scripter
The TELRAN Scripter provides a simple and efficient means for the control of attached
sensors, local data processing, and the exchange of data to and from TELRAN devices.
6.1.1 What is a Script?
A Script file is an ASCII text file comprised of a set of syntactically correct TELRAN Script
Statements. Script files can be created manually in any text editor or edited within the
TELRAN Script Compiler. These files are compiled by the TELRAN Script Compiler,
producing a byte code file. This byte code is then loaded into a TELRAN (either via UART/SPI
or over the Radio Link), and executed by the TELRAN internal Script Interpreter. For a
detailed description of how to use scripts and the TELRAN Script Compiler the user is
referred to the TZ1053 Scripter User Guide.
6.1.2 The Telran Demo
The Demo provided with the TELRAN TDK’s was implemented using a Script. Figure 17
shows a screenshot of the Demo application script in the TELRAN Script Compiler. This code
is written in the scripting language and is compiled to produce byte code that is loaded into
TELRAN.
The script communicates with the accelerometer via SPI and reads sample data at a rate of
10Hz and transfers this data to the base station OTA (Over the Air) where it is processed and
displayed on a real-time graph. Figure 18below shows the byte code that’s generated by the
Script Compiler. The byte code is outputted in different formats depending on how it is to be
used. For further information on the scripter and its functions the user is referred to the
TZ1053 Scripter user guide.
TZ2070-IFU ver 2.02 Sep 2011 Page 34 of 58
Figure 18 Byte Code for Accelerometer demo application
TZ2070-IFU ver 2.02 Sep 2011 Page 35 of 58
6.2 Using the Bootstrap Loader.
The Bootstrap Loader is used to download user code into the PIC on the TDK USB Dongle,
TZ207020 or the PIC on the TDK Sensor Board, TZ207030.
1. To use the Bootstrap loader the TDK USB Dongle PCB must be removed from
its enclosure so that the PIC Reset button can be accessed. Then carryout the
following steps:
2. Locate the place where the program AN1310ui.exe exists or click on the
program’s desktop icon if one is available:
3. The screen shown in Figure 19 is now displayed.
Figure 19. Bootstrap Loader Opening Screen.
4. To ensure the Bootloader is set up correctly Click on the ‘Program’ item on the
Menu Bar. This will produce a dropdown menu as shown in Figure 20.
TZ2070-IFU ver 2.02 Sep 2011 Page 36 of 58
Figure 20. Finding the Bootstrap Loader Settings.
5. Click on the ‘Settings’ item from the drop down list or press <F12>. The Settings
window will be displayed, Figure 21.
Figure 21. Bootstrap Loader Settings Window.
6. Select the COM port to which the Telran TDK USB or Sensor Board is
connected. Ensure that Bootloader Baud Rate and Write Options are as shown
in, Figure 21. Click the ‘OK’ button and return to the main screen, Figure 19.
7. To start the process of downloading a User Program to the Telran TDK USB or
Sensor Boards’ PIC, click on the ‘Break/Reset Application Firmware’ Icon :
TZ2070-IFU ver 2.02 Sep 2011 Page 37 of 58
or press <F3>. This will pause the application program running on the PIC. The Status Bar on
the Bootloader’s window will change as shown by Figure 22.
8. Press the PIC reset button on the attached TDK Board, see item 9 in Figure 3
9. Click on the ‘Bootloader Mode’ Icon :
or press <F4>. The Bootloader’s window will change to be similar to that shown
in Figure 23, as it connects to the Bootloader in the attached PIC.
TZ2070-IFU ver 2.02 Sep 2011 Page 38 of 58
Figure 23 Bootstrap Connected.
10. Click the ‘File, Menu Item and navigate to the location of the HEX file of the user
code that is to be loaded into the PIC. Figure 24 shows an example of such a
code location. Select the code and click on the ‘Open’ Button. The main
Bootloader screen will be displayed.
Figure 24. Locating the User Code.
11. The user code is now written to the PIC by clicking on the ‘Write Device’ Icon :
12. The PIC will now be programmed and on completion the Bootloader will show a
screen similar to that of Figure 25.
TZ2070-IFU ver 2.02 Sep 2011 Page 39 of 58
Figure 25. Programming Complete.
13. Reset the PIC so that the User Code can now be run. See item 9 in Figure 3
Toumaz UK Ltd.
115 Milton Park,
Abingdon,
Oxf ordshire,
OX14 4RZ.
Title
Size Doc ument NumberRev
Date:Sheetof
VDDPIC
Telran TDK SDB - Power
TZ207030-SCH2 .1
A3
44Wednesday, Septe mber 21, 2011
GND
TZ2070-IFU ver 2.02 Sep 2011 Page 50 of 58
Intentionally Left Blank
connected freedom
TZ2070-IFU ver 2.02 Sep 2011 Page 51 of 58
connected freedom
Appendices
A1. Installing the Bootstrap Loader.
Program the PIC on the TDK USB Board, TZ207020, or the TDK Sensor Board, TZ207030,
with the Bootstrap Loader using a Microchip PICkit™ 2 or similar programmer.
This section will describe the process of programming the Bootstrap Loader using a
Microchip’s PICkit™ 2 using the following steps:
Open the PICkit™ 2 programming tools, using the latest version downloaded from Microchip's
website. Figure 26 shows the opening screen.
Figure 26. PICkit™ 2 opening screen shot.
Connect the PICkit™ 2 to the ISP connector J5 the TDK USB Board, TZ207020, or the TDK
Sensor Board, TZ207030, using a suitable cable to convert the 2.54 mm pitch connector of
the PICkit™ 2 to the 1.27 mm pitch of J2. When the PICkit™ 2 identifies the PIC on either
TDK USB Board, or the TDK Sensor Board it will display the screen as shown in Figure 27.
TZ2070-IFU ver 2.02 Sep 2011 Page 52 of 58
connected freedom
Figure 27. PICkit™ 2 connected to the PIC18LF25K22 on the TDK USB Board or TDK
Sensor Board.
Click on ‘File’ from the Menu Bar a drop down list will appear as shown by Figure 28.
Figure 28. Selecting an Import Hex File.
TZ2070-IFU ver 2.02 Sep 2011 Page 53 of 58
Click on ‘Import Hex’ File and navigate to the location where the ‘PIC18 Bootloader.HEX’ file
is stored, as shown by Figure 29.
connected freedom
Figure 29. Locating the ‘PIC 18 Bootloader.HEX’ file.
Click on the ‘Open’ button. The screen will now be as shown by Figure 30, if the file is
imported successfully.
Figure 30. ‘PIC 18 Bootloader.HEX’ file Imported.
TZ2070-IFU ver 2.02 Sep 2011 Page 54 of 58
Click on the ‘Write’ button. The screen will show a running progress bar as the Bootstrap
loader is programmed into the PIC. Once programming is complete the display will be as
shown by Figure 31.
connected freedom
Figure 31. Programming Complete.
The Bootloader is now installed and available for use.
Disconnect the PICkit™ 2 from the ISP connector J5 the TDK USB Board, or the TDK Sensor
Board.
TZ2070-IFU ver 2.02 Sep 2011 Page 55 of 58
connected freedom
A2. Configuring the Toumaz GUI.
To setup the Telran TDK TZ207020 USB board as a base station, carry out the following
TZ2070-IFU ver 2.02 Sep 2011 Page 56 of 58
connected freedom
A3. Configuring BareTail.
The Baretail display window can be made more user friendly by highlighting various message
displayed in its window. This can be done as follows:
1. Click on the ‘Highlighting’ menu item shown on the menu bar in Figure 32.
Figure 32. BareTails Opened.
2. The window shown in Figure 33.
Figure 33. Highlighting Window.
3. Add the string to be highlighted in the ‘String’ Box as shown by Figure 34, and select
the ‘Background Colour’ in the appropriate box.
TZ2070-IFU ver 2.02 Sep 2011 Page 57 of 58
Figure 34. Set String to be Highlighted.
connected freedom
4. Figure 35 shows as an example the string required to be highlighted if a link is to be
looked for.
5. Click the ‘Add’ button.
6. Figure 35 shows the results of highlighting. Repeating the previous steps and using
different colours other messages can be selected from the data stream displayed by
the BareTail main window.
7. Click the ‘OK’ button and return to normal operation.
Figure 35. Highlighting Completed.
TZ2070-IFU ver 2.02 Sep 2011 Page 58 of 58
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.