It looks like you are not finding the toscomm shared lib,
or that you have an incompatible version. toscomm replaces
the javax.comm stuff that we all knew and loved and could use...
perhaps your working code uses javax? Is your Java env different
between boomer and TOS?
MS
Alexandros Karagiannis wrote:
I encountered the same problems when i installed the Boomerang version
over the XubunTOS.
One example of this problem is that when i try to run a java application
(Trawler or even SerialForwarder) over the boomerang (of course after
setting the environment to boomerang) i receive a java error which in
the case of SerialForwarder is described below.
If i install TOSBASE from tinyos1.x and run the serialForwarder in
tinyos 1 environment everything is ok and works perfectly.
I overcame some issues regarding msp430-gcc (look into the moteiv
support they have published a solution for this problem) but the issue
of java still remains.
If someone else has solved the problem i would greatly appreciate if
he/she published the solution.
P.S this text below is a copy and paste while in boomerang environment
and after i had installed the TOSBASE of moteiv.If i change to tos1 and
install the TOSBASE of tinyos1.x and then try to run the serialforwarder
everything works fine.
Thank you
[EMAIL PROTECTED]:/opt/moteiv/apps/TOSBase$ java
net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:tmote
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError:
NativeSerial_read
at net.tinyos.comm.TOSCommJNI.NativeSerial_read(Native Method)
at net.tinyos.comm.NativeSerial.read(NativeSerial.java:65)
at net.tinyos.comm.TOSSerial$ReadThread.flush(TOSSerial.java:59)
at net.tinyos.comm.TOSSerial.<init>(TOSSerial.java:177)
at
net.tinyos.packet.SerialByteSource.openStreams(SerialByteSource.java:61)
at net.tinyos.packet.StreamByteSource.open(StreamByteSource.java:51)
at net.tinyos.packet.Packetizer.openSource(Packetizer.java:119)
at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)
at net.tinyos.packet.Packetizer.open(Packetizer.java:114)
at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
Java TOSSerial finalize
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help