Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Beer b2185061b7 Supress debug chatter in quiet mode. 2013-10-26 09:59:48 +13:00
Tamas TEVESZ 35df9ed67a Add missing stdlib.h for malloc/free. 2013-10-10 12:02:45 +13:00
Daniel Beer d3b57a5cd7 New driver: load-bsl.
This driver supports the USB bootstrap loader. An initial version query
is performed on startup. If the running loader is not sufficiently
featureful, a software image for an upgraded BSL is loaded into the
chip's RAM and executed.
2013-07-18 14:03:29 +12:00
Daniel Beer b407fca15e transport: modify interface to support disappearing devices. 2013-07-18 13:56:26 +12:00
Daniel Beer 947f72e5ea cp210x: handle 0 return from usb_bulk_read().
This fixes a problem with the Olimex MSP430-JTAG-TINY v1, reported by
Hardy Griech on mspgcc-users.
2013-05-07 08:08:33 +12:00
Daniel Beer 29f6ceefa5 cp210x: fix incorrect clock value.
This was causing the olimex-v1 driver to fail with raw USB access.
2013-01-17 10:19:20 +13:00
Daniel Beer 9f72d296dc Fix incorrect initialization of transports. 2012-11-29 07:55:36 +13:00
Priit Laes 5c9648fb23 transport: fix memleaks in error paths 2012-10-27 13:00:34 +13:00
Daniel Beer 1de9e43187 Better Olimex compatibility.
Timeouts have been increased to 30 seconds. Reset is not sent until
after enabling power.
2012-09-28 06:37:32 +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 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