http://sing.stanford.edu/tinywiki/index.php/Installing_and_Configuring_T2_for_iMote2_on_Windows_XP
第一步是JAVA
第二步是cygwin
第三步在进行下载之前 创建opt文件 要提权
mkdir /opt
• chmod go+w /opt
• cd /opt
• touch ~/.cvspass
第四步
cvs –z3 –d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co –P tinyos-2.x
cvs –z3 –d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co –P tinyos-2.x-contrib
第五步 安装一些列RPM包 因为我们要用intelmote2 要一些特别的
第6步:
Set your environment variables correctly (replace … with your localpath)
export TOSROOT=…/tinyos-2.x
export TOSDIR=$TOSROOT/tos
export INTELMOTE2_CONTRIB_DIR=$TOSROOT-contrib/intelmote2
export MAKERULES=$TOSROOT/support/make/Makerules
export TOSMAKE_PATH=$INTELMOTE2_CONTRIB_DIR/support/make
第7步:
make the USBLoaderHost executable
chmod a+x
…/tinyos-2.x-contrib/intelmote2/tools/platforms/intelmote2/bootloader//USBLoaderHost.exe
(… ->your localpath)
In order to test it, go to tinyos-2.x-contrib/intelmote2/apps/Blink and do “make intelmote2 debug install bootloader”.
注意事项:打开Cygwin管理员权限;
完成之后 只能在xp上烧录 win7一直是detected。问题还未解决?