Commit Graph

124 Commits

Author SHA1 Message Date
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
Peter Jansen 9dd216e604 Support for MSP-JTAG-TINY via USB bus (CP2102). 2010-06-28 10:36:25 +12:00
Daniel Beer 7703c34664 Further modifications for OS/X.
Don't rely on install -D, and define B460800 before using it if
compiling on OS/X.
2010-05-26 11:17:45 +12:00
Daniel Beer 0481083b0f Removed Device ID database. 2010-05-19 11:33:06 +12:00
Daniel Beer bb46bd958e Implemented FET message database. 2010-05-19 11:08:41 +12:00
Daniel Beer d9e42457f5 Unified binfile interface. 2010-05-15 15:13:58 +12:00
Daniel Beer fab96c725d BSL now shows descriptive errors returned by FET. 2010-05-15 13:44:46 +12:00
Daniel Beer c84f2ab579 Modifications to compile on Cygwin. 2010-05-13 16:45:38 +12:00
Robert Spanton e547106e0a Create missing directories on install. 2010-05-12 09:54:51 +12:00
Robert Spanton 8abc4bbf8f Remove -o root from install commands.
Incompatible with packaging requirements.
2010-05-12 09:54:43 +12:00
Daniel Beer 2794165dee Separated address expression parsing. 2010-05-01 17:54:10 +12:00
Daniel Beer ba6e3366ff Command processor is now an object. 2010-04-21 16:56:56 +12:00
Daniel Beer 8655a64ef2 Implemented vector data structure. 2010-04-21 11:19:07 +12:00
Daniel Beer 8758d8bc28 Separated parsing from util. 2010-04-10 15:02:14 +12:00
Daniel Beer 7e309acdc5 Separated device commands. 2010-04-10 14:35:36 +12:00
Daniel Beer a52ab171f3 Separated symbol commands from symbol table. 2010-04-10 14:00:00 +12:00
Daniel Beer 757a9fb799 Implemented isearch command. 2010-04-08 13:15:30 +12:00
Daniel Beer ceb78ff053 Commands are now registered by each module. 2010-03-31 19:36:53 +13:00
Daniel Beer 01e26ce3a8 Merged parse.[ch] into util.[ch]. 2010-03-30 15:54:03 +13:00
Daniel Beer 9d83386048 Implemented colorize disassembly. 2010-03-30 15:47:12 +13:00
Daniel Beer 0871041787 Implemented B+Tree symbol table. 2010-03-27 22:50:02 +13:00
Daniel Beer 2fa53d6e9d Added readline support. 2010-03-23 15:49:33 +13:00
Daniel Beer 39a4c5806b Implemented basic gdb support.
Tested only with simulation mode -- real devices need testing.
2010-03-22 19:12:51 +13:00
Daniel Beer fe01853335 Added manual page. 2010-03-18 14:02:05 +13:00
Daniel Beer 67b041ef7a Implemented support for *.map files. 2010-03-13 13:41:39 +13:00
Daniel Beer 5a84cbf7f5 Basic simulation implementation (memory IO only). 2010-01-09 16:20:47 +13:00
Daniel Beer b20a7a5576 Fix up copyright messages. 2010-01-08 21:17:24 +13:00
Daniel Beer 1baa04a565 Implemented FET bootloader support (memory read only). 2010-01-08 18:39:07 +13:00
Daniel Beer 0f15fd3e21 Move utilities into separate file. 2010-01-08 18:15:30 +13:00
Daniel Beer 9da932aeb7 Basic symbol table manipulation and query. 2010-01-06 00:09:08 +13:00
Daniel Beer 1d3b4f3f81 Added ELF support, made all buffers u_int8_t. 2010-01-05 17:21:45 +13:00
Daniel Beer 3e0f736e1d Implemented UIF support (untested).
RF2500 support is tested and still working.
2009-11-17 15:11:46 +13:00
Daniel Beer 22955480b0 Separated subsystems and tidied up code. 2009-11-17 12:52:10 +13:00