红联Linux门户
Linux帮助

tinyos编译运行telosb在Install application to the specified m

发布时间:2016-02-15 15:43:55来源:linux网站作者:塞外的夜

就是tinyos连接telosb的地方出问题了。


第一步:

cd /opt/tinyos-2.1.1/apps/Blink(正确)


第二步:make telosb(貌似也对了)

tinyos编译运行telosb在Install application to the specified m


第三步:插入telosb,motelist(也对了)

tinyos编译运行telosb在Install application to the specified m


第四步:make telosb reinstall bsl,/dev/ttyUSB0(出现问题)

tinyos编译运行telosb在Install application to the specified m


原因:用户加入到dialout组里面。如果用sudo,会以管理员的身份运行,原先的关于tinyos的环境变量会丢失。


解决办法:用户设为a。

groups a,看看它的权限,看看有没有dialout这个组,如果没有执行,sudo gpasswd --add a dialout

接着就按正常步奏就可以了。


本文永久更新地址:http://www.linuxdiyf.com/linux/18098.html