[Avrora] serial monitor error...
Marco Antonio Lopez Trinidad
marco.lopez at unige.it
Wed May 7 09:38:51 PDT 2008
Hallo,
I have executer the following command:
"java -classpath avrora/bin/ avrora.Main -simulation=sensor-network
-platform=mica2 -monitors=real-time,serial -seconds=25 -topology=topology.top
-nodecount=1,1 TOSBase.elf CntToLedsAndRfm.elf"
and I've got the following error:
----------------------------------------
Waiting for serial connection on port 2390...connected to /127.0.0.1:1056
java.lang.NullPointerException
at avrora.sim.mcu.SPI$TransferEvent.fire(SPI.java:153)
at avrora.sim.clock.DeltaQueue$Link.fire(DeltaQueue.java:124)
at avrora.sim.clock.DeltaQueue.advanceSlow(DeltaQueue.java:298)
at avrora.sim.clock.DeltaQueue.advance(DeltaQueue.java:251)
at avrora.sim.clock.MainClock.advance(MainClock.java:100)
at avrora.sim.AtmelInterpreter.commit(AtmelInterpreter.java:1058)
at avrora.arch.legacy.LegacyInterpreter.fastLoop(LegacyInterpreter.java:
258)
at avrora.arch.legacy.LegacyInterpreter.runLoop(LegacyInterpreter.java:1
14)
at avrora.sim.AtmelInterpreter.start(AtmelInterpreter.java:382)
at avrora.sim.Simulator.start(Simulator.java:488)
at avrora.sim.SimulatorThread.run(SimulatorThread.java:99)
==============================================================================
[0;32mSimulated time[1;00m: [1;36m221184000[1;00m cycles
[0;32mTime for simulation[1;00m: [1;36m33.891[1;00m seconds
[0;32mTotal throughput[1;00m: [1;36m6.526608[1;00m mhz
[0;32mThroughput per node[1;00m: [1;36m3.263304[1;00m mhz
-----------------------------------------------------
What would be the problem with the serial monitor?
Another interesting issue is that for the micaz platform the error doesn't
happen, rather the mote programs are not executed by the simulator.
have a nice day.
--marco.
More information about the Avrora
mailing list