Go to file
Peter A. Bigot 1e2d603f5a Updates to work with mspgcc 20110716 and subsequent releases
Signed-off-by: Joakim Eriksson <joakime@sics.se>
2011-09-04 11:33:57 +02:00
.settings Eclipse 2008-05-07 16:52:26 +00:00
firmware added z1 firmware 2011-04-08 23:46:57 +02:00
images Added support for platforms Sentilla JCreate and Sentilla Gateway USB 2010-07-09 23:17:40 +00:00
lib removed IP stack from MSPSim to enable usage of jipv6 2009-10-09 12:12:55 +00:00
scripts Added option to the 'service' command to not warn if the service is not found 2011-06-07 23:45:15 +02:00
se/sics/mspsim Avoid array index overrun when clearing bss section in ROM 2011-09-04 11:33:37 +02:00
tests Updates to work with mspgcc 20110716 and subsequent releases 2011-09-04 11:33:57 +02:00
.gitignore added improved support for Z1/2xxx platform 2011-04-08 22:21:36 +02:00
CHANGE_LOG.txt added more ot changelog 2009-04-30 15:30:28 +00:00
Makefile moved IOPort setup from core to config 2011-08-29 22:20:36 +02:00
README.txt added profiling of events and added event system 2009-01-20 11:37:32 +00:00
build.xml Added run rules for Sentilla JCreate and USB 2010-07-18 06:22:25 +00:00
license.txt added license text 2007-11-26 15:25:22 +00:00

README.txt

* MSPSim version 0.9x

MSPSim is a Java-based instruction level emulator of the MSP430 series
microprocessor and emulation of some sensor networking
platforms. Supports loading of IHEX and ELF firmware files, and has
some tools for monitoring stack, setting breakpoints, and profiling.

* System requirements

You need a recent Java to run MSPSim. Java SE 1.5 or newer is
recommended. The current version of MSPSim also requires make for
compiling.

* Building MSPSim

You will build MSPSim by typing

>make

* Running examples

Run the default example on the ESB node emulator by typing:

>make runesb

(here you can pass the PIR with the mouse and click on the
 user button to get reaction from the example application).


Run the default example on the Sky node emulator by typing:

>make runsky

(this is a leds-blinker only and does not react to any mouse
 movements or button clicks).


* Main Features
- Instruction level emulation of MSP430 microprocessor
- Supports loading of ELF and IHEX files
- Easy to add external components that emulates external HW
- Supports monitoring of registers, adding breakpoints, etc.
- Built-in profiling of executed code
- Statistics for various components modes (on/off, LPM modes, etc).
- Emulates some external hardware such as TR1001 and CC2420.
- Command Line Interface, CLI, for setting up breakpoints and output
  to files or windows.
- GDB remote debugging support (initial)

* What is emulated of the MSP430
- CPU (instruction level simulation)
- Timer A/B subsystem
- USARTs
- Digital I/O
- Multiplication unit
- Basic A/D subsystem (not complete)
- Watchdog

* Limitations of the emulation (some of them) on version 0.9x
- currently the emulator runs as if it can use all memory as RAM
  (e.g. flash writes, etc not supported)
- no DMA implementation
- timer system not 100% emulated