aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-05Improve stellaris.c erase argument parsing.Zachary T Welch
2009-11-05Improve pic32mx.c command argument parsing.Zachary T Welch
2009-11-05Improve mflash.c command argument parsing.Zachary T Welch
2009-11-05Improve lpc3180_nand_controller.c parsing.Zachary T Welch
This fixes a memory leak in lpc3180_nand_device_command by reordering the malloc to occur after all parsing has completed.
2009-11-05Improve lpc2900.c command argument parsing.Zachary T Welch
2009-11-05Improve lpc288x.c command argument parsing.Zachary T Welch
2009-11-05Improve lpc2000.c command argument parsing.Zachary T Welch
2009-11-05Improve cfi.c command argument parsing.Zachary T Welch
2009-11-05Improve avrf.c command argument parsing.Zachary T Welch
2009-11-05Improve orion_nand.c command argument parsing.Zachary T Welch
2009-11-05Improve davinci_nand.c command argument parsing.Zachary T Welch
2009-11-05Improve at91sam7.c command argument parsing.Zachary T Welch
2009-11-05Improve at91sam3.c command argument parsing.Zachary T Welch
2009-11-05Improve nand.c command argument parsing.Zachary T Welch
2009-11-05Improve flash.c command argument parsing.Zachary T Welch
2009-11-05Add Flash/NAND bank command argument helpers.Zachary T Welch
This eliminates redundant code for parsing and retreiving the bank specified from a script command argument. This patch was written to replace existing functionality; however, the parsing logic can be updated later to allow flash commands to accept bank names as well as their numbers.
2009-11-05Improve ETM tracemode update command.Zachary T Welch
2009-11-05Improve etm command argument parsing.Zachary T Welch
2009-11-05Improve trace command argument parsing.Zachary T Welch
2009-11-05Improve arm_adi_v5 command argument parsing.Zachary T Welch
2009-11-05Improve cortex_m3 command argument parsing.Zachary T Welch
2009-11-05Improve xscale command argument parsing.Zachary T Welch
2009-11-05Improve arm11 command argument parsing.Zachary T Welch
2009-11-05Improve arm966e command argument parsing.Zachary T Welch
2009-11-05Improve arm926ejs command argument parsing.Zachary T Welch
2009-11-05Improve arm920t command argument parsing.Zachary T Welch
2009-11-05Improve arm720t command argument parsing.Zachary T Welch
2009-11-05Improve arm7_9_common command argument parsing.Zachary T Welch
2009-11-05Improve armv7m command argument parsing.Zachary T Welch
2009-11-05Improve armv7a command argument parsing.Zachary T Welch
2009-11-05Improve armv4_5 command argument parsing.Zachary T Welch
2009-11-05Improve xscale command argument parsing.Zachary T Welch
2009-11-05Improve pld command argument parsing.Zachary T Welch
2009-11-05Update all server port command to use new helper.Zachary T Welch
2009-11-05Add server port command helper function.Zachary T Welch
2009-11-05Improve target.c command argument parsing.Zachary T Welch
Passes cmd_ctx into parse_load_image_command_args for reporting the parsing errors therein.
2009-11-05Improve jtag command argument parsing.Zachary T Welch
2009-11-05Improve debug_level command argument parsing.Zachary T Welch
2009-11-05Add macro for parsing numeric command arguments.Zachary T Welch
This helper eliminates significant amount of redundant code in command handler functions throughout the system. It wraps the lower-level parse_* macros to implement a policy for reporting parse errors to the active command context (cmd_ctx). If errors do occur, this macro causes the calling function to abort with the proper return code.
2009-11-05Add stringify macros in src/helper/types.h.Zachary T Welch
2009-11-05arm920t: add mrcmcr interface fn's.Øyvind Harboe
The arm920t has a concept of read modify write cycles that may have to be represented in the mrcmcr interface eventually. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05arm11: check if target is halted before executing mrc/mcr commands.Øyvind Harboe
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05target: fix ordering of arguments to mcr and mrc commandsØyvind Harboe
Now matches machine code syntax and old arm11 syntax. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05target: check args to mrc/mcr.Øyvind Harboe
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05ARM11: added mrc/mcr support to arm11 code.Øyvind Harboe
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05TODO: Wrote up list of remaining tasks for target->type->mrc/mcrØyvind Harboe
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05target: Only register mrc mcr commands when one of the targets support them.Øyvind Harboe
This avoids polluting help for targets that can never support mrc/mcr Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05cortex_a8: add mrc mcr interface.Øyvind Harboe
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05User's Guide: TAP setup tweakageDavid Brownell
Highlight that the "-expected-id" probably comes from vendor documentation, and that it *should* be used where possible. Don't use ircapture/irmask in examples, to help discourage use of those params when they're not required. Explain a bit better about why/when those params get used. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05watchpoint_add() cleanupDavid Brownell
Fail watchpoint_add() if it's the same address but the parameters are different ... don't just assume having the same address means the same watchpoint! (Note that overlapping watchpoints aren't detected...) Handle unrecognized return codes more sanely; don't exit()! And describe command params right. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>