Commit Graph

64 Commits

Author SHA1 Message Date
Daniel Beer 0e58358bb1 fet3: driver for eZ-FET debuggers.
This driver is experimental. It supports flash/memory access and basic
CPU control. It doesn't support breakpoints.
2013-09-08 13:41:55 +12: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 06f6613442 Version 0.22 2013-07-18 12:23:16 +12:00
David Carne 8bec81f576 Fix Intel hex ELAR record generation. 2013-07-08 08:38:31 +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 1c0bdccc74 opdb: add option for setting default GDB port. 2013-04-22 10:29:30 +12:00
Daniel Beer 09c2acbfd6 Search for .mspdebug in current directory first. 2013-04-04 15:53:38 +13:00
Daniel Beer 8bed72bb48 help command: add hint for option use. 2013-04-04 15:52:21 +13:00
Daniel Beer 7bb058c7ba Add "erase segrange" for erasing contiguous sets of segments. 2013-03-26 10:19:31 +13:00
Daniel Beer dc3b154ef9 Add -C option for specifying alternative config file. 2013-03-26 10:07:32 +13:00
Daniel Beer 1217d244e6 Remove "locka" command.
This command is useless, because each programming tool configures the
flash control registers before flash operations.
2013-03-10 15:32:19 +13:00
Daniel Beer ad420dbb93 hexout: add proper terminator record. 2013-01-31 15:35:57 +13:00
Daniel Beer 7113fd2e50 disassemble: look only for exact symbol matches for operands. 2013-01-31 15:31:42 +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 d462ab8c3f gdb: allow Ctrl+C to shutdown server. 2012-10-09 11:57:14 +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 0fcd0ae124 Fix stray printf(). 2012-10-09 09:30:16 +13:00
Daniel Beer 7cc1a063be Add "power profile" command to show code hotspots. 2012-10-04 12:52:55 +13:00
Daniel Beer ca6a30b2e7 dis: power consumption annotations. 2012-10-04 12:47:25 +13:00
Daniel Beer 1959b8b895 power: implement CSV export. 2012-10-03 16:44:31 +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 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