Commit Graph

570 Commits

Author SHA1 Message Date
Daniel Beer 907ef86156 Added "fill" command. 2012-08-09 16:07:05 +12:00
Daniel Beer ae9c212f37 Make device_erase a no-op for FRAM chips. 2012-08-09 15:34:06 +12:00
Daniel Beer 886fbd59c9 Probe chip ID bytes on startup. 2012-08-09 15:33:56 +12:00
Daniel Beer 377e30ea03 coff: skip over bad symbol table entries. 2012-08-01 12:20:17 +12:00
Daniel Beer 0e5c38231b rf2500: separate reset and run on exit.
This was causing a problem with the MSP430FR5739. Exiting and restarting
mspdebug would cause the reset vector (0xfffe) to be overwritten with
0xff 0xff. This didn't happen if you repowered the board between the
exit and restart.
2012-08-01 11:32:19 +12:00
Tamas TEVESZ e02567a712 Merge F2012 and G2231 2012-07-23 09:33:44 +12:00
Sean Burford ad6c39a0aa simio_timer: implement TAIV register. 2012-07-20 09:20:37 +12:00
Daniel Beer 65d15ef680 Added "verify" command. 2012-07-18 14:03:55 +12:00
Daniel Beer 5584136b69 elf32: stop section extraction after the first error. 2012-07-18 14:00:16 +12:00
Daniel Beer 1e36394136 Implemented basic GoodFET support. 2012-07-18 12:26:55 +12:00
Daniel Beer eae3026f5a flash_bsl: fix error with large block sizes. 2012-07-16 10:05:46 +12:00
Ingo van Lil 3cc5f47304 Support for demangling of C++ symbol names. 2012-07-16 10:02:06 +12:00
Daniel Beer 69f3a15187 fet_db: updated MSP430G2452.
New data contributed by Marc de Hoop <marc@springuin.nl>.
2012-07-06 08:56:34 +12:00
Daniel Beer 08cd326e66 Fix support for MSP430F2618.
Breakpoint count is stored as a byte, not a 16-bit word.
2012-07-06 08:50:44 +12:00
Peter A. Bigot fc336e78d0 Correct source bits shift offset for non-register extension word 2012-06-28 09:49:42 +12:00
Peter A. Bigot 19dfb6b64c Correct pushm.a count/register adjustment
The adjustment was applied to the register instead of the count, causing
0x144b to decode as "PUSHM.A #4, R12".
2012-06-28 09:49:42 +12:00
Peter A. Bigot 7c04f72397 Accept default length for dis above 64 kiB boundary
Same fix as applied for md in 27f56783.
2012-06-28 09:49:41 +12:00
Daniel Beer 546d716380 fet_db: merge 2553, 2403.
These chips can't be distinguished by their ID data.
2012-06-27 14:46:41 +12:00
Daniel Beer e6cb2dc51d tilib: fix DEVICE_ERASE_MAIN.
The address given to the library must be one inside main memory.
2012-06-19 10:08:48 +12:00
Daniel Beer c243ed04dc Add support for MSP430F6435.
Data contributed by Marc de Hoop <marc@springuin.nl>
2012-06-15 10:13:20 +12:00
Peter A. Bigot dd2c6d997c Avoid truncating breakpoint address
Use of uint16_t caused the stored breakpoint address to be wrong.  However,
breakpoints above 64 kiB don't seem to work even with this, so there may
also be a FET issue.
2012-06-13 09:43:04 +12:00
Daniel Beer d0b0b04cef Add support for MSP430G2403. 2012-06-09 11:50:23 +12:00
Peter A. Bigot 25f6df0d0f fix disassembly of 20-bit calla operands 2012-06-05 12:01:53 +12:00
Peter A. Bigot 8fe14ca1da Correct counts in disassembled rxxm/pushm/popm 2012-06-05 12:01:50 +12:00
Thomas Webel eb7da81c9c Added support for MSP430F2252. 2012-05-15 08:38:25 +12:00
Daniel Beer 31e8dabd09 Fix delay_s for Windows. 2012-05-10 11:41:00 +12:00
Daniel Beer f44d9d5281 elf32: more portable implementation.
The old implementation only worked on little-endian machines, and
relied on a particular struct layout.
2012-05-10 10:00:58 +12:00
Daniel Beer 6fd161faa7 Add delay_s() for portable sleep() substitute. 2012-05-10 10:00:12 +12:00
Daniel Beer 3517710455 Fix GDB breakpoint support. 2012-04-30 08:52:12 +12:00
Wayne Uroda 2ce7a82657 tilib: automatically detect path to uif when -d is not specified. 2012-04-28 08:45:13 +12:00
Daniel Beer 09ca20c91c Add support for read and write watchpoints. 2012-04-25 14:10:26 +12:00
Daniel Beer 7413531715 gdbc: watchpoint support. 2012-04-25 13:31:56 +12:00
Daniel Beer a2ee047cc0 Add watchpoint support to GDB server.
Only read/write watchpoints are supported (set with the "awatch"
GDB command).
2012-04-25 13:31:18 +12:00
Daniel Beer f1e99c38d3 sim: implement watchpoint support. 2012-04-25 13:31:00 +12:00
Daniel Beer a354116441 Watchpoint support (only implemented for tilib driver). 2012-04-25 12:43:14 +12:00
Daniel Beer a914bc732d Add support for building on Cygwin.
The symbol __Windows__ is defined when building a native (non-Cygwin)
binary.
2012-04-25 11:02:22 +12:00
Daniel Beer 97f8dce833 fet: remove message 0x30.
This apparently isn't necessary after all, and may be the cause of the
high rate of "fuse blown" errors.
2012-03-08 09:20:25 +13:00
Roland Haag 4e2185a408 fet: show more chip information (code/RAM ranges). 2012-03-07 10:08:01 +13:00
Daniel Beer 9f4d327c24 Support for MSP430F6736. 2012-03-07 10:06:01 +13:00
Daniel Beer 7b69f8c5e8 Version 0.19 2012-03-03 11:56:26 +13:00
Daniel Beer 39b9098b4a Enable full buffering on stdout/stderr.
Now that we explicitly flush on each line, we can enable this to reduce
the number of write() calls.
2012-03-03 11:06:46 +13:00
Daniel Beer 94abe88bb1 Non-standard baud rates for FreeBSD, NetBSD.
This appears to work the same as it does for OpenBSD.
2012-03-03 09:57:48 +13:00
Daniel Beer af30ea095a olimex_iso: fix compilation warnings. 2012-03-03 09:54:11 +13:00
Daniel Beer 9cbe59d3e8 sport: add support for non-standard baud rates on OpenBSD. 2012-03-02 14:29:47 +13:00
Daniel Beer f5f50d0fea Fix tty driver for Olimex MSP430-JTAG-ISO. 2012-03-02 14:19:39 +13:00
Daniel Beer e79d102937 olimex_iso: fix compiler warnings on non-Linux systems. 2012-03-02 14:13:49 +13:00
Daniel Beer 902c2903c3 Add raw USB driver for Olimex MSP430-JTAG-ISO. 2012-03-02 12:13:11 +13:00
Jolan a7a71b993f Flush output buffer at each line 2012-03-02 11:20:56 -08:00
Daniel Beer 0581e74339 Revert "Use line-buffering on stdout, regardless of the output device."
This reverts commit e5028a4d83.

Line buffering for stdio is not implemented correctly on Windows, and
the _IOLBF option is equivalent to full buffering. Redirecting output
in bash with >& reproduces this problem.
2012-03-02 11:19:39 -08:00
Daniel Beer cf5b7f3399 Handle non-standard baud rates in sport_open().
This should allow the use of the Olimex MSP430-JTAG-ISO on Windows (and
other platforms, if handling is implemented).
2012-02-29 16:59:41 +13:00