TinyOS Installation. TinyOS Installation on MS-Windows Tools Description TinyOS Directories and Environment Aliases and Customization



Similar documents
Meridian 1 Meridian 1 Attendant PC LAN Interface Installation Guide

CANON FAX L360 SOFTWARE MANUAL

SOFTWARE INSTALLATION INSTRUCTIONS

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Installation of USB Virtual COM. Version 1.02

COMBOGARDPRO. 39E Electronic Combination Lock SOFTWARE INSTALLATION INSTRUCTIONS

Software Installation Procedure (MS Windows)

USB DRIVER INSTALLATION GUIDE

Installing USB Drivers With Microsoft Windows XP

Vmed QUICKSTART PC-DISPLAY INSTALLATION & PC-Display and Bluetooth Instructions

Installing a Westell USB Network Adapter

Analyzer 2.0. Installation Guide. Contents

Sage ERP MAS 90 Sage ERP MAS 200 Sage ERP MAS 200 SQL. Installation and System Administrator's Guide 4MASIN450-08

Printer Support Guide. FedEx Ship Manager Software

Computer Requirements

Connecting your Blackberry to Aliant Hosted Exchange. Instructions for connecting Blackberry hand-held devices to Aliant Hosted Exchange

HL2170W Windows Network Connection Repair Instructions

2. Installation Instructions - Windows (Download)

Installing the Gerber P2C Plotter USB Driver

DUKANE Intelligent Assembly Solutions

3M Occupational Health and Environmental Safety 3M E-A-Rfit Validation System. Version 4.2 Software Installation Guide (Upgrade) 1 P age

Table of Contents. 1. Overview Materials Required System Requirements User Mode Installation Instructions..

Network Server for Windows. Overview of the Sequencher Network Page 2. Installing Sequencher Server for the First Time Page 3

USB PC Adapter V4 Configuration

USB Driver Installation for Windows XP

SOFTWARE INSTALLATION AND USB/i.LINK CONNECTION GUIDE

Caplio Utility for Windows

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

Motorola Phone Tools. Quick Start

Installation Guide for FTMS and Node Manager 1.6.0

EPSON Stylus COLOR 740. USB Software Installation Guide (Windows 98/iMac ) USB Setup Guide (imac)

Introduction 1-1 Installing FAS 500 Asset Accounting the First Time 2-1 Installing FAS 500 Asset Accounting: Upgrading from a Prior Version 3-1

Korosi Monitoring System (KMS) Software Manual

COMPRESS Installation Guide

NOTE: PLEASE DO NOT ATTEMPT TO INSTALL THE SOFTWARE BEFORE READING THIS DOCUMENT.

SOLAAR Series Software Manual

ScanWin Installation and Windows 7-64 bit operating system

File Management Utility. T u t o r i a l

MFC8890DW Vista Network Connection Repair Instructions

Colorfly Tablet Upgrade Guide

CashFlow Programming Module CPM

Inmagic ODBC Driver 8.00 Installation and Upgrade Notes

Print Server Application Guide. This guide applies to the following models.

EPSON USB/Parallel Adapter User s Guide

AccXES Client Tools 10.0 User Guide 701P41529 May 2004

Print Server Application Guide

FileMaker 8. Installing FileMaker 8 ODBC and JDBC Client Drivers

Installation Guide. Your FedEx Ship Manager system number. Before you start

Shearwater Research Dive Computer Software Manual

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

Studio 5.0 User s Guide

Deposit Direct. Getting Started Guide

How to Uninstall Manually and Upgrade the Cisco VPN Client 3.5 and Later for Windows 2000, Windows XP and Windows Vista

LN-Builder 3.4 Installation Instructions

e-dpp May 2013 Quick Installation Guide Microsoft Windows 2003 Server, XP, Vista, 7 Access Database

Batch Eligibility Long Term Care claims

Lab: Data Backup and Recovery in Windows XP

CODESOFT Installation Scenarios

Title Page. Installation Guide. PowerChute plus Version for Windows 95

Stellar Phoenix Exchange Server Backup

Bluetooth Wireless USB Adapter. User Manual (GBU211 / GBU311)

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

RAM: 2 Gb Hard Drive: 168 hours of recording per Gb of disk space available NIC : 2 NIC cards required for IP Recording.

InventoryControl for use with QuoteWerks Quick Start Guide

Maxtor OneTouch User's Guide

Guide to Installing BBL Crystal MIND on Windows 7

Connecting your Omega/BetaPAT PLUS to a PC via a USB

Installing Windows XP Professional

EPSON USB/Parallel Adapter User s Guide

Lab - Data Backup and Recovery in Windows XP

Eclipse IDE for Embedded AVR Software Development

WA2102 Web Application Programming with Java EE 6 - WebSphere RAD 8.5. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

Centurion PLUS CPC4 Download Guide

Current Cost Data Cable User Guide. Installing and configuring the data cable

Windows Dial Up Networking (DUN) for AirLink Modems Application Note - How To

MAS 90. Installation and System Administrator's Guide 4WIN /04

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

If anything is damaged or missing, contact your dealer.

SatTerm-G SOFTWARE MANUAL FOR A3LA-IG

FN:PCMCSET-M1.DOC. PCMCSET SOFTWARE for ATS Master Clocks System Clocks and Displays

McAfee Enterprise Edition v Installation & Configuration For Windows 98 and Me

Trace600 OTDR Test Management Software User s guide

Symantec Backup Exec 12.5 for Windows Servers. Quick Installation Guide

Chapter 1 Downloading Images to Your Computer (Windows)

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

PLUS TV ANALOG USB STICK Installation Manual

Selected Windows XP Troubleshooting Guide

Installation Instructions Release Version 15.0 January 30 th, 2011

Installing the Cygwin UNIX Emulator on Windows 7

ISaGRAF. Getting Started. Software release 5.2

INFUSION BUSINESS SOFTWARE Installation and Upgrade Guide

USB DRIVER INSTALLATION GUIDE

WA Continuous Integration with Jenkins- CI, Maven and Nexus. Classroom Setup Guide. Web Age Solutions Inc. Web Age Solutions Inc.

Manuals for This Product

DIAL-UP DATA. User s Guide

WA2192 Introduction to Big Data and NoSQL. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

TR-3 Channel Editor. Software Manual

Avalanche Site Edition

Installation Guide. SyBooks 3.4. [ Windows, Linux ]

Transcription:

TinyOS Installation TinyOS Installation on MS-Windows Tools Description TinyOS Directories and Environment Aliases and Customization SMARTER SENSORS IN SILICON 1

What You Need Crossbow's TinyOS Support Tools CD-ROM MS Windows (XP, 2k, 98, NT) 1 GB or more of free space in destination drive 550 MB or more of space in C drive, regardless of destination drive or set the TEMP directory to your destination drive WinZip Acrobat PDF Reader Hardware MIB510CA or 500CA, 2 MICA2s, AA batteries; AC wall power adaptor Parallel printer (MIB500 only) and serial port cable SMARTER SENSORS IN SILICON 2

Changing the TEMP Directory Start>Settings>Control Panel>System Click on Advanced Tab Click on Environment Variables Select TEMP in the User Variables area; click on Edit Edit the Variable value box to the drive with > 1 GB of space. Example: Change the default (as shown here) to D:\TEMP Click OK when done SMARTER SENSORS IN SILICON 3

Installation Flow Log on with administrator privileges For Windows NT you must log on as administrator Time to complete TinyOS installation: 40 to 90 minutes for most Pentium III and faster systems Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up aliases and Makelocal file SMARTER SENSORS IN SILICON 4

Uninistalling Previous Versions of TinyOS on Windows Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up Makelocal and aliases TinyOS 1.0 or earlier If you installed using the Installshield Wizard, use the Remove option under Add/Remove Programs, but save your work first. Don't worry about incomplete removal, but do delete any left over files. If you didn't use an InstallShield, remove manually the following files: Cygwin (Windows only); avr-gcc, avr-binutils, avr-libc (possibly the WinAVR package on Windows, possibly some rpms); previous versions of nesc; previous versions of uisp Then do Start>Run... Then type regedit Look for a folder labeled Cygnus Solutions under HKEY_LOCAL_MACHINE\SOFTWARE If it exists, select and delete the folder SMARTER SENSORS IN SILICON 5

Xbow's TinyOS Support CD-ROM Click on TinyOS Install folder Double click on tinyos-1.1.0-1is.exe This window opens when you put in the CD-ROM This is the first level structure of the CD-ROM SMARTER SENSORS IN SILICON 6

IS Wizard (1): Disk Space Check If you see this, you don't have enough disk space Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up Makelocal and aliases Then you can select for another drive or cancel the installation. SMARTER SENSORS IN SILICON 7

IS Wizard (2): Setup Type This step may take 3-5 minutes Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up Makelocal and aliases A) Choose Complete or Custom ( Complete is recommended) B) Select Destination Folder (default is recommended) C) Select Next> SMARTER SENSORS IN SILICON 8

IS Wizard (3): Java License, File Copy A) Click Yes or No to Java License Agreement ( Yes recommended) Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up Makelocal and aliases B) Click on Next to Start Copying Files SMARTER SENSORS IN SILICON 9

InstallShield Wizard (4) A) Wait for copying to complete Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up Makelocal and aliases B) Click on Continue SMARTER SENSORS IN SILICON 10

InstallShield Wizard (5) Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM A) Cygwin setup (no action required) Wait for IS Wizard to complete Run toscheck Set-up Makelocal and aliases B) Cygwin window opens: Wait for RPMs to install SMARTER SENSORS IN SILICON 11

What's Being Installed? TinyOS & Tools: event-driven OS for wireless sensor networks; tools for debugging nesc: a extension of C-language designed for TinyOS Converts the various TinyOS componets to C code and merges them into one big C file called app.c Cygwin: a Linux-like environment for Windows AVR Tools: a suite of software development tools for Atmel's AVR processors Java 1.4 JDK & Java COMM 2.0: for host PC applications and port communications Graphviz (from AT&T Labs): to view files made from make docs SMARTER SENSORS IN SILICON 12

Directory Structure (1): to tinyos-1.x Local Disk (C:) or install drive tinyos ATT cygwin cygwin-installation jdk_1.4.1_02 bin etc home lib opt tmp usr var tinyos-1.x SMARTER SENSORS IN SILICON 13

Directory Structure (2): tinyos-1.x tinyos-1.x apps contrib doc tools tos Standard TinyOS applications and test programs User contributions Documentation and On-line Tutorial Development utilities and programs TinyOS modules and interfaces SMARTER SENSORS IN SILICON 14

Directory Structure (3): tos Subdirectory tos interfaces lib platform sensorboards system types Interfaces for TinyOS component Libraries, including TinyDB, Route Drivers for mote hardware Drivers for sensor boards Drivers for the mote system EEPROM, UART Special type definitions SMARTER SENSORS IN SILICON 15

TinyOS 1.1.0 Install Complete Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up aliases and Makelocal file Installation done? Open a Cygwin window (an icon should be on the desktop) Type in toscheck The last line should say, toscheck completed without errors. Problems? Notify a Crossbow Trainer SMARTER SENSORS IN SILICON 16

Aliases Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up aliases and Makelocal file Edit the file in C:\tinyos\cygwin\etc\profile Two useful aliases are alias cdjava="cd /opt/tinyos-1.x/tools/java" alias cdapps="cd /opt/tinyos-1.x/apps" Create aliases for faster navigation in TinyOS and for command shortcuts SMARTER SENSORS IN SILICON 17

TinyOS Applications Developement Create Application by wiring interfaces Build (compile) Application with make Install the executable (binary file) on target hardware via MIB nesc locates & precompiles all required components avr-gcc gnu compiles / assembles modules for specified platform avr-ld gnu links into an executable for a specific target required components Debug Application using LEDs and/or JTAG SMARTER SENSORS IN SILICON 18

TinyOS make Command (1) make (re)install.<nodeid> <platform> This command line sets the node address during a program load.<nodeid> to assign a decimal number to a mote Use numbers 0 through 255 install to compile, download binary to hardware platform; reinstall to download binary to hardware only. This option is significantly faster SMARTER SENSORS IN SILICON 19

TinyOS make Command (2) For <platform> select from mica2 or mica2dot or mica for MICA2, MICA2DOT, or MICA, respectively all for all platforms make clean to erase all built files, cleanup. make docs to generate documentation make pc to similuate on PC SMARTER SENSORS IN SILICON 20

Programming Interface Boards (1) TinyOS supports a variety of programming hardware devices MIB510CA: serial port programming board E.g.: $ MIB510=/dev/ttyS0 make install mica2 where S0 is for COM1, S2 for COM2, etc. For users of USB to DB9 Serial converters, you must know port (COM) number assigned to the USB port. MIB500CA: parallel port programmer w/ serial output This is the default programming device. No additional parameters needed SMARTER SENSORS IN SILICON 21

Mote Transciever Frequency Both MICA2 and MICA2DOT support multiple frequencies Motes have base frequencies of 315 MHz, 433 MHz, and 916 MHz Multiple channels can be programmed within each Radio tuning coefficients need to be edited in the file /tos/platform/mica2/cc1000const.h. SMARTER SENSORS IN SILICON 22

The makelocal file Uninstall previous TinyOS installations Set-up IS Wizard for TinyOS 1.1.0 from the Xbow CD-ROM Wait for IS Wizard to complete Run toscheck Set-up Makelocal and aliases For many TinyOS applications, the user may use certain build parameters for specific needs The Makelocal file is useful to customize your build environment. (See example below) Sets your local group under to 0x33 (51 in decimal) # Makelocal file DEFAULT_LOCAL_GROUP = Ox33 PFLAGS += -DCC1K_DEF_FREQ=915988000 MIB510=/dev/ttyS0 Sets your mote frequency to 915.988 MHz Sets the default programmer to be an MIB510 on COM1 SMARTER SENSORS IN SILICON 23

Summary for Session 2, Day 1 TinyOS 1.1.0 installation completed toscheck ran to confirm the correct installation Brief description of what and where files were installed Aliases setup for faster navigation to common TinyOS directories Programming (build) environment configured with Makelocal file SMARTER SENSORS IN SILICON 24