Commit Graph

1145 Commits

Author SHA1 Message Date
Joakim Eriksson 6ab1eadb97 added improved support for Z1/2xxx platform 2011-04-08 22:21:36 +02:00
Joakim Eriksson d7a36abbfb made CPU more configurable 2011-03-21 22:18:12 +01:00
Joakim Eriksson 487880797a Merge branch 'master' of ssh://mspsim.git.sourceforge.net/gitroot/mspsim/mspsim 2011-03-21 20:07:04 +01:00
Joakim Eriksson d978202030 added initial support for stack profiling 2011-03-21 20:06:43 +01:00
Niclas Finne 1478e48762 Disabled debug output by default 2011-03-14 21:48:01 +01:00
Niclas Finne d3a795173d Added error message if the firmware file is not found at startup 2011-03-08 23:52:50 +01:00
Joakim Eriksson 67e7b4ba21 added console UI with history and editor 2011-03-04 18:38:23 +01:00
nifi 0cb8e066d5 Changed SerialMon to be a service component that can be started/stopped.
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@790 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-25 16:36:03 +00:00
nifi 34d1191c95 Fixed typo
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@789 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-23 17:12:45 +00:00
nifi e1bbf0e0df Only show IRQ profile when no function names have been specified
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@788 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-10 13:05:45 +00:00
joxe 92586cafe3 minor fix to see LEDS as printout on Z1 + fix for watch command
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@787 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-08 18:03:28 +00:00
joxe 55acf74d94 added missing file
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@786 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-07 10:53:43 +00:00
joxe e279fe7b26 removed class
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@785 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-07 10:52:30 +00:00
joxe 7c58b8e3ce added some configuration support for MSP430 core
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@784 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-07 10:51:53 +00:00
joxe 2ea5f90c8f added an interrupt multiplexer for DMA and later DAC
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@783 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-04 17:55:45 +00:00
joxe 910881840f minor fix of DMA subsystem
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@782 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-04 16:08:18 +00:00
joxe 03225b4781 removed one of statechange listeners on uart in serialmon
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@781 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-04 07:11:02 +00:00
joxe 9d7d2d1df5 bugfix for DMA
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@780 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-04 07:07:07 +00:00
joxe ef8055bd4a initial hack on DMA for mspsim - not working good yet
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@779 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-02-04 07:06:13 +00:00
joxe 952050445d fixed bug with frame rejection
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@778 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-31 22:35:42 +00:00
joxe 4ba1d17dc1 fixed uart callback and serial monitor window
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@777 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-28 14:04:26 +00:00
nifi 00a8877b74 Only reset counter when needed
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@776 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-20 18:36:35 +00:00
nifi bc2cf0c9c7 * Added interrupt vector and elapsed time to stacktrace
* Replaced Integer with CallCounter (minor optimization)

git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@775 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-17 17:18:33 +00:00
joxe 6606c9444d increased speed of flash erase for m25p80 so that it match tmote sky better
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@774 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-17 17:17:09 +00:00
nifi ce91619574 Added Watchdog as an IO unit
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@773 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-17 17:07:58 +00:00
joxe 66cfc2336a fixed so that packets are only dropped on illegal address mode when address decode is active
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@772 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-17 16:53:16 +00:00
nifi f0e4ac16a4 * Changed command 'log' to both list and handle multiple loggables
* Removed now obsolete command 'loggable' (replaced by 'log')
* Minor cleanup of command output

git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@771 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-17 14:51:17 +00:00
joxe 7bea26150b improved CC2420 address filtering
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@770 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-17 12:14:18 +00:00
nifi 9305fda873 * Clear state after CPU reset (all pending time events have been removed)
* Update status value before each read because it is possible to read the status register continuously

git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@769 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-15 00:11:40 +00:00
nifi 3b761a7f67 Added reset notification for chips
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@768 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2011-01-14 23:31:10 +00:00
joxe 9cc4bc7a92 fixed crc calculation to be done when sending last byte - patch by A.Dunkels
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@767 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-12-17 10:26:09 +00:00
joxe de8daad047 added throw command that throws an exception and stops the emulation - useful for stopping COOJA, etc.
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@766 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-10-10 21:30:54 +00:00
nifi 493646c21f Fixed Makefile to include all platforms
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@765 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-10-07 18:59:56 +00:00
joxe a754d141b6 optimizations - mainly of flash read checks
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@764 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-10-04 13:43:10 +00:00
joxe 406cd1a3da added emulation exception when writing to PxIN - typically a bug so exception is default - and only - behavior currently
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@763 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-27 20:23:35 +00:00
nifi 5c99cf6b6b Fixed bugs to support multiple writes
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@762 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-23 09:13:04 +00:00
nifi 6ab0980505 Bug fix: SFR is not available when Flash is setup
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@761 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-22 09:51:34 +00:00
joxe da37dd1c15 fixed bug in timer overflow calculation
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@760 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-08 17:20:54 +00:00
joxe 1cbd5410e5 added notification of configuration change for CC2420
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@759 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-08 12:04:03 +00:00
joxe 97b7984c94 added missing java class
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@758 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-07 07:13:34 +00:00
joxe f1e8956283 added configuration listener and state listener support for chip and iounit
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@757 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-06 20:29:26 +00:00
joxe afe4bb8c78 fixed correct file per symbol
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@756 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-09-04 15:28:53 +00:00
nifi d8afec32c5 Somewhat darker led colors
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@755 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-31 19:28:37 +00:00
joxe 3d30bf7383 integrated dwarf reader for adding addr2line support in mspsim on mspgcc4 files
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@754 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-31 18:27:29 +00:00
joxe 7c11537e07 added reading of complete DWARF addr 2 line info
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@753 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-30 20:49:02 +00:00
joxe fa962dc38c some refactoring for more generic debugging support
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@752 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-29 18:36:47 +00:00
joxe df30a11b1e added more basic dwarf 2.0 support
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@751 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-29 18:09:55 +00:00
joxe 6ed94caae8 added elf read methods
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@750 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-17 12:24:37 +00:00
joxe a5992778f9 added more dwarf reading code
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@749 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-16 14:04:06 +00:00
fros4943 4c9b00118e set debug false
git-svn-id: https://mspsim.svn.sourceforge.net/svnroot/mspsim/mspsim@748 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
2010-08-13 10:16:37 +00:00