Commit graph

312 commits

Author SHA1 Message Date
fros4943 66657d9980 updated mspsim.jar that allows reading the current cpu speed 2010-05-17 09:57:31 +00:00
fros4943 d84f84de52 bugfix: using MspMoteTimeEvent:s to ensure that MSPSim's internal clock is correct when button is clicked 2010-03-29 10:18:14 +00:00
fros4943 90f174509b removed previous workaround for already fixed bug in CC2420 CRC 2010-03-26 13:33:40 +00:00
fros4943 ce5d19fefd moved elf loading and debugging info to the mote type, rather than keeping a separate refence in each mote. this patch reduces both the memory usage of MSPSim-based motes, and the processing time to load them 2010-03-26 12:29:11 +00:00
fros4943 54db259c32 using EXPORT attribute to automatically copy firmware files in executable JARs 2010-03-19 15:04:05 +00:00
fros4943 2f20d6b108 fixed cc2420's received signal strength indicator to be an average of the last 8 symbols (192us) 2010-03-15 19:22:03 +00:00
fros4943 4710441bb6 added temperature mote interface for sky motes 2010-03-14 19:45:04 +00:00
fros4943 ef35fe6e6e added experimental visualizer skin that shows the current source code of each mote in the simulation (for emulated mspmotes only) 2010-03-11 22:15:58 +00:00
fros4943 7dd4397f6c bugfix: getSignalStrength() did not return the correct value 2010-03-10 10:11:36 +00:00
nifi c4370676ee Fixed CRC for updated CRC-handling in new MSPSim 2010-03-09 10:37:47 +00:00
fros4943 df8cc48739 three patches to simplify loading TinyOS firmwares (via MSPSim), contributed by Philipp Sommer 2010-03-08 14:26:12 +00:00
fros4943 03605a568c bugfix: wrapping signal strength updates in separate event, to be executed after the last byte received 2010-03-08 11:29:39 +00:00
fros4943 4c9112a176 enabled debug output again 2010-03-02 13:24:48 +00:00
fros4943 d3b44510f8 make cli method public 2010-03-02 13:22:29 +00:00
nifi a373c426f0 Disabled the cross-level conversion of Contiki timestamp (currently not used by Contiki) 2010-02-26 08:15:41 +00:00
fros4943 dbd1cd7b08 show contiki stack trace in error dialog, not just print to console 2010-02-21 21:50:58 +00:00
joxe 470b93c79f added mote attributes to various types of motes 2010-02-18 11:13:20 +00:00
fros4943 66bf4a6063 temporarily disabled experimental mspsim debug interface for upcoming release 2010-02-12 09:34:49 +00:00
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