Giri, thanks for your reply. I tried both "make mica2 reinstall mib510,com1" and "make mica2 reinstall mib510,/dev/ttyS0". This time, it just stuck at uisp, like =========== > "C:\Crossbow\PN\IDE.bat" "C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\lesson_1\" "C:\Crossbow\cygwin\bin" "make mica2 reinstall mib510,com1" ############################# Command: make mica2 reinstall mib510,com1 Cygwin: C:\Crossbow\cygwin\bin Directory: C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\lesson_1\ "/opt/MoteWorks/tools/bin/ide.pl 'make mica2 reinstall mib510,com1' 'C:\Crossbow\cygwin\opt\MoteWorks\apps\tutorials\lesson_1\'" ############################# bash: [: /home/Bo: binary operator expected ide.pl Ver:$Id: ide.pl,v 1.1.2.1 2006/05/29 07:22:52 lwei Exp $ Executing: /opt/MoteWorks/apps/tutorials/lesson_1/ bash -c "make mica2 reinstall mib510,com1" cp build/mica2/main.srec build/mica2/main.srec.out installing mica2 binary using mib510 uisp -dprog=mib510 -dserial=com1 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out ============= this happens a lot in my machine. Sometime it works fine to upload the image. But very often, it stucks a uisp. I use mib510 and mpr400. I have checked the connection, plug, etc. everything. every time this happens, I have to restart the machine. Is there anything I can do to know why this happens? Thanks, Chris
Giri Baleri <[EMAIL PROTECTED]> wrote: The command line arguments are case sensitive. Try "make mica2 reinstall mib510,com1" or "make mica2 reinstall mib510,/dev/ttyS0" instead and see if it works. - Giri --------------------------------- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Yao Sent: Monday, July 16, 2007 1:20 PM To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] one strange question when using MoteWorks Hi, I use MoteWorks, Tools/shell to upload lesson_1, as follows: ===================================== ide.pl Ver:$Id: ide.pl,v 1.1.2.1 2006/05/29 07:22:52 lwei Exp $ Executing: /opt/MoteWorks/apps/tutorials/lesson_1/ bash -c "make mica2 reinstall mib510,COM1" cp build/mica2/main.srec build/mica2/main.srec.out installing mica2 binary using mib510 uisp -dprog=mib510 -dserial=COM1 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/mica2/main.srec.out Error: No error make: *** [program] Error 1 -> ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍýýýý ACKSTXBS > Process Exit Code: 0 > Time Taken: 00:02 =========================== Why I got " ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍýýýý ACKSTXBS" I have no clue at all. MoteWorks works for me yesterday. thanks, Chris --------------------------------- Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. --------------------------------- Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help