Commit Graph

103 Commits

Author SHA1 Message Date
Tamas TEVESZ b91614b0d1 Fix compilation on FreeBSD. 2012-10-25 08:51:34 +13:00
Unai Uribarri Rodriguez 0bb6f901d5 Adds console simio device class
The console simio device class shows in the logs and or console
any byte written to its base address.
2012-10-17 08:36:34 +13:00
Daniel Beer e14a578555 Parallel JTAG driver (Linux only for now).
Based on a patch submitted by Peter Bägel <peter@baegel.de>.
2012-10-12 11:33:20 +13:00
Daniel Beer 4db2f9f499 Build fixes for OpenBSD. 2012-10-09 16:52:12 +13:00
Daniel Beer 11446eb0ae Add embedded-mode input module. 2012-10-09 15:42:54 +13:00
Daniel Beer 5714335614 Separate input subsystem and make it a swappable module. 2012-10-09 15:26:25 +13:00
Daniel Beer 18cf2a561f Separate and clean up break handling.
Ctrl+C handling is done in ctrlc.c, and a break condition now persists
until the interactive reader begins to process the next command. The
condition is cleared by calling ctrlc_clear().
2012-10-09 09:55:48 +13:00
Daniel Beer cc5aed4c6d Power history support.
This adds a "power" command which can be used to dump power history
samples gathered by the device driver.
2012-10-03 16:29:55 +13:00
Daniel Beer 1973746d33 New chip identification database for Olimex debuggers.
The devicelist table maps chip ID bytes to an enum of devicetype_t. A
separate table provides configuration data for each value of
devicetype_t.

Original patch submitted by Stanimir Bonev <bonev_st@abv.bg>.
2012-10-03 13:41:59 +13:00
Daniel Beer 15bfda5b6d Split FET constructors from core methods.
Constructors and device class definitions are now contained in fet.c.
The methods which implement the device interface are in fet_core.c, and
these are independent of how the device object is constructed.
2012-09-18 11:17:55 +12:00
Daniel Beer 1ac9f30024 Separate FET packet parser from driver. 2012-09-13 15:49:19 +12:00
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