当前位置:网站首页>Micaz+tinyos learning notes (1)
Micaz+tinyos learning notes (1)
2022-07-27 19:05:00 【bamboogz99】
Node and system environment test steps
http://www.tinyos.net/tinyos-1.x/doc/tutorial/verifyhw.html
· Device programmers:
o The MIB500 (Crossobw) or any other standard parallel-portprogrammer board.
o The MIB510 (Crossbow's serial port based programming device)
o The AtmelAVRISP
o The EthernetPRogramming Board (EPRB)
1. You only need specify the type of deviceyou are using and how to communicate with it. This is done usingenvironment variables. Example:
bash% MIB510=/dev/ttyS1 make install mica
2. PC System verification: avr gcc compiler, perl,flex, cygwin, JDK 1.3.x or above.
o $: toscheck
3. Hardware Verification: Change to the apps/MicaHWVerify directoryand type(only for mica2)
o (mica platform) make mica
o (mica2/mica2dot) PFLAGS=-DCC1K_DEF_FREQ=<freq> make[mica2|mica2dot]
4. Next step is to install the application onto amote.
o Place a powered-on node into a programming board. The redLED on the programming board should light. Connect the programming boardto the parallel port of your computer. To load the program on to thedevice, using a parallel port programmer, type
$ make reinstall [mica|mica2|mica2dot] |
5. The next step is to verify the mote hardware.
a. First, confirm that the LEDs are blinking like abinary counter.
b. Next,connect the programming board to the serial port of the computer. The hardwareverify program will send data over the UART that contains it status.
c. To read from the serial port, we provide a javatool called hardware_check.java. It is located in the samedirectory. Build and run this tool. The commands are shown below assuming youare using COM1 at 57.6 KBaud to connect to the programming board.
make -f jmakefile |
d. Theoutput on the PC should be something like:
hardware_check started |
6. Radio Verification
To verify radio, you need two nodes. Take a second node(that has passed the hardware check up to this point) and install it with TOSBase. This node will act as a radio gateway toa second node. Once installed, leave this node in the programming boardand place the original node next to it. Re-run the hardware_check javaapplication. The outputshould be the same as shown in the previous section (but will display theserial ID of the remote mote). The indication of a working radio system is,again, something like:
hardware_checkstarted
Hardware verificationsuccessful.
Node Serial ID: 1 60 48 fb 6 0 0 1d
If theremote mote is turned off or not functioning, it will return a message"Node transmission failure".
Ifyour system and hardware pass all the above tests, you are all set for havingsome fun with TinyOS. Congratulations.
边栏推荐
- Kinect2 for unity3d - avatardemo learning
- Collection of software design suggestions of "high cohesion and low coupling"
- ES6-新增方法
- 一个经验
- Learning notes of Microcomputer Principles - common addressing methods
- PHP string operation
- LeetCode 刷题 第二天
- Electromagnetic field learning notes - vector analysis and field theory foundation
- Bathroom with demister vanity mirror touch chip-dlt8t10s
- Unity shows Kinect captured shots
猜你喜欢

MySQL 04 高级查询(二)

Intelligent insomnia therapeutic instrument product dlt8p68sa Jericho

Sentinel1.8.4 persistent Nacos configuration

MySQL 02 初体验

大冤种们,新进测试行业,如何正确选择意向企业?

Express get/post/delete... Request

JDBC-MySql 02 数据访问和DAO模式

「测试新手百科」5 分钟快速上手Pytest 自动化测试框架

Self control principle learning notes - system stability analysis (2) - loop analysis and Nyquist bode criterion

NPM's ID card and dependence
随机推荐
LeetCode 刷题 第一天
MySQL 06 transaction, view, index, backup and recovery
JDBC MySQL 01 JDBC operation MySQL (add, delete, modify and query)
CMD 命令
Day 3 of leetcode question brushing
WSN Journal indexed by SCI(转)
JDBC-MySql 01 JDBC操作MySql(增删改查)
Personal Center - order business process
Latex使用--subfigure竖排图形
Unity显示Kinect捕获的镜头
Unity shows Kinect captured shots
正则表达式的扩展
TypeScript安装
LeetCode 刷题 第二天
MySQL 01 relational database design
Low noise anion fan touch IC
Typeerror: conv2d(): argument 'padding' (position 5) must be multiple of ints, not STR [error]
收下这份实操案例,还怕不会用Jmeter接口测试工具
Performance analysis of continuous time system (1) - performance index and first and second order analysis of control system
Order submission