Commit Graph

35 Commits

Author SHA1 Message Date
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 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
Ingo van Lil c66e885899 Support for flashing or verifying raw binary files. 2012-08-30 09:16:24 +12:00
Daniel Beer 213c892a00 Version 0.20 2012-08-14 17:24:17 +12:00
Daniel Beer 907ef86156 Added "fill" command. 2012-08-09 16:07:05 +12:00
Daniel Beer 886fbd59c9 Probe chip ID bytes on startup. 2012-08-09 15:33:56 +12:00
Daniel Beer 65d15ef680 Added "verify" command. 2012-07-18 14:03:55 +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
Peter A. Bigot 7c04f72397 Accept default length for dis above 64 kiB boundary
Same fix as applied for md in 27f56783.
2012-06-28 09:49:41 +12:00
Daniel Beer 3517710455 Fix GDB breakpoint support. 2012-04-30 08:52:12 +12:00
Daniel Beer 09ca20c91c Add support for read and write watchpoints. 2012-04-25 14:10:26 +12:00
Daniel Beer a2ee047cc0 Add watchpoint support to GDB server.
Only read/write watchpoints are supported (set with the "awatch"
GDB command).
2012-04-25 13:31:18 +12:00
Daniel Beer a354116441 Watchpoint support (only implemented for tilib driver). 2012-04-25 12:43:14 +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 355948af16 Revert "reader: flush stdout between commands."
This reverts commit 2a55daf304.
2012-02-25 08:26:04 +13:00
Daniel Beer 2a55daf304 reader: flush stdout between commands.
This is neccessary when communicating with the msp430eclipse plugin. It
issues a command to start the gdb server and waits for a response
before continuing.
2012-02-25 08:13:02 +13:00
Daniel Beer f4de94bd46 Show summary after successful programming.
Also, treat failure to reset afterwards as a warning, rather than a
fatal error.
2011-12-27 12:58:28 +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 66368cef12 gdb: add support for qfThreadInfo
Sends back an empty thread list, which seems to silence Eclipse CDT.
There is probably no need to implement qsThreadInfo and qL.
2011-11-28 11:05:07 +13:00
Tamas TEVESZ e014e4c6d5 Modernise decl styles 2011-11-16 08:42:45 +13:00
Tamas TEVESZ d98d990752 Kill unused variables
Mark those that are unused but can't be killed accordingly.
2011-11-15 09:26:35 +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 18e3fbac74 Display section names when programming.
The binfile extraction and programming code is now aware of section
names when dealing with ELF32 files. The names are displayed when
programming, and chunks in different sections aren't combined, even if
they're contiguous.
2011-10-12 13:52:56 +13:00
Peter A. Bigot 27f56783ef Accept default length for md above 64 kiB boundary
Only truncate when a read without a length would cross from low to high
memory.
2011-10-12 09:04:08 +13:00
Daniel Beer 53e28ea8fb Restructuring: moved user interface code to ui/ 2011-09-14 16:22:01 +12:00