Commit graph

383 commits

Author SHA1 Message Date
Adam Dunkels b7fe30c2d7 Updated menu item name to indicate that a window is opened. 2012-06-04 17:22:23 +02:00
Fredrik Osterlind 86f1c34692 renamed radio method isReceiverOn() to isRadioOn()
fixed bug in Msp802154Radio causing all packets from non-802154-radios to be dropped
2012-06-04 12:39:46 +02:00
Fredrik Osterlind e96a375e33 extracted quick help interface to a separate file, moved plugin-specific quick help from quickhelp.txt to the plugins themselves 2012-06-01 11:50:51 +02:00
Niclas Finne f8da0ea206 Updated API for external flash for storage API in MSPSim 2012-05-31 15:40:31 +02:00
Niclas Finne 8a7f572e87 Added serial interface that looks up default serial usart from MSPSim 2012-05-31 15:40:11 +02:00
Niclas Finne 9251692eed Added Z1 platform 2012-05-31 15:40:09 +02:00
Niclas Finne 0a437bfbe1 Removed unnecessary empty mote contructors 2012-05-31 15:40:07 +02:00
Niclas Finne 9753ad1301 Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation. 2012-05-31 15:40:05 +02:00
Niclas Finne d2c8cefa18 Added constructor to exception 2012-05-31 15:40:03 +02:00
Niclas Finne 4c1cff310c removed executable flags 2012-05-31 15:40:01 +02:00
Niclas Finne 15690694cb Added JCreate and Sentilla USB platforms 2012-05-31 15:39:59 +02:00
Niclas Finne d86ae8766b Added Wismote platform 2012-05-31 15:39:56 +02:00
Niclas Finne 27fabd25c0 Button interface for MSPSim button abstraction 2012-05-31 15:39:54 +02:00
Niclas Finne 6fd69ade3e Leds interface for MSPSim leds abstraction 2012-05-31 15:39:52 +02:00
Niclas Finne 9dd2327f07 Replaced MSPSim interface SkyByteRadio with Msp802154Radio to easier support other 802.15.4 radio chips than CC2420. 2012-05-31 15:39:50 +02:00
Fredrik Osterlind 9e67306eee cleaned up the mote type visualizer code 2012-05-25 15:40:26 +02:00
Fredrik Osterlind 4ea830ad45 cleaned up some unnecessary methods: empty mote constructors (created from mote type), setInterfaces/setMoteType methods 2012-05-24 14:06:09 +02:00
Fredrik Osterlind 24aafe5554 disallowed starting plugins/visualizer skins for non-compatible motes/simulations 2012-05-24 13:58:12 +02:00
Niclas Finne e18cc3b6b9 Made the mote type information for MSPSim based platforms more compact 2012-05-23 17:03:45 +02:00
Niclas Finne bea1b8d3a1 Added simulation as argument to moteType.getConfigXML() instead of each MoteType storing a reference to the simulation. 2012-05-23 15:42:22 +02:00
Fredrik Osterlind 50caa3650c new experimental feature: possibility to change mote types when loading a simulation
made compile dialogs only select mote interfaces specified in the loaded configuration
2012-05-23 14:59:41 +02:00
Fredrik Osterlind a69b580778 Added new annonation with which Cooja components (e.g. mote plugins) can be activated
or deactivated depending on the given argument (e.g. mote). This may for
example be used by a mote plugin that only accepts emulated motes, and that
consequently should be hidden in other non-emulated motes' plugin menues.

The new annotation is currently only used by the MspCodeWatcher and the DGRM visualizer skin.
2012-05-09 13:47:03 +02:00
Fredrik Osterlind 8fd51cd889 bugfix: breakpoints should only trigger once
updated watchpointmote method to return executable address, not wrapped in an object
2012-05-09 13:04:35 +02:00
Niclas Finne f328a8a483 Stop the CPU when a breakpoint is triggered 2012-04-20 21:48:12 +02:00
Niclas Finne 7628652a9d Updated for new listener API in MSPSim 2012-04-20 21:48:10 +02:00
Niclas Finne 26e7698d32 Updates for latest MSPSim memory API 2012-04-20 21:48:07 +02:00
Niclas Finne 28f8467ab1 Updated MSPSim plugin for new memory model in MSPSim 2012-04-20 21:48:04 +02:00
Fredrik Osterlind 173f512f6c disable editor when no source code is showing 2012-03-28 14:53:45 +02:00
Fredrik Osterlind e3a12703da added temporary workaround that removes file duplicates, removed warning message 2012-03-28 14:52:30 +02:00
Fredrik Osterlind 4222d0adcd bugfixed parsing of files read from mspsim 2012-03-28 14:44:59 +02:00
Fredrik Osterlind 0c94b567b9 supporting multiple path substituion rules in mspcodewatcher 2012-03-28 12:29:54 +02:00
Fredrik Osterlind 65b5fd0dde documenting potential bug 2012-03-28 12:28:25 +02:00
Fredrik Osterlind 7cfa8e28d3 reworked MspCodeWatcher plugin: using jsyntaxpane to display Contiki code, using tabs instead of splitpanes, easier to
configure watch-/breakpoints, lots of bug fixes and minor improvements
2012-03-21 16:58:26 +01:00
Fredrik Osterlind 2e583c733e mspsim motes now implements new WatchpointMote interface, simplified code 2012-03-21 16:57:04 +01:00
Fredrik Osterlind 9b267036a4 send empty packet if node reboots during transmission 2012-03-12 14:34:06 +01:00
Fredrik Osterlind f8134186da implemented memory monitor support (moved previous functionality from MspMote to MspMoteMemory) 2012-03-09 14:57:44 +01:00
Niclas Finne f891774c1f Deferred listening on memory until after mote id has been set 2012-03-06 15:35:16 +01:00
Fredrik Osterlind e22bf837fc bugfix: mspsim may not have pc information, causing exception in buffer listener
bugfix: mote interfaces were incorrectly initialized twice, causing an mote id error in tinyos
2012-03-06 09:23:29 +01:00
Fredrik Osterlind ea42d590ea removed unnecessary overrided methods 2012-03-06 09:22:12 +01:00
Fredrik Osterlind a84dc139ea avoid awt thread floods from mspsim cli output 2012-03-01 17:02:40 +01:00
Fredrik Osterlind 8229cb8982 using new mspsim cli api 2012-03-01 15:25:17 +01:00
Fredrik Osterlind 268608f7e3 improved mspsim-connected regarding command handlers and context, implemented stack track method 2012-03-01 15:24:32 +01:00
Fredrik Osterlind 2c9316c5fa more informative error messages at simulation error 2012-02-16 15:51:32 +01:00
Niclas Finne 784ca301f8 Updated for latest coffee-manager 2012-01-30 22:20:46 +01:00
Fredrik Osterlind 4653778e8c minor bug fix to avoid need for updating filesystem twice initially 2012-01-26 16:19:01 +01:00
Fredrik Osterlind caade67d62 new watchpoint api, and method that allows for manipulating simulation time without affecting the
mote
execution
2012-01-26 16:10:11 +01:00
Fredrik Osterlind 5bcb6ad8a5 updated to mspsims new watchpoint api 2012-01-26 16:09:31 +01:00
Fredrik Osterlind c67954c773 activated exp5438 platform in cooja 2012-01-18 21:44:36 +01:00
Fredrik Osterlind 5cca043a84 added cooja mote type using mspsim's msp430x platforms (ti's exp5438) 2012-01-18 21:27:11 +01:00
Fredrik Osterlind 68da954163 new cooja plugin for monitoring memory areas, similar to the log listener. 2011-12-12 16:45:12 +01:00
Niclas Finne e291eb43f4 Bug fix: only map beginning of path to source files + minor code cleanup 2011-12-06 01:58:01 +01:00
Fredrik Osterlind 7c20758662 example code for manually configuring sky motes MAC addresses 2011-11-01 09:38:46 +01:00
Niclas Finne 4bac5ac7b9 updated to latest version of MSPSim with improved support for Dwarf 2011-06-09 01:29:59 +02:00
Fredrik Osterlind 8fb744edb1 added clean button to compile dialog, added compilation tip tab for msp motes 2011-04-20 14:44:52 +02:00
Niclas Finne 6457f765b3 Do not include ant runtime in classpath (avoids compilation warning with Ant 1.8+) 2011-03-21 21:39:45 +01:00
Fredrik Osterlind d8d94d0cd8 bugfix in writing tinyos addresses 2011-03-21 14:17:06 +01:00
Fredrik Osterlind e93f84bd4d organized imports 2011-02-24 09:32:08 +01:00
Fredrik Osterlind 990edbe32d moved radio interface visualizer code to shared abstract radio 2011-02-24 09:31:53 +01:00
Fredrik Osterlind 498df44bc7 removed debugging output 2011-02-24 09:31:51 +01:00
Fredrik Osterlind 79211bffae removed CVS-specific ignore files 2011-02-23 16:24:24 +01:00
Fredrik Osterlind a4e99e1dc2 using memory breakpoints instead of polling memory region during
bootup
2011-02-11 15:30:17 +01:00
Fredrik Osterlind 9e14d09bb0 fixed line endings 2011-02-11 13:27:17 +01:00
nifi cb1f206c4f Updated to allow MSPSim emulated nodes without debug information 2010-10-25 14:13:38 +00:00
nifi db5667ac8d Ignore access control problems when looking up debug info 2010-10-04 22:33:58 +00:00
joxe 67c76649d9 small optimizations and cleanups 2010-10-04 12:54:01 +00:00
nifi d7c1fffd51 Updated SkyFlash to be used with any M25P80 equipped mote 2010-09-09 19:56:59 +00:00
nifi 2835cdadff Updated to be used with any CC2420 equipped mote 2010-09-09 19:52:26 +00:00
nifi 4ad3e9d04f Updated to allow MSPSim emulated nodes without debug information (the debug information generated by mspgcc4 is not yet supported). 2010-08-26 14:10:42 +00:00
fros4943 f45e5fbd6b notify observers when radio channel changes 2010-08-13 10:20:07 +00:00
fros4943 982415c506 minor bug fix: address may be null 2010-08-13 10:19:20 +00:00
fros4943 3deb4408df implementing getExecutionDetails() by returning a stack trace 2010-08-13 10:18:54 +00:00
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