Commit Graph

24 Commits

Author SHA1 Message Date
Triss 39a44095eb ui/devcmd: make sure the 'total size' argument for the 'erase' command makes sense 2022-07-31 19:23:24 +02:00
Tadashi G. Takaoka 25959448ab Fix repeated disassemble
- An odd disassemble length is rounded up to the next even length.
- A repeated disassemble starts from the next possible instrunction address.
2018-07-16 21:31:35 -07:00
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
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
Daniel Beer 3294192804 prog/load: fix argument parsing (treat quotes correctly). 2015-04-22 12:02:10 +12: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
David Carne 8bec81f576 Fix Intel hex ELAR record generation. 2013-07-08 08:38:31 +12:00
Daniel Beer 7bb058c7ba Add "erase segrange" for erasing contiguous sets of segments. 2013-03-26 10:19:31 +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 ca6a30b2e7 dis: power consumption annotations. 2012-10-04 12:47:25 +13:00
Daniel Beer 907ef86156 Added "fill" command. 2012-08-09 16:07:05 +12:00
Daniel Beer 65d15ef680 Added "verify" command. 2012-07-18 14:03:55 +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 09ca20c91c Add support for read and write watchpoints. 2012-04-25 14:10:26 +12:00
Daniel Beer a354116441 Watchpoint support (only implemented for tilib driver). 2012-04-25 12:43:14 +12: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
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 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
Renamed from devcmd.c (Browse further)