Commit Graph

84 Commits

Author SHA1 Message Date
zcsahok 1bfb30ab59 ui/devcmd.c: move free(path) after usage 2016-04-20 17:44:21 +02:00
zcsahok 0513b770de ui/devcmd.c: fix path in error text 2016-04-19 18:45:03 +02:00
Ingo van Lil 0a56e916a7 Tab completion with readline. 2016-01-25 20:36:03 +01:00
Ingo van Lil 20252e36ac Persistent history with readline. 2016-01-25 20:34:05 +01:00
Ingo van Lil 811567a7bf Separate input drivers for GNU readline and plain console input. 2016-01-25 01:15:37 +01:00
Daniel Beer a643a2e833 devcmd: "step N" now checks for breakpoints after each step. 2016-01-09 11:51:59 +13:00
Daniel Beer 89e6174b9f Show triggered breakpoints (and watchpoints in sim).
The "regs" command indicates when the PC is sitting on an enabled
breakpoint. The simulator emits debug output when a watchpoint is
triggered by a simulated instruction.
2015-12-11 08:38:42 +13:00
zcsahok f5f881bc33 added optional common chip identification 2015-10-21 08:20:15 +02:00
Daniel Beer 235a4fce45 flatfile: fix handling of zero-length files. 2015-07-16 13:14:54 +12:00
Daniel Beer 5e47033700 ui/input_async.c: fix synchronization scheme.
We now have entirely separate channels for each direction of
communication between the producer and consumer, rather than having the
two sides share a single state machine.
2015-05-20 09:37:18 +12:00
Daniel Beer 3294192804 prog/load: fix argument parsing (treat quotes correctly). 2015-04-22 12:02:10 +12:00
Daniel Beer e6345b1238 Version 0.23 2015-03-02 10:12:03 +13:00
Jan Willeke 1be4ed0679 gpio driver Add gpio driver interface.
Signed-off-by: Jan Willeke <willeke@smartmote.de>
2015-02-04 12:48:30 +13:00
Paolo Zebelloni c0d3fbe21a BSL entry via GPIO toggling. 2014-12-15 09:06:30 +13:00
Daniel Beer bb63112025 gdb: fix compatibility with msp430-elf-gdb.
The new GDB expects 32-bit register fields, whereas msp430-gdb expected
16-bit fields. We distinguish between the two by looking at the list of
supported features on connection.
2014-05-01 09:07:07 +12:00
Daniel Beer d2f8592124 rom_bsl: ROM bootstrap loader driver. 2014-04-17 15:58:16 +12:00
Daniel Beer 4417bf82a7 flash_bsl: allow specification of custom entry/exit sequences. 2014-04-02 12:39:01 +13:00
Tamas TEVESZ a8922dcc0e Add MSP430.dll version as macros to chipinfo.db
Report the version of MSP430.dll that was used to generate
chipinfo.db in info texts.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-12 13:10:44 +13:00
Tamas TEVESZ 47065b685b New command: ! (drop to shell)
Adds a new command, !, that drops to an interactive OS shell, or
(optionally) executes specified commands using the OS shell.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-11 11:47:36 +13:00
Daniel Beer 5c1805ff2b JTAG fuse blow: add "blow_jtag_fuse" command.
Support exists for this command on FET-like devices (including Olimex)
and the tilib driver.
2013-12-03 07:27:32 +13:00
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