Commit Graph

34 Commits

Author SHA1 Message Date
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 06f6613442 Version 0.22 2013-07-18 12:23:16 +12:00
Daniel Beer 93faabd5e5 Fix exit code under Cygwin.
Based on patch from Hardy Griech <ntbox@mardys.de>.
2013-06-20 09:11:17 +12:00
Daniel Beer df6f0ec3bc Add --fet-skip-close option.
Supplying this option causes the JTAG close procedure to be skipped
when closing the FET driver.
2013-05-21 15:59:17 +12:00
Daniel Beer 250ce908a1 Print usage message on stdout, not stderr. 2013-05-21 07:54:07 +12:00
Daniel Beer 09c2acbfd6 Search for .mspdebug in current directory first. 2013-04-04 15:53:38 +13:00
Daniel Beer dc3b154ef9 Add -C option for specifying alternative config file. 2013-03-26 10:07:32 +13:00
Daniel Beer 6d8a58c9c2 Use symbolic constants for long arguments. 2013-01-31 13:21:20 +13:00
Daniel Beer 5477cd78d8 Version 0.21 2012-11-26 12:27:48 +13:00
Daniel Beer f52fe6f1d4 Fix non-termination problem in embedded mode (win32).
Embedded mode starts a background thread which, under Windows, prevents
the process from exiting on a return from main(). We explicitly
terminate the process instead of returning.
2012-10-31 08:52:47 +12: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 11446eb0ae Add embedded-mode input module. 2012-10-09 15:42:54 +13:00
Daniel Beer e4a189f177 Add --embedded option and embedded output mode. 2012-10-09 15:41:06 +13:00
Daniel Beer 5714335614 Separate input subsystem and make it a swappable module. 2012-10-09 15:26:25 +13:00
Daniel Beer 41cf65d880 Move namelist function to output_util. 2012-10-09 10:03:10 +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 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 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 213c892a00 Version 0.20 2012-08-14 17:24:17 +12:00
Daniel Beer 886fbd59c9 Probe chip ID bytes on startup. 2012-08-09 15:33:56 +12:00
Daniel Beer 1e36394136 Implemented basic GoodFET support. 2012-07-18 12:26:55 +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 7b69f8c5e8 Version 0.19 2012-03-03 11:56:26 +13:00
Daniel Beer 39b9098b4a Enable full buffering on stdout/stderr.
Now that we explicitly flush on each line, we can enable this to reduce
the number of write() calls.
2012-03-03 11:06:46 +13:00
Daniel Beer 0581e74339 Revert "Use line-buffering on stdout, regardless of the output device."
This reverts commit e5028a4d83.

Line buffering for stdio is not implemented correctly on Windows, and
the _IOLBF option is equivalent to full buffering. Redirecting output
in bash with >& reproduces this problem.
2012-03-02 11:19:39 -08:00
Daniel Beer e5028a4d83 Use line-buffering on stdout, regardless of the output device. 2012-02-25 08:28:40 +13:00
Daniel Beer 711ffbfd1a olimex: fix V2 tty access, and introduce olimex-v1 driver.
The olimex-v1 driver must be used when accessing a V1 device via the
tty interface.
2011-12-26 11:22:04 +13:00
Daniel Beer 82ec966d5e tilib: add --require-fw-update option for forced image loading. 2011-12-14 13:11:29 +13:00
Tamas TEVESZ e014e4c6d5 Modernise decl styles 2011-11-16 08:42:45 +13:00
Daniel Beer 89fe9a2fab Version 0.18 2011-11-08 10:11:49 +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 53e28ea8fb Restructuring: moved user interface code to ui/ 2011-09-14 16:22:01 +12:00
Renamed from main.c (Browse further)