Commit Graph

453 Commits

Author SHA1 Message Date
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
Tamas TEVESZ 2fe1580843 Kill "unsigned op 0" comparisons
- simio/simio.c, simio/simio_gpio.c, simio_timer.c, simio_tracer.c, util/dis.c

Kill unused variables

 - util/expr.c, util/output_util.c
2011-11-13 16:46:33 +13:00
Daniel Beer 89fe9a2fab Version 0.18 2011-11-08 10:11:49 +13:00
Tamas TEVESZ 591a7eba9b Tweak Makefile for readability. 2011-11-01 08:29:56 +13:00
Tamas TEVESZ aa81a59538 FreeBSD doesn't need -ldl. 2011-10-31 11:02:46 +13:00
Daniel Beer d451c384e7 Fix linking on OpenBSD (-ldl is not required). 2011-10-25 10:43:17 +13:00
Daniel Beer 83048f233f Link with -ldl on non-Windows systems. 2011-10-22 10:03:06 +13:00
Jasper Lievisse Adriaanse 87b1e66c27 OpenBSD needs -pthread for correct pthread linking. 2011-10-19 11:52:39 +13:00
Daniel Beer 8e4df67ff5 dynload: fix Win32 build warning. 2011-10-18 00:42:01 +13:00
Daniel Beer 6aff28e07a Added entry on tilib driver to manual. 2011-10-18 12:28:09 +13:00
Daniel Beer e724c19a26 tilib: breakpoints are now working. 2011-10-18 12:24:44 +13:00
Daniel Beer 000816adbd tilib: fetch breakpoint counts and device ID via library API. 2011-10-18 11:55:21 +13:00
Daniel Beer d610f6471a tilib: fixed hangs and crashes on startup/exit. 2011-10-18 11:28:53 +13:00
Daniel Beer f18b0c188b Added TI library driver (experimental).
Memory/register read, single-step, run and halt are working.
Breakpoints aren't working, and programming hasn't been tested.
2011-10-14 12:49:04 +13:00
Daniel Beer 90eeb0d23e Added necessary definitions for TI library API. 2011-10-14 12:48:38 +13:00
Daniel Beer 69a5593fe4 Added portable dynamic loader interface.
Not yet tested on Win32.
2011-10-14 12:12:14 +13:00
Daniel Beer 57999b3790 Added portable mutex wrapper. 2011-10-14 12:10:48 +13:00
Daniel Beer 18e3fbac74 Display section names when programming.
The binfile extraction and programming code is now aware of section
names when dealing with ELF32 files. The names are displayed when
programming, and chunks in different sections aren't combined, even if
they're contiguous.
2011-10-12 13:52:56 +13:00
Peter A. Bigot 27f56783ef Accept default length for md above 64 kiB boundary
Only truncate when a read without a length would cross from low to high
memory.
2011-10-12 09:04:08 +13:00
Daniel Beer f230af2ce9 Added support for MSP430F449. 2011-10-09 19:13:18 +13:00
Tamas TEVESZ 70b2c0fc4b Added support for MSP430F2012. 2011-10-04 19:11:30 +13:00
Jasper Lievisse Adriaanse e595ec24df Use variables for storing certain directories instead of hardcoding them. 2011-10-04 10:31:56 +13:00
Daniel Beer 2528e2a752 expand_tilde: use strdup() instead of malloc()/strcpy().
The OpenBSD linker complains about the reference to strcpy(). Pointed
out by Jasper Lievisse Adriaanse <jasper@openbsd.org>.
2011-10-04 10:28:24 +13:00
Jasper Lievisse Adriaanse 1d1323cabc Make it clear certain commands need to be quoted. 2011-10-01 10:42:12 +13:00
Daniel Beer b3ffff5945 win32: protect access to ctrlc_flag with critical section.
On Windows, console handlers are run in a separate thread, without
actually interrupting the main thread.
2011-09-19 04:33:58 +12:00
Daniel Beer 9e42c1e6f4 Fix build errors on Win32. 2011-09-19 04:04:08 +12:00
Daniel Beer a90a3ae86a sport: allow serial reads to be interrupted with Ctrl+C. 2011-09-19 09:51:19 +12:00
Daniel Beer 92c18f32dc Implemented TI3410 firmware download.
Also added TI3410 firmware image, plus Makefile install rules. Added
notes to manual regarding USB support for FET devices.
2011-09-16 16:09:03 +12:00
Daniel Beer 7de9854661 Implemented TI3410 transport.
This allows direct libusb access to FET430UIF and eZ430 devices. It
doesn't yet implement the initial firmware download required to get
the 3410 working.
2011-09-16 14:40:40 +12:00
Daniel Beer 33ea3aa5e7 Manual: note that RF2500 driver works for Chronos devices. 2011-09-14 16:25:33 +12:00
Daniel Beer 53e28ea8fb Restructuring: moved user interface code to ui/ 2011-09-14 16:22:01 +12:00
Daniel Beer d4fee98904 Restructuring: moved low-level utility code to util/ 2011-09-14 16:19:30 +12:00
Daniel Beer 6ac5c5a618 Restructuring: move drivers into drivers/ 2011-09-14 16:15:37 +12:00
Daniel Beer 7715e45af4 Restructuring: move file format implementations to formats/ 2011-09-14 16:12:03 +12:00
Daniel Beer 7f4fdfb4f2 Restructuring: move IO simulator into simio/ 2011-09-14 16:08:54 +12:00
Daniel Beer 00465dcb33 fet_db: corrected breakpoint counts for various chips.
Information obtained from SLAU157S (Code Composer Studio v4.2 User's
Guide for MSP430), section 2.2.1 (Breakpoint Types). Chips affected
are:

 - MSP430F47197
 - MSP430F2013
 - MSP430G2452
 - MSP430G2231
 - MSP430AFE253
 - MSP430G2252
2011-09-14 11:44:57 +12:00
Daniel Beer 8ffb7551a6 gdb_proto/sockets: gdb_peek() shouldn't fail on poll timeout. 2011-09-13 14:01:43 +12:00
Daniel Beer bc69c3d065 gdbc: check for Ctrl+C portably. 2011-09-13 14:01:15 +12:00
Daniel Beer edf625929c Fix immediate-mode addressing with byte instructions.
Immediate mode is implemented using auto-increment register indexing,
but the advance is always 2 for PC-indexed operands.

Bug introduced in 2aed1b90a4.
2011-09-13 13:36:19 +12:00
Daniel Beer 02c355afe2 gdb_proto: error field is just a flag. 2011-09-13 09:31:56 +12:00
Daniel Beer 185001e017 Remove redundant errno.h includes. 2011-09-13 09:23:44 +12:00
Daniel Beer e81d24b24d Added support for MSP430F2121.
Based on data sent by Grzegorz <as.serce@gmail.com>.
2011-09-08 19:32:23 +12:00
Daniel Beer 7a0a30f626 usb_bulk_read: may return 0 on timeout.
Pointed out by Jasper Lievisse Adriaanse <jasper@openbsd.org>.
2011-09-07 08:18:00 +12:00
Tamas TEVESZ a0ece48e4e Add more error codes from MSP430.dll v3 beta2:
http://processors.wiki.ti.com/index.php/MSP430.dll_v3
2011-09-06 08:54:20 +12:00
Daniel Beer 44ef1d8922 MSP430G2553: Support two hardware breakpoints. 2011-09-05 15:01:34 +12:00
Luca Bruno bada33763f Spelling fixes.
Fixed a couple of typos in manpage via simple s/preceeded/preceded/
subsitution; errors caught by Debian QA checks.

Signed-off-by: Luca Bruno <lucab@debian.org>
2011-09-02 09:09:44 +12:00