PDA

View Full Version : Serial forwarder port.




DIP2010
Feb 2, 2010, 03:18 AM
Hi, I am using Window XP rather than Mac notebook. I do not know where to configure/connect XServe and below is the error I got from MoteView.

Starting xserve:
xserve -sf=192.168.1.3:10002 -l -xmlfile=XmlStream.xml -xmlp -xmlport=9005

XSERVE 2.0.E: $Id: xserve.c,v 1.8.2.3 2007/02/02 17:45:01 rkapur Exp $
Using params: [db parsed] [xml parsed] [server port=9001]
Opening serial forwarder: 192.168.1.3 : 10002
xsocket: No response from 192.168.1.3...
xsocket: No response from 192.168.1.3...
xsocket: No response from 192.168.1.3...
xsocket: No response from 192.168.1.3...
xsocket: No response from 192.168.1.3...
[2010/02/02 16:09:14] xserve: Serial forwarder at 192.168.1.3:10002 is running incorrect protocol
XMonitor: XServ failure.
Evaluating process exit...
Exit status - Application Level Exit. No restart requested.
Signal Status - Normal.
wait: No error
Process aborted: xserve2/bin/xserve.exe

[MV]: XServe is not running ...
Starting xserve:
xserve -i=192.168.1.3:10002 -l -xmlfile=XmlStream.xml -xmlp -xmlport=9005



z060049
Mar 3, 2010, 07:16 AM
Hi I have the exact same problem. Did you get it solved?

arif868
Apr 13, 2010, 01:43 AM
same case for me to run moteview..
can any one give solution???

roura22
Apr 14, 2010, 06:17 AM
Hi,
I have the same problem,
I programmed 4 sensors and a base station by crossBow-->NP2 a simple application:
tools-->make micaz
tools-->shell (make micaz install mib520,com3)
And I succeded in the configuration. But, in MoteView, when I tried to connect to a Wireless sesor Network I Have the error:
Warning: Converting Windows COM4 device to Cygwin device.

Where is the problem?
Another question: I want to know the difference between configurate a mote with NP2 and the moteconfig ?
Many thanks in advance

cmde
Apr 28, 2014, 04:33 AM
Hi,

I know this is a quite old thread, but I couldn't find information about that particular problem anywhere else.

I am using Windows 7 and MoteView 2.1 and also have a Mib520 Board. The drivers for the Board are correctly installed and I am able to program my motes (micaz).
The mib520 board simulates two COM ports (8 and 9). I can see them in the Hardware Manager and also set the Bits per second to 57600 there.

When connecting to a WSN via MoteView 2.1 I am facing a similar problem:
Starting xserve:
xserve -s=COM9 -b=57600 -r -p -c -v -h -l -xmlfile=XmlStream.xml -xmlp -xmlport=9005

XSERVE 2.0.E: $Id: xserve.c,v 1.8.2.3 2007/02/02 17:45:01 rkapur Exp $
Warning: Converting Windows COM9 device to Cygwin device.
Using params: [raw] [parsed] [converted] [db parsed] [xml parsed] [server port=9001]
Opening serial device: /dev/ttyS8 @ 57600
Loaded Parsers:
$Id: configxml_parser.c,v 1.1 2006/01/06 20:36:19 rkapur Exp $
$Id: heartbeat_parser.c,v 1.1 2006/01/06 20:36:19 rkapur Exp $
$Id: xparse.c,v 1.1 2006/01/06 20:36:25 rkapur Exp $
Loaded Data Sinks:
$Id: xtest_datasink.c,v 1.1 2006/01/06 20:36:17 rkapur Exp $
[...]
$Id: xcmd_xsensor.c,v 1.2 2006/01/07 01:16:23 rkapur Exp $
$Id: xcmd_xserve.c,v 1.1 2006/01/06 20:35:53 rkapur Exp $

Process aborted: xserve2/bin/xserve.exe


Error Messages:
[MV : 28.04.2014 10:59:28]
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei XBow.lib.XServe.XServeProcess.processFailed(Object sender, ThreadExceptionEventArgs e)

As described in the users manual I am using COM 9 (the higher one).
I am running MoteView as Administrator, so I should have sufficient rights.

What I have tried so far:

Disabling Windows Firewall: There was an error message that there was no connection to the postgre sql possible, because localhost was resolved to the external IP and not 127.0.0.1 . When I typed 127.0.0.1 instead of localhost MoteView couldn't resolve the host name. Actually my firewall allows xserve connections to pass. This error message does not come up everytime I try to connect to a WSN.
Using COM 8 instead of COM 9 (in contradiction to users manual)
Using MoteView 1.4 instead of 2.1 . Here I am also facing problems connecting to the postgresql database
Loading a sample data set from the postgresql database as suggested in the users manual. Surprisingly this works and there are no error messages.

Unfortunately all those approaches did not solve the problem.

My idea now is, that I could change the COM Port Settings in the Windows Hardware Manager.
They are currently:

(translated from German, so maybe labels are not exactly the same as yours)
Bits per Second: 57600
Databits: 8
Parity: none
Stopbits: 1
Flowcontrol: none
Is that correct? Note that I have been able to program my motes with MoteConfig and got some applications running on the motes (e.g. Blink).

My aim is to set up a TinyDB Network with a few micaz motes. Might it be a compatibility issue (Is TinyDB not working together with MoteView)? I've installed a TinyDB port for TinyOS 2 (http://i30www.ibds.kit.edu/~kellner/tinydb) on the motes.

Do you have any other suggestions?

I would be glad to recieve any help!

Nemer
Jul 18, 2014, 11:53 AM
any help in this,, Plz