Hello,

I am having trouble to load deluge into my Mica2 motes. The mote that I have 
is MIB510.
I am using Cygwin with USB port (COM5).
I got the no such file or directory error when I make&load the program into 
the mote.
======================================
> make mica2 reinstall,19 mib510,COM5
set-mote-id build/mica2/main.srec build/mica2/main.srec.out-19 19
   installing mica2 binary using mib510
uisp -dprog-mib510 -dserial=/dev/ttyS3 --wr_fuse_h=0xd8 -dpart=ATmega128 
--wr_fuse_e=ff 
 --erase --upload if=build/mica2/main.srec.out-19
Error: No such file or directory
 -> /dev/ttyS3
make: *** [program] Error 1
======================================

The following is my Makelocal file under /opt/tinyos-1.x/tools/make
======================================
DEFAULT_PROGRAM=mib510
MIB510=/dev/ttyS3

DEFAULT_LOCAL_GROUP=0x88

CFLAGS 
+= -I%T/../contrib/xbow/tos/platform/mica2 
-I%T/../contrib/xbow/tos/AXStack/mica2 
 -DCC1K_DEFAULT_FREQ=0x15 -DRADIO_XMIT_POWER=0xFF
=======================================

If I change the MIB510=/dev/ttyS3 to MIB510=COM5 in Makelocal file, the 
compile process seems hang forever at the following line:
========================================
...
...
uisp -dprog=mib510 -dserial=COM5 --wr_fuse_h=0xd8 -dpart=ATmega128 
--wr_fuse_e=ff 
 --erase --upload if=build/mica2/main.srec.out-19
========================================

Please help me fix this issue! Your response is appreciated!

Best,
Yuan 

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to