The MSP430 simulator target interface provides access to CrossStudio's MSP430 simulator. This target interface supports program loading and debugging.

###### Diagnostic property group

Jump Counting Enabled
  Enables simulator to count jump instructions.
Trace Buffer Size
  The number of instruction trace entries to keep.

###### Memory property group

Default Memory Value
  The default byte value that simulator memory is initialized to.
Info End
  The end address of the simulated information memory (inclusive).
Info Start
  The starting address of the simulated information memory.
Main End
  The end address of the simulated main memory (inclusive).
Main Start
  The starting address of the simulated main memory.
RAM End
  The end address of the simulated RAM (inclusive).
RAM Start
  The starting address of the simulated RAM memory.

###### Peripherals property group

Enable Peripheral File
  Enables the Peripheral File property.
Interrupt poll interval
  The number of cycles that are executed between checks for an interrupt.
Multiplier
  Simulate a hardware multiplier.
Peripheral File
  The file containing the JavaScript peripheral simulation. This file is executed when the simulator is connected to. This file must contain JavaScript functions
  - reset() - this is called on reset and should reset all state.
  - pollForInterrupts(elapsedCycleCount) - this is called to check for interrupts. It is passed the elapsed number of cycles since the last time it was called. It should return -1 if no interrupt is outstanding or the interrupt number between 0 to 15 if an interrupt is outstanding.
  - loadPeripheral(address) - this is called when a memory read is made to the peripheral memory region (addresses < 0x200) and should return a value.
  - storePeripheral(address,value) - this is called when a memory write is made to the peripheral memory region (addresses < 0x200) together with the value that has been written.
  Please refer to the default peripheral simulation file contained in the targets/msp430peripherals.js for an example that simulates the hardware multiplier and some TimerA capabilities.