[Tinyos-help] TinyOs Help - TOSSIM

Marcus Phillips marcusphilli at gmail.com
Mon Jun 5 12:31:48 PDT 2006


Skipped content of type multipart/alternative-------------- next part --------------
java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar C:/PROGRA~1/UCBS/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run build/pc/main.exe 30
Starting SimDriver... 
Simulation random seed 918804064
Initializing simulator objects...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
	at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:140)
	at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
	at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
	at net.tinyos.sim.SimCommands.<init>(SimCommands.java:64)
	at net.tinyos.sim.SimDriver.<init>(SimDriver.java:244)
	at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
Loading simulator plugins...
Creating TinyViz GUI...


Welcome to Tython. Type 'quit' to exit.
ESC on a line by itself will pause/resume the simulator.

>>> AUTORUN: Initializing simulation.
AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy -seed=918804064 -nodbgout 30
AUTORUN: Connecting...
SF enabled, 0 clients, 0 packets read, 0 packets written 
                                                                              
SF enabled, 0 clients, 0 packets read, 0 packets written 
                                                                              
SF enabled, 0 clients, 0 packets read, 0 packets written 
                                                                              
SF enabled, 0 clients, 0 packets read, 0 packets written Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
	at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:140)
	at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
	at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36)
	at net.tinyos.packet.BrokenPacketizer.<init>(BrokenPacketizer.java:58)
	at net.tinyos.sim.packet.TossimSource.<init>(TossimSource.java:44)
	at net.tinyos.sim.packet.TossimSerialSource.<init>(TossimSerialSource.java:32)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:503)
	at net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:472)
	at net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:463)
	at net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151)
	at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
	at net.tinyos.sf.SFListen.run(SFListen.java:84)
SimComm: TossimInitEvent received (30 motes)... initializing system.
SimComm: Pausing system for TossimInitEvent
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
	at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:140)
	at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:118)
	at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
	at net.tinyos.packet.AbstractSource.open(AbstractSource.java:81)
	at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
java.lang.NullPointerException
	at net.tinyos.packet.AbstractSource.open(AbstractSource.java:82)
	at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
AUTORUN: Simulation running.
-------------- next part --------------
mkdir -p build/pc
    compiling TestTinyViz to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread  -fnesc-nido-tosnodes=1000  -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc -fnesc-cfile=build/pc/app.c -board=micasb -DIDENT_PROGRAM_NAME="TestTinyViz" -DIDENT_PROGRAM_NAME_BYTES="84,101,115,116,84,105,110,121,86,105,122,0" -DIDENT_USER_ID="jhemann" -DIDENT_USER_ID_BYTES="106,104,101,109,97,110,110,0" -DIDENT_HOSTNAME="DHE245-20" -DIDENT_HOSTNAME_BYTES="68,72,69,50,52,53,45,50,48,0" -DIDENT_USER_HASH=0x622543d3L -DIDENT_UNIX_TIME=0x448483abL TestTinyViz.nc -lm 
gcc: unrecognized option `-pthread'
C:/PROGRA~1/UCBS/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc: In function `__nesc_nido_initialise':
C:/PROGRA~1/UCBS/cygwin/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:724: warning: passing arg 1 of `memset' discards qualifiers from pointer target type
    compiled TestTinyViz to build/pc/main.exe


More information about the Tinyos-help mailing list