博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Installation for TinyOS on Ubuntu 16.04
阅读量:5062 次
发布时间: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

你可能感兴趣的文章
App.config自定义节点读取
查看>>
unity3d根据手机串号和二维码做正版验证
查看>>
二十六、Android WebView缓存
查看>>
django Models 常用的字段和参数
查看>>
linux -- 嵌入式linux下wifi无线网卡驱动
查看>>
SVN使用教程总结
查看>>
SQL中varchar和nvarchar有什么区别?
查看>>
OpenCV矩阵运算总结
查看>>
Java Build Practice 4:Extend and Invoke Ant API
查看>>
[转] Transformer图解
查看>>
FreeBSD方式安装 MAC OSX
查看>>
Linux 根文件系统制作
查看>>
IOS--沙盒机制
查看>>
使用 JointCode.Shuttle 访问任意 AppDomain 的服务
查看>>
sqlite的坑
查看>>
digitalocean --- How To Install Apache Tomcat 8 on Ubuntu 16.04
查看>>
【题解】[P4178 Tree]
查看>>
Jquery ui widget开发
查看>>
更改git仓库地址
查看>>
有标号DAG计数 [容斥原理 子集反演 组合数学 fft]
查看>>