博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Installation for TinyOS on Ubuntu 16.04
阅读量:5076 次
发布时间:2019-06-12

本文共 2071 字,大约阅读时间需要 6 分钟。

What is TinyOS

TinyOS operating system is essentially a collection of microcontroller and other IC drivers, core libraries, and higher-level application stacks that must be compiled with application specific code to load onto hardware platforms. Therefore, you must have a copy of the TinyOS source to compile these applications again.

What is Telosb

TelosB is a mote from Memsic (old Crossbow) technology. This mote has the same designed as the Tmote Sky mote from Sentilla.

It is composed of the (the ) microcontroller and the radio chip. The microcontroller of this mote operates at 4.15 MHz and has a 10 kBytes internal RAM and a 48 kBytes program Flash memory.

The RF output power of the Telos module from the CC2420 radio is below -8dBm. For this test, the Telos module is transmitting at 2.405GHz (IEEE 802.15.4 channel 11) using the O-QPSK modulation with DSSS. The CC2420 programmed output power is set to 0 dBm. The measured output power of the entire modulated spectrum is 2.4 dBm.

Steps for installation

Install Java

If you print on terminal

java -version

You might know you have install openJDK in advance

如果你只是普通用户,运行java程序而已,openjava足矣,如果你是搞java开发的,老老实实用sun-java

openJDK is good for usage. However, it is not enough for development.

Therefore, you have to install

# Result for java -versionjava version "1.8.0_201"Java(TM) SE Runtime Environment (build 1.8.0_201-b09)Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

Install TinyOS

  • Follow the instruction of or
  • Use the command below to know the package meaning:
apt search tinyos-tools
  • There are two important component you ought to install:
  1. nesc : This is the nesC compiler used to compile TinyOS applications, includes support
  2. tinyos-tools: Development-tools for TinyOS
  • Here are two component optional for installation
  1. msp430-46(For Telosb):
  2. avr-tinyos(optional):
  • Get the TinyOS source code
  • Add environment variables to your shell
  • Access the serial ports
sudo gpasswd -a labuser dialout# to see if you are in the right groupgroups labuser

转载于:https://www.cnblogs.com/WindyZ/p/10585509.html

你可能感兴趣的文章
自定义tabbar(纯代码)
查看>>
小程序底部导航栏
查看>>
poj1611 简单并查集
查看>>
Ubuntu 14.04下安装CUDA8.0
查看>>
跨平台开发 -- C# 使用 C/C++ 生成的动态链接库
查看>>
C# BS消息推送 SignalR介绍(一)
查看>>
WPF星空效果
查看>>
WPF Layout 系统概述——Arrange
查看>>
PIGOSS
查看>>
软件目录结构规范
查看>>
解决 No Entity Framework provider found for the ADO.NET provider
查看>>
设置虚拟机虚拟机中fedora上网配置-bridge连接方式(图解)
查看>>
ES6内置方法find 和 filter的区别在哪
查看>>
Android实现 ScrollView + ListView无滚动条滚动
查看>>
java学习笔记之String类
查看>>
UVA 11082 Matrix Decompressing 矩阵解压(最大流,经典)
查看>>
硬件笔记之Thinkpad T470P更换2K屏幕
查看>>
iOS开发——缩放图片
查看>>
HTTP之URL的快捷方式
查看>>
满世界都是图论
查看>>