hi,
I have this problem when I execute tinyviz, and I don't know the solution:
$ ./tinyviz -run build/pc/main.exe 30
java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar .//simdriver.
jar -gui -run build/pc/main.exe 30
Starting SimDriver...
Simulation random seed 1532693265
Initializing simulator objects...
Loading simulator plugins...
Creating TinyViz GUI...
java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar .//simdriver.
jar -gui -run build/pc/main.exe 30
Starting SimDriver...
Simulation random seed 1532693265
Initializing simulator objects...
Loading simulator plugins...
Creating TinyViz GUI...
AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess: build/pc/
main.exe -gui -r=lossy -seed=1532693265 -nodbgout 30 error=2
java.io.IOException: CreateProcess: build/pc/main.exe -gui -r=lossy -seed=153269
3265 -nodbgout 30 error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:63)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:344)
at java.lang.Thread.run(Thread.java:536)
Goodbye!
AUTORUN: Stopping simulation.
main.exe -gui -r=lossy -seed=1532693265 -nodbgout 30 error=2
java.io.IOException: CreateProcess: build/pc/main.exe -gui -r=lossy -seed=153269
3265 -nodbgout 30 error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:63)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:344)
at java.lang.Thread.run(Thread.java:536)
Goodbye!
AUTORUN: Stopping simulation.
Can you help me?
for the other hand i see this message when I make this:
$ make telosb
mkdir -p build/telosb
compiling CntToLedsAndRfm to a telosb binary
ncc -o build/telosb/main.exe -Os -I%T/lib/Counters -mdisable-hwmul -I/opt/tinyos
-1.x/tos/lib/CC2420Radio -I/opt/tinyos-1.x/tos/../beta/STM25P -Wall -Wshadow -DD
EF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -
board= -DIDENT_PROGRAM_NAME="CntToLedsAndRfm" -DIDENT_PROGRAM_NAME_BYTES="67,110
,116,84,111,76,101,100,115,65,110,100,82,102,109,0" -DIDENT_USER_ID="vcobos" -DI
DENT_USER_ID_BYTES="118,99,111,98,111,115,0" -DIDENT_HOSTNAME="pc103-5" -DIDENT_
HOSTNAME_BYTES="112,99,49,48,51,45,53,0" -DIDENT_USER_HASH=0x81c3efd0L -DIDENT_U
NIX_TIME=0x4540bdb4L CntToLedsAndRfm.nc -lm
C:/ARCHIV~1/tinyos/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:115
: warning: `Send.sendDone' called asynchronously from `sendFailed'
compiled CntToLedsAndRfm to build/telosb/main.exe
11868 bytes in ROM
375 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
mkdir -p build/telosb
compiling CntToLedsAndRfm to a telosb binary
ncc -o build/telosb/main.exe -Os -I%T/lib/Counters -mdisable-hwmul -I/opt/tinyos
-1.x/tos/lib/CC2420Radio -I/opt/tinyos-1.x/tos/../beta/STM25P -Wall -Wshadow -DD
EF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -
board= -DIDENT_PROGRAM_NAME="CntToLedsAndRfm" -DIDENT_PROGRAM_NAME_BYTES="67,110
,116,84,111,76,101,100,115,65,110,100,82,102,109,0" -DIDENT_USER_ID="vcobos" -DI
DENT_USER_ID_BYTES="118,99,111,98,111,115,0" -DIDENT_HOSTNAME="pc103-5" -DIDENT_
HOSTNAME_BYTES="112,99,49,48,51,45,53,0" -DIDENT_USER_HASH=0x81c3efd0L -DIDENT_U
NIX_TIME=0x4540bdb4L CntToLedsAndRfm.nc -lm
C:/ARCHIV~1/tinyos/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:115
: warning: `Send.sendDone' called asynchronously from `sendFailed'
compiled CntToLedsAndRfm to build/telosb/main.exe
11868 bytes in ROM
375 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
writing TOS image
this is important for other aplicattions? thanks for all
Víctor
Ofertas y reservas para viajar por todo el mundo. Organiza y contrata tus viajes aquí.
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
