Commit Graph

548 Commits

Author SHA1 Message Date
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
Daniel Beer 68f968a637 sport: accept baud rates as a plain integer instead of a B* constant.
Integer baud rates are converted to B* constants in the implementation.
2012-02-29 16:29:00 +13:00
Daniel Beer 25da331e21 olimex: fix usbtr_recv.
Partial sends need to skip the sent portion of the buffer before
retrying.
2012-02-29 16:08:26 +13:00
Daniel Beer bdce08a84a ti3410: bug fixes for USB send/receive.
Send was not skipping buffer position on partial writes. Receive should
not return unless data is available (or a timeout occurs).
2012-02-29 16:04:44 +13:00
Daniel Beer e5028a4d83 Use line-buffering on stdout, regardless of the output device. 2012-02-25 08:28:40 +13:00
Daniel Beer 355948af16 Revert "reader: flush stdout between commands."
This reverts commit 2a55daf304.
2012-02-25 08:26:04 +13:00
Daniel Beer 2a55daf304 reader: flush stdout between commands.
This is neccessary when communicating with the msp430eclipse plugin. It
issues a command to start the gdb server and waits for a response
before continuing.
2012-02-25 08:13:02 +13:00
Daniel Beer d621ad7050 fet: always reset on startup with olimex driver.
The latest v2 MSP430-JTAG-TINY devices need a reset to be issued on
startup.
2012-02-24 10:41:57 +13:00
Daniel Beer 7bf79f4508 Add support for MSP430F2418.
Data supplied by Márton Miklós <martonmiklosqdev@gmail.com>.
2012-01-07 10:01:52 +13:00
Nick Nobody b21b611962 Add support for MSP430F5329. 2012-01-06 09:20:17 +13:00
Wayne Uroda ceaad88279 Added missing define for B115200 on WIN32 platform 2012-01-04 15:24:51 +13:00
Daniel Beer f4de94bd46 Show summary after successful programming.
Also, treat failure to reset afterwards as a warning, rather than a
fatal error.
2011-12-27 12:58:28 +13:00
Daniel Beer 711ffbfd1a olimex: fix V2 tty access, and introduce olimex-v1 driver.
The olimex-v1 driver must be used when accessing a V1 device via the
tty interface.
2011-12-26 11:22:04 +13:00
Daniel Beer f501ab0843 olimex: fix V2 startup errors.
Configuring modem control lines and baud rate is only required for V1
devices.
2011-12-26 11:09:13 +13:00
Daniel Beer c425c497e8 Added support for MSP430F5342. 2011-12-21 09:20:42 +13:00
Daniel Beer 82ec966d5e tilib: add --require-fw-update option for forced image loading. 2011-12-14 13:11:29 +13:00
Daniel Beer 805b022a68 uif-bsl: attempt BSL access even if FET firmware is non-operational. 2011-12-14 13:11:02 +13:00
Tamas TEVESZ 66368cef12 gdb: add support for qfThreadInfo
Sends back an empty thread list, which seems to silence Eclipse CDT.
There is probably no need to implement qsThreadInfo and qL.
2011-11-28 11:05:07 +13:00
Daniel Beer 6060b8d1b0 Fix TI library structure definitions: int32_t -> LONG. 2011-11-16 13:45:27 +13:00
Tamas TEVESZ e014e4c6d5 Modernise decl styles 2011-11-16 08:42:45 +13:00
Tamas TEVESZ d98d990752 Kill unused variables
Mark those that are unused but can't be killed accordingly.
2011-11-15 09:26:35 +13:00
Tamas TEVESZ b77a482d7d Kill unneeded include. 2011-11-14 11:47:14 +13:00
Tamas TEVESZ 033ef33c3f Stramline Olimex error handling
- Make open_interface() fail if any part of the device setup fails
- Make debug messages indicate which control message they belong to
2011-11-14 08:40:01 +13:00