Commit Graph

82 Commits

Author SHA1 Message Date
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 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 69a5593fe4 Added portable dynamic loader interface.
Not yet tested on Win32.
2011-10-14 12:12:14 +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 9e42c1e6f4 Fix build errors on Win32. 2011-09-19 04:04:08 +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 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
Jasper Lievisse Adriaanse 9563fc2683 Allow CC to be overriden, as needed for some packaging systems. 2011-08-25 08:16:34 +12:00
Jasper Lievisse Adriaanse 1560547a0d Remove explicit linking with libelf for OpenBSD.
This isn't needed anymore since commit eee0bc.
2011-08-02 09:31:45 +12:00
Daniel Beer 5084d0d925 Fix missing CFLAGS for readline support. 2011-07-27 23:17:34 +12:00
Daniel Beer 935cd1bdff win32: sockets abstraction layer with cancellable blocking IO. 2011-07-27 04:38:54 +12:00
Daniel Beer a81043a656 Now compiling with MinGW.
- implemented Win32 serial IO
  - added Winsock init/exit
  - added missing strsep()
  - minor API fixups
2011-07-27 01:23:16 +12:00
Daniel Beer b8dd765a5b sport: serial IO abstraction layer. 2011-07-27 11:26:02 +12:00
Daniel Beer 57d5ea34d5 Implemented GDB client driver. 2011-06-06 15:51:38 +12:00
Daniel Beer f3a8df82f9 Extracted GDB remote protocol implementation. 2011-06-06 13:50:50 +12:00
Daniel Beer f6ecf7bd56 Implemented command aliases. 2011-04-04 17:09:11 +12:00
Jasper Lievisse Adriaanse 82d580898c On OpenBSD libreadline needs to be linked with -ltermcap. 2011-04-04 08:32:30 +12:00
Daniel Beer 2f99793914 simio: implemented GPIO simulation. 2011-03-11 14:51:39 +13:00
Daniel Beer 5bd737616d simio: implemented hardware multiplier simulation. 2011-03-11 13:49:07 +13:00
Daniel Beer f9488ec417 simio: implemented Watchdog Timer+ simulation. 2011-03-11 13:18:03 +13:00
Daniel Beer c5686b70cf simio: implemented Timer_A. 2011-03-10 16:42:52 +13:00
Daniel Beer 1cf7385364 simio: implemented tracer peripheral. 2011-03-10 11:57:06 +13:00
Daniel Beer 5f40c55f4e simio: added "simio" command and device/CPU interfaces. 2011-03-10 10:48:59 +13:00
Jasper Lievisse Adriaanse 6939f2c90e Adjust email address, make CC overridable again. 2010-12-07 09:24:25 +13:00
Jasper Lievisse Adriaanse 837c020277 Make tweaking CFLAGS/LDFLAGS porting infrastructure agnostic. 2010-12-06 12:31:54 +13:00
Andrew Armenia 89520c052e initial version of flash_bsl driver
This driver allows mspdebug to talk to the bootloader on a flash MSP430
via a serial port. DTR and RTS lines are used to control the TEST and
RST# pins on the MSP430, respectively. Currently, read and program are
supported. However, read is fairly useless because the driver currently
does not support any password other than the default. Thus it must
mass-erase the chip to gain access.

Read that again. USING THIS DRIVER WILL MASS ERASE YOUR CHIP IMMEDIATELY,
WITHOUT YOU ASKING FOR IT.
2010-09-23 13:35:33 +12:00
Daniel Beer 479b0b2a9f Align flash writes to word boundaries.
The FET silently drops flash memory write requests which are not
address or length aligned to a word boundary.

Based on a patch by Sören Höckner <soeren.hoeckner@gmx.de>.
2010-09-10 12:52:47 +12:00
Robert Spanton 5a13bc1f27 Allow CC to be modified for build
This means that, when cross-compiling mspdebug, one doesn't have to
hack up the Makefile.  Just set CC in the environment.
2010-09-10 09:18:53 +12:00
Till Maas d240fe0994 Move stripping from install to LDFLAGS.
This allows to easily build and install an unstripped binary, e.g. for Fedora
where stripping is performed by the build system to store the removed
information in a debuginfo subpackage.
2010-08-20 10:44:13 +12:00
Daniel Beer 9a4ef8a909 Simplified command reader. 2010-08-13 16:40:58 +12:00
Daniel Beer 071769f88c Separated standard commands. 2010-08-13 16:14:52 +12:00
Daniel Beer 6dd1ab25c3 Separated command database. 2010-08-13 16:06:23 +12:00
Daniel Beer e834241e90 Separated and simplified output processing. 2010-08-13 15:45:08 +12:00
Daniel Beer 984ffe6e88 Separate option database. 2010-08-13 15:14:15 +12:00
Daniel Beer dae8f2dc61 Added support for COFF file format. 2010-07-29 16:27:54 +12:00
Daniel Beer 3f6d8f91ad Moved breakpoint table into device base structure.
Breakpoints only ever change by debugger control, so there's no point
having a device-dependent "getbrk" method. Breakpoint update need only
be done before starting the device running.
2010-07-27 13:08:21 +12:00
Daniel Beer db0406d75d Added support for S19 file format. 2010-07-12 16:36:01 +12:00
Will Ross 6863609a13 Automatically include MacPorts flags when compiling on OS/X. 2010-07-12 15:55:03 +12:00
Daniel Beer 7f6b1ba826 Added support for TI text format. 2010-07-09 14:28:27 +12:00
Till Maas c293d479a3 Makefile: support DESTDIR variable in install 2010-07-03 11:12:42 +12:00
Daniel Beer 4824ab7750 Added support for multiple instances of USB devices. 2010-06-28 15:47:50 +12:00