Commit Graph

92 Commits

Author SHA1 Message Date
Daniel Beer 837e1d8e00 Replace "olimex_iso" transport with generic "ftdi".
Constructor now takes arguments for vendor/product IDs and baud rate.
2012-09-13 14:53:30 +12:00
Daniel Beer 1392cea7e1 Replace "uif" transport with generic "comport".
The new transport accepts an arbitrary baud rate instead of a
device-type enum.
2012-09-13 14:33:04 +12:00
Daniel Beer 162d1bc951 Separate Olimex transports and drivers.
The "olimex" transport has been divided into "cp210x" and "cdc_acm",
each of which take a specific vendor/product combination in their
constructor. Support for the MSP430-JTAG-ISO-MK2 has been moved into its
own driver instance.
2012-09-13 14:14:59 +12:00
Daniel Beer 6037c12291 Add support for Olimex firmware updates. 2012-09-11 14:35:31 +12:00
Daniel Beer d844adf828 Separate transports from drivers.
The transport/ subdirectory now contains implementations of the
transport_t interface, which has been expanded to include flush and
set_modem operations.
2012-09-10 14:22:00 +12:00
Ingo van Lil c66e885899 Support for flashing or verifying raw binary files. 2012-08-30 09:16:24 +12:00
Daniel Beer 1e36394136 Implemented basic GoodFET support. 2012-07-18 12:26:55 +12:00
Ingo van Lil 3cc5f47304 Support for demangling of C++ symbol names. 2012-07-16 10:02:06 +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 902c2903c3 Add raw USB driver for Olimex MSP430-JTAG-ISO. 2012-03-02 12:13:11 +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 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