[Tinyos-help] one strange question when using MoteWorks

Giri Baleri mbaleri at xbow.com
Mon Jul 16 14:21:43 PDT 2007


It sounds like the uisp is not able to proceed beyond the serial COM port. If it did, then you will see output like
 
Firmware Version: 2.1
Atmel AVR ATmega128 is found.
....
....
 
Why restarting the PC solves the problem, I don't know. It could be that some application is taking control over the serial port in the background. Next time when this happens, try looking under task manager and see if any of the processes (Palm Sync, XServe, XSniffer) etc are still running. If yes, Stop them and see if the problem goes away.
 
Giri
 
 
 

________________________________

From: Chris Yao [mailto:xxxyyy_abcd at yahoo.com] 
Sent: Monday, July 16, 2007 2:12 PM
To: Giri Baleri
Cc: tinyos-help at Millennium.Berkeley.EDU
Subject: RE: [Tinyos-help] one strange question when using MoteWorks


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 <mbaleri at xbow.com> 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: tinyos-help-bounces at Millennium.Berkeley.EDU [mailto:tinyos-help-bounces at Millennium.Berkeley.EDU] On Behalf Of Chris Yao
	Sent: Monday, July 16, 2007 1:20 PM
	To: tinyos-help at 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 <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091>  for great tips from Yahoo! Answers <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091>  users. 


________________________________

Get the Yahoo! toolbar and be alerted to new email <http://us.rd.yahoo.com/evt=48225/*http://new.toolbar.yahoo.com/toolbar/features/mail/index.php> wherever you're surfing. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070716/6e1b2f41/attachment.html


More information about the Tinyos-help mailing list