Commit Graph

23 Commits

Author SHA1 Message Date
Emmanuel Blot 2d5bafe3fc Code cleanup 2017-04-26 16:24:28 +02:00
Emmanuel Blot 2bedf39532 Proper serial number management to select USB device 2017-04-26 13:04:34 +02:00
Emmanuel Blot 95dd38b52a Replace libusb with hidapi on macOS
macOS won't let libusb access the RF2500 HID device, but hidapi does.
2017-04-25 19:30:17 +02:00
Emmanuel Blot 587dbf1516 Duplicate RF2500 transport for HIDAPI backend 2017-04-25 19:06:38 +02:00
Daniel Beer 1f77d74803 Windows compatibility fixes.
Supplied and tested by Patrick Dussud <phdussud@hotmail.com>.
2016-12-21 09:57:23 +13:00
Hiroki Mori 68df54a813 add copyright 2016-11-26 19:15:48 +09:00
Hiroki Mori 8ed70680f9 cleanup 2016-11-26 19:06:28 +09:00
Hiroki Mori f96b0cb73d Use Mac OS X HID Interface at BSL 2016-11-26 19:03:41 +09:00
Daniel Beer 9472dd46a9 Add support for OpenIndiana.
Based on changes suggested by Reginald Beardsley <pulaskite@yahoo.com>.
2014-07-05 10:35:07 +12:00
Daniel Beer 2c7df22f4a Fix build errors on Windows. 2014-03-08 17:55:07 +13:00
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