experimental code: using MSPSim for emulating msp430 (esb) motes
This commit is contained in:
parent
dd9701d125
commit
291545bd15
27
tools/cooja/apps/mspsim/README
Normal file
27
tools/cooja/apps/mspsim/README
Normal file
@ -0,0 +1,27 @@
|
||||
MSPSim - ESB (MSP430) emulation support for the COOJA Simulator
|
||||
|
||||
Note:
|
||||
This functionality is still under development and will in the future be added as a default user platform in COOJA.
|
||||
|
||||
Usage:
|
||||
Add user platform "../apps/mspsim" in COOJA.
|
||||
Create an MSP mote type by providing paths to three pre-compiled files:
|
||||
* IHEX-file (the actual file currently interpreted by MSPSim)
|
||||
* Firmware-file (contains debug-section with sourcecode-pointers)
|
||||
* Map-file (typically exported as contiki-esb.map at compile-time)
|
||||
|
||||
Example:
|
||||
> make helloworld.firmware TARGET=esb && make helloworld.ihex TARGET=esb
|
||||
Use the three files generated; helloworld.firmware, helloworld.ihex and contiki-esb.map.
|
||||
|
||||
There also exists a pre-compiled example in the tools/cooja/apps/mspsim/example folder.
|
||||
Source code debugging will however not be available when using this example since it relies on the actual source code files pointed to by the debug-section in helloworld.firmware.
|
||||
|
||||
MSPSim source code access:
|
||||
MSPSim is available as a standalone project (no need for COOJA).
|
||||
It is maintained by Joakim Eriksson (joakime@sics.se) and Niclas Finne (nfi@sics.se).
|
||||
For questions regarding interfaces towards COOJA, contact Fredrik Österlind (fros@sics.se).
|
||||
|
||||
--
|
||||
Fredrik Österlind
|
||||
1/2 2007
|
3
tools/cooja/apps/mspsim/cooja.config
Normal file
3
tools/cooja/apps/mspsim/cooja.config
Normal file
@ -0,0 +1,3 @@
|
||||
se.sics.cooja.GUI.MOTETYPES = + se.sics.coojamsp.MspMoteType
|
||||
se.sics.cooja.GUI.JARFILES = + mspsim.jar
|
||||
se.sics.cooja.GUI.PLUGINS = + se.sics.coojamsp.MspCodeWatcher se.sics.coojamsp.MspStackWatcher
|
BIN
tools/cooja/apps/mspsim/example/helloworld.firmware
Normal file
BIN
tools/cooja/apps/mspsim/example/helloworld.firmware
Normal file
Binary file not shown.
1275
tools/cooja/apps/mspsim/example/helloworld.ihex
Normal file
1275
tools/cooja/apps/mspsim/example/helloworld.ihex
Normal file
File diff suppressed because it is too large
Load Diff
1029
tools/cooja/apps/mspsim/example/helloworld.map
Normal file
1029
tools/cooja/apps/mspsim/example/helloworld.map
Normal file
File diff suppressed because it is too large
Load Diff
BIN
tools/cooja/apps/mspsim/lib/mspsim.jar
Normal file
BIN
tools/cooja/apps/mspsim/lib/mspsim.jar
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user