Commit Graph

906 Commits

Author SHA1 Message Date
Joakim Eriksson a8fd64694b added CC2520 SPI registers 2012-05-14 16:31:14 +02:00
Joakim Eriksson 27be1bdc7b experimental SPI command class - for CC2520, etc. 2012-05-14 13:42:54 +02:00
Niclas Finne 9677af71dd Added LQI access method. Patch by Moritz Struebe. 2012-05-11 11:48:55 +02:00
Fredrik Osterlind d2f2f4cea9 fixed bugs that caused incorrect address lookups:
* source file registry entry was ignored in line entries
* extended opcode length is a leb128
* end_sequence opcode should add new line entry, and then reset registry
* implemented opcode DW_LNS_const_add_pc
* getDebugInfo() incorrectly matched prologue line entries

added main() to generate output comparable with that of msp430-addr2line
(verified with msp430-gcc v4.5.3).
2012-04-27 12:45:17 +02:00
Niclas Finne b0dafb710c Updated breakpoints for new memory model 2012-04-20 20:42:21 +02:00
Niclas Finne 3babb8ad54 Fixed too early clear notification when using DMA. 2012-04-19 13:39:56 +02:00
Niclas Finne b96722e61f Added methods to access Chip and IOUnit by type and not only name 2012-04-18 22:48:31 +02:00
Niclas Finne 8185d7b60c removed obsolete method 2012-04-16 14:19:24 +02:00
Niclas Finne bc1027e494 removed obsolete method 2012-04-13 20:05:12 +02:00
Niclas Finne 6c7ccde06d Added proxy for EventListener to support multiple listeners 2012-04-13 20:05:10 +02:00
Niclas Finne 6ab9662686 Added proxies for USARTListener and StateChangeListener to support multiple listeners 2012-04-13 20:05:09 +02:00
Niclas Finne eb10168150 Added proxies for RFListener, PacketListener, ChannelListener to support multiple listeners 2012-04-13 20:05:00 +02:00
Niclas Finne 5648fd5b43 minor code cleanup 2012-04-13 14:56:13 +02:00
Niclas Finne 9b31c5141a Allow setting the LQI or rather the CORR. Patch by Moritz Struebe. 2012-04-13 14:55:50 +02:00
Moritz Morty' Strübe abca9b4c39 Fix RSSI range 2012-04-13 02:09:26 +02:00
Moritz 'Morty' Strübe 7df8477a3f Improve performance when opening elf-file 2012-04-13 01:39:02 +02:00
Niclas Finne c527234859 Include 0xffff in the lower 64KB 2012-04-12 13:24:50 +02:00
Niclas Finne ecb98b3839 Minor cleanup of file headers 2012-04-12 12:05:50 +02:00
Niclas Finne 6154c1a5e6 Added missing path in classpath. Patch by Niels Moller. 2012-04-12 11:31:32 +02:00
Niclas Finne 5ba329ea74 Disabled debug output 2012-03-30 00:00:36 +02:00
Niclas Finne 41d1418671 Removed obsolete method 2012-03-30 00:00:35 +02:00
Niclas Finne 9004e36c1c Allow multiple functions to be specified as arguments to the profile command 2012-03-29 23:57:32 +02:00
Niclas Finne 65d4b87052 Changed Makefile to use directory 'build' when compiling, added make rules to start MSPSim based on firmware name, renamed firmware files based on platform. 2012-03-29 22:10:47 +02:00
Niclas Finne 2390c45350 Added configuration of memory setup 2012-03-28 23:42:03 +02:00
Niclas Finne e382f5db8a Added enum for memory access mode and type, added memory access methods get/set that do not notify watchpoints, added wrapper for handling memory segment access. Updates for new memory model. 2012-03-28 23:41:07 +02:00
Niclas Finne d662aed492 Added config for MSP430f149 (for the ESB platform) 2012-03-23 02:01:45 +01:00
Niclas Finne 1c569e3697 Case insensitive register matching 2012-03-23 01:55:06 +01:00
Niclas Finne 2dc61f1b0e Updates for new memory model 2012-03-23 01:53:42 +01:00
Joakim Eriksson 48de0943bf updated APIs 2012-03-22 19:52:24 +01:00
Joakim Eriksson 5f6d1a4b25 changed memory handling 2012-03-22 19:12:09 +01:00
Niclas Finne a4f2fbf314 Bug fix: indexed address mode overflow/underflow inspired by patch from Ben Ransford 2012-03-16 00:33:25 +01:00
Fredrik Osterlind 2bd1a44437 turn off radio and stop transmitting at reset 2012-03-12 14:41:44 +01:00
Niclas Finne c86d9ee267 Reduced debug output when using DMA 2012-03-09 19:44:27 +01:00
Niclas Finne 0f3cb0ea32 Updated to use cpu.getPC() instead of cpu.readRegister() to avoid notifying register monitors 2012-03-09 19:40:56 +01:00
Niclas Finne 4d2d4d7563 Removed multiple notification of register monitors in some operations 2012-03-09 19:04:38 +01:00
Niclas Finne 6fb4b00df8 Added exp5438 as platform name 2012-03-09 18:58:10 +01:00
Joakim Eriksson 366e95dda1 added exception when executing MSP430X instructions on non X arch 2012-03-09 11:58:10 +01:00
Joakim Eriksson c3ef5d1d90 Merge branch 'master' of ssh://mspsim.git.sourceforge.net/gitroot/mspsim/mspsim 2012-03-08 23:21:32 +01:00
Joakim Eriksson 5ec2fa765c added support for reading dwarf file - discriminator ext operator LNS 2012-03-08 23:20:40 +01:00
Niclas Finne f320a566aa * Bug fix: update pins when polarity is reconfigured
* Added support for FIFO polarity
* Added support for 8 MSB register writes
* Renamed some variables for clarity
2012-03-07 23:35:30 +01:00
Niclas Finne 76d76d927e Added generics 2012-03-02 21:51:35 +01:00
Niclas Finne 9eda161ee3 Global CPU monitor should be called before the memory write is performed. 2012-03-02 00:11:30 +01:00
Fredrik Osterlind da2da23a80 added method to retrieve mapentry of current stack 2012-03-01 15:17:12 +01:00
Fredrik Osterlind a9cd759c8b using correct command context print streams 2012-03-01 15:16:23 +01:00
Niclas Finne a6c0d2c9fe Reimplemented the send queue to avoid problem when DMA is used 2012-02-29 12:25:38 +01:00
Niclas Finne 23f4539245 Changed log output to warning when trying to send too large packet, fixed typo 2012-02-29 11:51:25 +01:00
Niclas Finne a8fd33da15 Added generics, method to find components by type and name, and copyright header. Minor code cleanup. 2012-02-29 11:44:55 +01:00
Niclas Finne d11c6d1476 Added support for FIFOP threshold. Patch by Simon Duquennoy. 2012-02-01 14:58:01 +01:00
Niclas Finne 6f4398d9f0 Clear CRC-ok when powered down 2012-01-31 20:02:52 +01:00
Niclas Finne dd77c865d7 Corrected title columns 2012-01-31 16:22:58 +01:00