Commit graph

270 commits

Author SHA1 Message Date
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