当前位置:网站首页>MicaZ+Tinyos学习笔记(1)
MicaZ+Tinyos学习笔记(1)
2022-07-27 16:21:00 【bamboogz99】
节点及系统环境测试步骤
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.
边栏推荐
- 模仿线程扣除
- LeetCode 刷题 第二天
- 正则表达式的扩展
- Canvas draws graphics according to coordinate points
- Netred RGB mirror light touch chip-dlt8s15b-jericho
- pygame飞机大战游戏背景实现
- Music rhythm colorful gradient lamp chip -- dlt8s04a- Jericho
- JDBC MySQL 01 JDBC operation MySQL (add, delete, modify and query)
- 商品名称模糊搜索:
- Commodity comment information and comment information classification
猜你喜欢

订单超时取消 及 按类别查询商品

What does the number of network request interface layers (2/3 layers) mean

JDBC MySQL 02 data access and Dao mode

Talking about JVM (frequent interview)

Blog Garden beautification tutorial

`this.$emit` 子组件给父组件传递多个参数

JS to realize simple form verification and select all functions

Overview of Baidu map technology, and application development of basic API and webapi

电动加热护颈枕芯片-DLTAP703SC

npm的身份证和依赖
随机推荐
JS to realize simple form verification and select all functions
What if MySQL database forgets its password???
js中的函数与DOM获取元素和事件属性的使用
INSUFFICIENT_ ACCESS_ ON_ CROSS_ REFERENCE_ ENTITY APEX / SALESFORCE
MySQL 06 事务、视图、索引、备份和恢复
LeetCode 刷题 第一天
Uni app form submit button send request
Use ETL tools for data migration in salesforce project
MySQL 06 transaction, view, index, backup and recovery
Household mute mosquito repellent lamp chip-dltap703sd-jericho
Wechat payment and payment callback
ERROR 1366 (HY000): Incorrect string value: ‘\xE8\xB5\xB5\xE9\x9B\xB7‘ for column ‘s_ name‘ at row 1
Matplotlib (basic usage)
Interceptor拦截器
Valueerror: found input variables with inconsistent numbers of samples: [80019456, 26673152] [error reporting]
Hash、Set、List、Zset、BitMap、Scan
Full automatic breast pump chip dltap703sd
Talking about JVM (frequent interview)
ES6数值的扩展
ValueError: Found input variables with inconsistent numbers of samples: [80019456, 26673152]【报错】