[Tinyos-help] make mica2

Giri Baleri mbaleri at xbow.com
Fri Jun 13 11:01:23 PDT 2008


If you have MIB510 and if COM3 works for programming, then it should be
COM3 as well for XServe (unlike MIB520, MIB510 has only one COM port
that serves the dual purpose). You should check it under Wndows device
manager for confirmation.
 
I have seen cases where using USB to Serial adapter, the programming
works, but data reading doesn't. Depends on the make/model of the
adapter and the PC make and OS you are using.
 
I have attached the Mote programming guide that provides step-by-step
instructions for setting up the WSN using MoteView.
 
Giri
 


________________________________

From: Yu Qun [mailto:maggie.qun at gmail.com] 
Sent: Friday, June 13, 2008 9:25 AM
To: Giri Baleri
Subject: Re: [Tinyos-help] make mica2


hi Giri:
Tank you so much for your reply, before I compile the sample coding "

MTS400 

XMTS400 

MoteWorks/apps/XMesh/XMTS400 

"on the programming board (MIB510), I observe the sychronization data
through command "xserve -device=com4" under Cygwin. I think com4 is a
Output port. if I complie and upload the coding by using the same
port(make mica2 reinstall mib510,com4), every try failed, so I change
the port to com3, then succeed, so I judge the com3 is Input Port. 
I dont know whether the problem is on the USB to serial adapter, because
this problem never happened before i try to compile and upload coding in
the programming.
 
I copy the Error Message from  MoteView:
System.Net.Sockets.SocketException: No connection could be made because
the target machine actively refused it at
System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at XBow.lib.XSocketBase.Open(String host, Int32 port)
 
Aother question, is the function of local programming in MotConfig for
Mote board or programming board?I am worry about whether some .exe such
as "\MoteView\xmesh\mica2\315MHZ\MTS400\XMTS400_315_lp.exe" I have
uploaded have influnded the programming board. 
 
hope your further suggestion,
 
Sincerely;
Maggie


 
On Fri, Jun 13, 2008 at 12:02 PM, Giri Baleri <mbaleri at xbow.com> wrote:


	If you are using MIB510, there is only one COM port, which
should be used both for programming and reading the data. 
	Do you have a USB to Serial adapter that has assigned COM3?
	Which application did you program into the Mote attached to MIB
board?
	While reading the data from the Mote, make sure that the SW2
switch is set to OFF position.
	Even with these changes, if you still can't read data from
XServe (COM3 port), then I suspect the problem lies in the USB to Serial
adapter.
	 
	Regards,
	Giri

________________________________

	From: tinyos-help-bounces at millennium.berkeley.edu [mailto:
tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Yu Qun
	Sent: Friday, June 13, 2008 8:42 AM
	To: tinyos-help at millennium.berkeley.edu
	Subject: [Tinyos-help] make mica2
	
	
	hi everyone:
	 
	This is my first uploading the coding by command "make mica2"
and "make mica2 reinstall mib510,com3", the output means the operation
is successful, but a question comes out, under the Cygwin, after input
the command "xserve -device=com4", the results is following :
	$ xserve -device=com4
	XSERVE 2.0.E: $Id: xserve.c,v 1.8.2.3 <http://1.8.2.3/>
2007/02/02 17:45:01 rkapur Exp $
	Warning: Converting Windows com4 device to Cygwin device.
	Using params: [raw] [parsed] [converted] [server port=9001]
	Opening serial device: /dev/ttyS3 @ 57600
	 
	it seams that stop here, theorially, there should be some
sychynicated or asychynicated data if sensors are open. what is the
problem, i am very worry about whether the mib510 programming board is
over by my some abnormal operations. during these operations, i use the
SW1 ("reset" button) and SW2. I am so worry about whether wrong
operation on them would bring some problems. Have you encountered the
similar situation and how to resolve it? Would you like to give me some
warm suggestions? Thanks!
	 
	Sincerely;
	Maggie
	
	On Tue, Jun 10, 2008 at 7:45 PM, Yu Qun <maggie.qun at gmail.com>
wrote:
	


		hi everyone:

		I want to ask a question,  what is the function of Reset
Button on MIB510? If I upload some coding on the programming board such
as mib50 not successfully, can I use the "reset button" to get the
initial state of MIB510? 
		Thanks!
		 
		Sincerely;
		Maggie



-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080613/8fe5f2da/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MoteProgramGuideRevB.pdf
Type: application/octet-stream
Size: 100730 bytes
Desc: MoteProgramGuideRevB.pdf
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080613/8fe5f2da/attachment-0001.obj 


More information about the Tinyos-help mailing list