fros4943
b749a560cc
removing obsolete method previously used for estimating contiki's energy consumption
2010-02-05 08:44:34 +00:00
fros4943
dcacabf1ec
bugfix: byte were written from both queue and in response to uart state rx flag clearing, which caused byte to be corrupted
2010-02-04 00:30:26 +00:00
fros4943
5d6a073655
bugfix: time event was initialized with null mote
2010-02-03 20:00:29 +00:00
fros4943
b832479e34
wrapping tr1001 custom data byte delivery in MspMoteTimeEvent
2010-02-03 19:30:32 +00:00
fros4943
cb34e9760f
wrapping serial byte input in a MspMoteTimeEvent
2010-02-03 19:17:30 +00:00
fros4943
74c003b7d4
wrapping tr1001 byte delivery in MspMoteTimeEvent:s, to avoid scheduling problems when emulated mote is in lpm
2010-02-03 19:15:56 +00:00
fros4943
510eb54494
wrapping cc2420 byte delivery in MspMoteTimeEvent:s, to avoid scheduling problems when emulated mote is in lpm
2010-02-03 19:15:15 +00:00
fros4943
31b9369dff
mspsim-specific time event that explicitly forces mspsim to synchronize its internal time to the current cooja time
2010-02-03 19:10:36 +00:00
fros4943
3786f2f5fb
introduced execute method with duration argument
2010-02-03 19:08:40 +00:00
fros4943
0286e4115f
removed obsolete tick method
2010-02-03 16:04:44 +00:00
fros4943
36ab835973
+ calculates CRC for incoming packets (from cooja to cc2420). not yet checking outgoing packets for correct CRC
2010-02-03 14:07:45 +00:00
nifi
01502926d0
Better handling of cross-level radio packet. Minor code cleanup.
2010-02-03 13:47:33 +00:00
fros4943
e207f89307
added inter-byte delay for delivering cross-level packet bytes (250kbit/s)
2010-02-03 12:37:34 +00:00
fros4943
7025402510
removed unnecessary call to initEmulator (already called when the mote is first created)
2010-02-03 11:06:23 +00:00
fros4943
bdda5f1c29
bugfix: rescheduling mspsim-based after breakpoint stops simulation + disabled automatic CLI "trace" at exceptions
2010-01-21 22:32:32 +00:00
fros4943
fa5f1f73ab
avoid java expection when debug pointer doesn't exist
2010-01-21 18:02:54 +00:00
fros4943
633405a73c
experimental debugging output interface for mspsim-based motes
2010-01-21 17:43:59 +00:00
fros4943
758710cadd
cvs ignore for build directory
2010-01-15 10:57:42 +00:00
fros4943
760818260c
using new MotePlugin interface
2010-01-15 10:54:42 +00:00
fros4943
6669b52c61
automatically ending transmission if radio hw is turned off
2010-01-15 10:44:26 +00:00
fros4943
515f5c7f78
removed warning when packet conversion failed
2010-01-15 10:43:02 +00:00
fros4943
cc252e5c16
added support for multiple msp command line listeners
2009-12-14 13:22:57 +00:00
fros4943
5660d6c168
bugfix: returned radio on during boot
2009-12-07 12:31:19 +00:00
fros4943
5f88fac53c
renamed serial port mote interface SkySerial to MspSerial + replaced ESB's log mote interface with the new MspSerial (ESB motes can now read serial port data)
2009-12-02 17:12:32 +00:00
fros4943
36d09eaa69
requesting mote wakeup when receiving radio data + code cleanup (faster code)
2009-12-02 16:39:42 +00:00
fros4943
51f210b37f
removed unused and unneeded custom radio data classes
2009-12-02 16:29:36 +00:00
fros4943
2f9ccfa26d
merged mspsim's compile dialogs
2009-12-02 16:27:32 +00:00
fros4943
8bd7187491
the simulation object now handles the motetype configuration for motes; common functionality that was earlier implemented in each mote.
...
this patch allows the simulator more freedom for hand-picking mote class loaders
+ some debug output in experimental ImportAppMoteType
2009-11-27 15:53:10 +00:00
fros4943
7e6fbd9f7b
output warning if radio shuts down during transmission
2009-11-25 15:18:11 +00:00
fros4943
c0e115895d
when a receiving radio is interfered by another transmission, the actual data received is corrupted.
2009-11-25 10:01:55 +00:00
fros4943
cd8a407ee1
fix: mote id should not return memory value, but rather the configured value.
2009-11-25 09:17:16 +00:00
fros4943
9c861b486d
minor fix: isTransmitting() flag should be true during transmissions + removed obsolete MSPSim setCCA interface
2009-11-13 08:32:01 +00:00
fros4943
82b8006c0c
using MoteTimeEvent instead of TimeEvent: scheduled events are automatically removed when the mote is removed
2009-10-28 15:58:42 +00:00
fros4943
2911ea483b
jipv6 jar path fix
2009-10-27 10:19:07 +00:00
fros4943
2d7e188c77
using mspsim's new window manager, not fully implemented yet
2009-10-27 10:13:34 +00:00
fros4943
ed8867bcb5
new event scheduling api
2009-10-27 10:11:17 +00:00
fros4943
4715637b38
major update to mspsim-based emulated mote:
...
* fully event based scheduling instead of previous event-tick-hybrid model
->
* faster emulation of large mspsim-based networks
* enables variable clock frequency (no longer fixed to 3.9 Mhz)
2009-10-27 10:02:48 +00:00
fros4943
ae9aaea5f3
added build dependcy jipv6.jar
2009-10-27 09:58:18 +00:00
fros4943
8b136c0b35
removed obsolete until method
2009-10-27 08:52:49 +00:00
fros4943
92eecd3e38
added method for more easily accessing the coffee filesystem interface
2009-10-08 14:41:20 +00:00
fros4943
21d1c5e939
added experimental functionality for mapping between debug info paths and real source locations.
...
useful when the firmware is not compiled on the cooja computer, or when the source files have been moved after compilation.
this functionality is not yet saved with simulation configs
2009-09-23 08:22:36 +00:00
fros4943
25767a1f0f
faster repaint for large source files
2009-09-23 08:16:06 +00:00
fros4943
d9f3e2b05f
bugfix: restoring path from wrong source when loading msp mote type
2009-09-18 09:26:22 +00:00
fros4943
dc07c1ad26
debug info before loading ELF file
2009-09-18 09:06:15 +00:00
fros4943
e974b896dc
removing unsafe MoteID interface dependencies
2009-09-17 13:19:08 +00:00
fros4943
eb4698612d
minor changes: removing some unused code, restructuring, added getID() methods
2009-09-17 10:50:11 +00:00
nvt-se
b8e268e598
Added FreeBSD support.
...
Made the Sky mote type use PATH_MAKE for the build procedure.
2009-08-27 12:25:11 +00:00
fros4943
91e762b7bc
bugfix: do not assume that the debugged mote is compiled from source
2009-08-20 12:52:17 +00:00
fros4943
3847927a43
including the coffee manager JAR in build system and project directory
2009-08-12 07:41:30 +00:00
fros4943
cdcf783ac6
coffee manager mote interface for sky motes
2009-08-11 17:09:16 +00:00
fros4943
532c1b6c77
bugfixes: recalculate executable address after loading breakpoint + iterate over array, not list
2009-06-17 13:06:55 +00:00
fros4943
f086c92b40
implemented saving current flash memory
2009-06-17 13:05:27 +00:00
fros4943
752e80167b
added breakpoint colors and user defined messages
2009-06-16 12:15:15 +00:00
fros4943
e8ca6d4a4e
+ shortcut for registering identical breakpoints for all motes of a particular mote type (currently only in popup menu)
2009-06-15 09:45:46 +00:00
fros4943
4fecf3fe1e
moved handling of breakpoint configs from plugin to mote
2009-06-15 09:44:42 +00:00
fros4943
1d504be38c
no source code repaints while simulation is running
2009-06-12 15:11:22 +00:00
nifi
2c4f9b50f8
cvs ignore for generated jars
2009-06-12 12:42:32 +00:00
fros4943
8842b700a7
ui updates + extracted code to external classes
2009-06-11 10:12:44 +00:00
fros4943
12ee67171b
mspmote is now a watchpoint mote + mspmote is responsible for parsing and providing firmware debugging info
2009-06-11 10:08:12 +00:00
fros4943
a8aa75fa8d
updated code watcher user interfaces: added support for disabling breakpoints without removing them + several minor fixes
2009-06-11 10:06:47 +00:00
fros4943
c19c8a16ad
mspsim breakpoint wrapper with source code information (part of the code was extracted from the code watcher plugin)
2009-06-11 10:05:28 +00:00
fros4943
af0c20e00d
extend SerialUI to avoid code duplication
2009-06-02 09:34:59 +00:00
fros4943
e238d84a75
milliseconds -> microseconds update + removed dependency of radio interface
2009-05-26 14:34:30 +00:00
fros4943
1c22bf5151
event based mote interfaces + reimplemented cross level functionality for TR1001
2009-05-26 14:33:30 +00:00
fros4943
c59fc91487
milliseconds -> microseconds update
2009-05-26 14:31:07 +00:00
fros4943
a8e66853bc
updated cc2420 converter to 6 byte xmac headers
2009-05-26 13:33:35 +00:00
fros4943
0f57afa2b3
bugfix: the preamble and synchbytes was shown instead of the payload (including 2 footer bytes)
2009-05-06 12:59:12 +00:00
fros4943
316f154c1f
notify when radio HW is turned on/off
2009-05-04 15:34:00 +00:00
fros4943
dbd5f095e4
new default clock frequency for Contiki's sky motes: 3.9MHz
2009-04-29 20:04:56 +00:00
fros4943
997a5f6983
reverting previous accidental commit
2009-04-21 20:46:02 +00:00
fros4943
4790ff8f74
increasing loop symbols for higher clock speed
2009-04-21 18:22:41 +00:00
nifi
ecf288c89d
allow loading configs referring to MspIPAddress, which was removed
2009-04-20 17:16:20 +00:00
fros4943
5a5585238b
allow loading configs referring to MspIPAddress, which was removed
2009-04-20 16:48:53 +00:00
fros4943
3718304c76
removed abstract ip address interface: equal for all motes
2009-04-20 16:12:37 +00:00
fros4943
c76a406cba
added read-only rime address interface
2009-04-20 16:12:01 +00:00
joxe
61ed2b5b5c
made COOJA accept ELF files based on MAGIC ELF code instead of filename
2009-04-20 16:04:46 +00:00
fros4943
ebcd6a08a5
added method for checking if radio can receive data
2009-04-16 14:28:12 +00:00
fros4943
692dd2cb4b
do not convert packet is bad length is set in cc2420 fifo
2009-04-09 17:41:29 +00:00
fros4943
2ac3662ea8
sky motes output the new converted radio packets
2009-04-01 23:37:27 +00:00
fros4943
e4858a2ade
update ip interface to supports ipv6 addresses.
...
also disabled writing IP addresses from inside COOJA, since the these should rather be determined by Contiki
2009-04-01 17:43:17 +00:00
fros4943
fa09bd6c69
removed non-existing IP stack warning at startup
2009-03-21 15:49:29 +00:00
fros4943
eb2753f23d
set default size
2009-03-21 14:40:22 +00:00
fros4943
c53d80a608
experimental: print pc history when program jumps to bad address
2009-03-13 16:24:29 +00:00
fros4943
536af1381a
temporary fix for catching new emulationexception
2009-03-12 17:47:57 +00:00
fros4943
7099572282
+ support for config file relative paths when saving simulations
2009-03-12 15:08:29 +00:00
fros4943
d26ba2606b
added simulation config backwards compatibility for msp motes
2009-03-11 17:46:59 +00:00
fros4943
8ec6bbd32b
compile method signature update
2009-03-11 08:42:07 +00:00
fros4943
25ca251a89
quick-fix: the generator assumes that the constructor accepts a mote object, this is the quickest fix currently
2009-03-09 17:14:35 +00:00
fros4943
e5a5f7dd5d
using mote type configuration for generating correct mote interfaces:
...
it is now possible to configure which interfaces msp430-based have
2009-03-09 17:12:27 +00:00
fros4943
1c0e432969
esb mote type should use esb mote interfaces, not sky mote interfaces
2009-03-09 17:10:14 +00:00
fros4943
728b22bedb
renamed author to avoid compiler warnings
2009-03-09 16:05:11 +00:00
fros4943
f30f8d289e
compile dialog implementations
2009-03-09 16:04:42 +00:00
fros4943
83ad0c18ba
calling contiki compile library for compiling instead of as earlier the msp mote type
2009-03-09 16:03:58 +00:00
fros4943
bd3107ae0d
method names changed
2009-03-09 16:01:29 +00:00
fros4943
ad63ae22fd
now using contiki compilation library:
...
removed lots of code from this class that was earlier used for compiling sky and esb motes
2009-03-09 16:00:16 +00:00
fros4943
7a54a0b8eb
better debugging output when compiling and cleaning for msp motes
2009-03-03 15:01:14 +00:00
fros4943
7b763f0e75
automatically cleaning temporary files for every non-gui test: takes longer but allows for test-specific compiler flags
2009-03-03 13:52:35 +00:00
fros4943
b059155e51
added mote relation interface to emulated sky nodes
2009-02-26 13:48:08 +00:00
fros4943
00273dce75
minor changes and documentation regarding using random generators in Cooja
2009-02-18 12:07:19 +00:00
fros4943
cc56325300
main random generator must not be used for setup tasks such as node positioning
2009-02-18 11:49:54 +00:00
fros4943
43d21e6e31
forcing all commands to be parsed/executed by bash to simplify multiple make commands
2009-02-17 11:47:12 +00:00
fros4943
71836a0f8e
split command into arguments is unnecessary
2009-02-16 12:37:18 +00:00
joxe
4b78e80bda
added MAC address setting - setNodeID in SkyNode
2009-02-07 16:38:51 +00:00
fros4943
67f41c8e5c
re-enabled radio channels on sky motes
2009-02-03 14:34:47 +00:00
joxe
4879e83403
minor TOS serial fix
2009-02-03 14:18:12 +00:00
joxe
cf197a3496
fixed TOS detect on usart output
2009-02-03 14:08:24 +00:00
fros4943
04738e219d
bugfix: setting heap start to enable stack watch again
2009-01-23 15:32:24 +00:00
fros4943
f0111ac181
increased buffer size for maximum sized packets including preamble
2009-01-15 13:55:20 +00:00
fros4943
2d8667cad1
added simple method for wrapping serial data in SLIP packets
2009-01-15 13:13:47 +00:00
fros4943
e0cc36b02e
removed todo: serial data callback is implemented
2008-12-09 16:58:36 +00:00
joxe
37b40f99c7
changed simulation time from int to long to support very long simulations
2008-12-04 14:03:41 +00:00
fros4943
aae4b54c68
bugfix: mspsim cycle counter was cast to int, limiting maximum simulation time
2008-12-04 13:14:34 +00:00
fros4943
cdd2d9daa5
synchronizing pending bytes vector
2008-12-04 13:09:27 +00:00
fros4943
5e6b02d1b9
ok
2008-12-04 13:08:55 +00:00
fros4943
d8b0705cb3
mspsim should warn at bad memory access (not activated yet)
2008-12-03 15:36:49 +00:00
fros4943
430333b515
using updated messagelist
2008-12-03 15:18:47 +00:00
fros4943
ace83513e8
empty USART stateChanged handler
2008-12-03 13:13:07 +00:00
fros4943
2d7238e775
uIP IP address interface (reading from uip_hostaddr)
2008-12-03 13:11:20 +00:00
fros4943
8c4d5b51f9
using state changed callback for more accurate incoming serial data throughput
2008-12-03 13:04:21 +00:00
nifi
e86b63112a
changed to use MSPSim from tools/mspsim
2008-12-03 09:55:26 +00:00
nifi
9d36fb106e
added command line history
2008-11-26 16:23:43 +00:00
fros4943
c46bb21f5e
compile from separate thread, not edt
2008-11-04 17:37:09 +00:00
fros4943
488e5dab37
minor fixes + added experimental debugging function: run until function returns
2008-11-03 18:11:44 +00:00
fros4943
730917f846
remember look and feel background color
2008-11-03 18:10:52 +00:00
fros4943
066085a174
click on breakpoint to open source file
2008-11-03 18:10:34 +00:00
fros4943
2df1f699aa
using target extensions (.sky/.esb) instead of generic .firmware
2008-11-03 13:18:28 +00:00
fros4943
3fa37e21ac
more error checking + compile default choice
2008-11-03 12:45:52 +00:00
fros4943
3c7565dd68
allow radio to flush before feeding with packet data
2008-11-03 12:31:33 +00:00
fros4943
a7a87386b5
misspelled method
2008-11-03 10:33:15 +00:00
fros4943
4a494eebb5
updated mspsim jar
2008-10-29 18:39:00 +00:00
fros4943
8668f69077
using cc2420 packet converter for conversions between cc2420 and cooja
2008-10-29 18:38:26 +00:00
fros4943
6e792ff766
removed old sky packet radio
2008-10-29 18:28:28 +00:00
fros4943
6ae7fc99a1
packet converter with x-mac and crc support
2008-10-29 18:28:16 +00:00
fros4943
fdcfbd0e62
bugfix: source file got lost when reloading msp motes
2008-10-29 16:36:33 +00:00
fros4943
eb08babd4c
using time events for following up on ongoing transmissions
2008-10-29 09:13:12 +00:00
fros4943
5d7ed0eab2
using events to write serial data to mote
2008-10-29 08:51:09 +00:00
fros4943
2a2be77707
implemented getDrift method
2008-10-29 08:36:12 +00:00
fros4943
cb790a62e3
scheduling events for persistent IDs instead of polling: more efficient
2008-10-29 08:35:38 +00:00
fros4943
9faae40d7c
new interface format without passive/active
...
+ energy method renamed
2008-10-28 17:02:58 +00:00
fros4943
3ee86789e2
new interface format without passive/active
2008-10-28 17:02:13 +00:00
joxe
545eaedee4
updated mspsim with some new bugfixes - but still some problems with CC2420 and LPL
2008-10-27 07:34:41 +00:00
nifi
69b73246b9
refactored MSPMote setup + added plugin to access MSPSim CLI
2008-10-13 14:50:50 +00:00
joxe
37214513d6
improved cc2420 support
2008-10-09 11:13:00 +00:00
joxe
9646fa0a01
fixed new byte based radio model for MSPSim based Sky node
2008-10-09 11:11:30 +00:00
joxe
626638d8b8
bugfix for the TinyOS node id support
2008-10-09 09:41:27 +00:00
fros4943
6011abbb79
removed unused currentSimTime + fixed bug when nodes are added during simulations
2008-10-07 16:49:21 +00:00
fros4943
11a084f8df
mspsim with fifop bugfix (setting fifop false when radio is reconfigured)
2008-10-07 15:01:46 +00:00
fros4943
526a5ae497
new mspsim jar with some cc2420 fixes
2008-10-07 11:53:40 +00:00
fros4943
3bae1a2b59
persistent node ID defaults to true
...
+ removed some debugging output
2008-10-07 08:21:05 +00:00
fros4943
e473939ebf
support for node IDs in variables node_id, TOS_NODE_ID or none
2008-10-07 08:18:54 +00:00
fros4943
b8d8474668
mspsim 0.94
2008-10-06 14:03:52 +00:00
fros4943
3a26f02fb2
removing debug output
2008-10-05 15:49:10 +00:00
fros4943
2a2b764ee6
updated some references to old getLastLogMessages()
2008-10-03 15:18:48 +00:00
fros4943
66e361058a
fix: local firmware file variable defined when compilation starts
2008-10-03 15:08:17 +00:00
fros4943
43d97043a7
added clean option
2008-10-03 15:02:21 +00:00
fros4943
d9ce7927cb
splitting contiki messages on newlines
2008-10-03 10:39:29 +00:00
fros4943
9cf79a6b21
kill potentially unfinished compilation process when dialog is closed
2008-10-02 21:23:03 +00:00
fros4943
ee7b3dc70c
newer mspsim: with receive sfd_state bug fix
2008-09-29 23:22:13 +00:00
joxe
24d34b837d
updated mspsim jarfile
2008-09-23 15:26:50 +00:00
joxe
f6e0702b3b
optimized some loops for increased performance and added runprof for profiling
2008-09-22 16:18:22 +00:00
joxe
221742559d
fixed cycles per sec to be more correct
2008-09-22 09:32:13 +00:00
fros4943
1f1112618a
in paths, dirs are separated by '/'s only
2008-09-20 09:15:45 +00:00
fros4943
43fe1882f9
avoid using additional threads for writing to message list
2008-09-20 08:53:20 +00:00
fros4943
83e97ecfba
print compilation errors to console
2008-09-20 08:05:07 +00:00
fros4943
f6f5637f4f
printing debug output when compilation fails
2008-09-18 14:14:58 +00:00
fros4943
ba5bfd6455
mspsim without debug output
2008-09-18 14:05:27 +00:00
fros4943
ff08a99b7d
saving contiki relative paths if possible
2008-09-18 14:04:45 +00:00
nifi
ee56d724bf
fixed bug in the delayed start of MSPSim motes
2008-09-17 17:39:37 +00:00
nifi
724d9139a7
added missing variable initialization
2008-09-17 14:37:23 +00:00
fros4943
8de801d729
new mspsim version 0.93+
2008-09-17 12:10:15 +00:00
fros4943
fb4f9dfc1a
serialport is an active interface
2008-09-17 12:09:20 +00:00
fros4943
9a76bacaa5
initialize from int[] (mspsim standard)
2008-09-17 12:09:03 +00:00
fros4943
9c51ece052
supporting new mspsim cc2420
2008-09-17 12:08:45 +00:00
fros4943
8d790a19d8
serial port implementation for sky node.
2008-09-17 12:05:45 +00:00
fros4943
9ea58d343b
cooja ant run automatically builds jars
2008-09-01 12:47:54 +00:00
nifi
34b37335c9
updated to latest version of mspsim
2008-07-09 22:08:32 +00:00
nifi
1cbac18ff9
updated to latest version of MSPSim
2008-06-27 14:11:51 +00:00
nifi
e4aac2ad23
fixed inverted leds
2008-06-27 14:10:00 +00:00
nifi
52d6ea2738
fixed problem with the initialization order
2008-06-27 14:09:26 +00:00
nifi
4eb02a56a0
added Button interface for the Sky plattform
2008-06-27 14:07:05 +00:00
nifi
522f87e63f
made the GUI a little more compact
2008-06-27 14:05:08 +00:00
nifi
21c8496858
bug fix: flash is not available on all platforms
2008-06-27 14:04:46 +00:00
fros4943
92a4c5289f
removed unmappable character
2008-04-23 13:47:18 +00:00
fros4943
acb55db237
removed unmappable character
2008-04-23 13:47:18 +00:00
fros4943
6fd056dafb
fixing paths
2008-04-22 13:06:36 +00:00
fros4943
22071d6073
updated mspsim
2008-04-03 14:35:19 +00:00
fros4943
42d685a819
reading source files from web server in applet mode
2008-04-03 14:03:30 +00:00
fros4943
3da6608fe3
upload flash binary not available in applet mode
2008-04-03 14:02:47 +00:00
fros4943
ce3ed6d064
mspsim setup node ports without file access
2008-04-03 14:02:20 +00:00
fros4943
a4c408fb66
reading specified binary firmware from webserver
2008-04-03 14:01:06 +00:00
fros4943
2691abecaa
using firmware specified in applet attribute
2008-04-03 14:00:21 +00:00
fros4943
f29f2695ba
fixed ant targets causing jar files to have duplicate class files
2008-04-03 11:50:49 +00:00
fros4943
a6ddac2347
creating flash interface
2008-04-01 08:09:35 +00:00
fros4943
bc4c80f7c7
single instruction ticks instead of entire milliseconds
...
need optimizing
2008-04-01 08:08:58 +00:00
fros4943
af2fcbca50
writing ID to flash memory
2008-04-01 08:07:58 +00:00
fros4943
66316eb7e9
flash interface
2008-04-01 08:06:57 +00:00
fros4943
7579904492
update source info when breakpoints are altered
2008-03-31 15:19:27 +00:00
fros4943
716932544b
new elf debug object access
2008-03-19 17:42:44 +00:00
fros4943
12c094409a
added javadoc attr
2008-03-19 17:28:42 +00:00
fros4943
f659204238
experimental: removed objdump dependency
2008-03-19 17:27:35 +00:00