summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Duane Ellis <openocd@duaneellis.com>oharboe2008-07-201-2/+5
| | | | | | | | improve error message in Jim when sourcing a file fails. Previously it did not tell you the CWD Jim was using as its reference point. (Helpful when script filenames are a relative path) git-svn-id: svn://svn.berlios.de/openocd/trunk@840 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* openocd@duaneellis.com fix naming confusion. Use ocd_ prefix for ocd API ↵oharboe2008-07-206-24/+24
| | | | | | consistently. git-svn-id: svn://svn.berlios.de/openocd/trunk@839 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* throw exception upon syntax error.oharboe2008-07-191-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@838 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - updated texi for removed daemon_startup commandntfreak2008-07-191-8/+6
| | | | | | - added info to deprecated/removed commands section git-svn-id: svn://svn.berlios.de/openocd/trunk@837 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* clarify error message w.r.t. not being able to set breakpointoharboe2008-07-191-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@836 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* daemon_startup is now retired in favour of adding "init" and "reset ↵oharboe2008-07-193-27/+4
| | | | | | halt/init/run" to the end of the config file/openocd command line. git-svn-id: svn://svn.berlios.de/openocd/trunk@835 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* This allows overriding builtin openocd commands.oharboe2008-07-181-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@834 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* remove obsolete reset_mode oharboe2008-07-1830-31/+31
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@833 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* "reset" without arguments now execute a "reset run".oharboe2008-07-182-38/+27
| | | | | | the reset mode argument to the target command is deprecated(ignored w/error message). git-svn-id: svn://svn.berlios.de/openocd/trunk@832 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove build warning from keep_aliventfreak2008-07-183-19/+10
| | | | | | - remove surplus linefeeds git-svn-id: svn://svn.berlios.de/openocd/trunk@831 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix incorrectly registered function openocd_array2memntfreak2008-07-1811-579/+502
| | | | | | | | | - removed unused variables - reformatted lpc288x.[ch] - fixed helper/Makefile.am dependencies - add correct svn props to added files git-svn-id: svn://svn.berlios.de/openocd/trunk@829 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* resume is now asynchronousoharboe2008-07-181-18/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@828 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* keep_alive() fix for reset warnings.oharboe2008-07-181-0/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@827 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* 1. GDB will print cryptic error messages if it is not fed keep-alive packetsoharboe2008-07-184-1/+73
| | | | | | | | | | | | | | | | | | within the last 2000ms. To fix this, add keep_alive() if you are spending >1000ms in an algorithm thus holding up the server loop. target_call_timer_callbacks() invokes keep_alive(). 2. post_reset script is now executed at normal JTAG speed and not reset speed. 3. Resume is now synchronous again. Hopefully it will work this time. git-svn-id: svn://svn.berlios.de/openocd/trunk@826 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis <openocd@duaneellis.com> more interface files.oharboe2008-07-182-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@825 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> move tcl stuff nearer to where it belongs.oharboe2008-07-187-592/+563
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added missing "reset+load" sequence.oharboe2008-07-181-0/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@823 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> move jim into helperoharboe2008-07-178-17/+20
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@822 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin ckhardin at gmail.com Instead of stashing the context in a ↵oharboe2008-07-172-26/+64
| | | | | | | | | | | global variable, just use the "context" associated with the interp structure being passed around And fixed the message referring to mem2array in the array2mem function git-svn-id: svn://svn.berlios.de/openocd/trunk@821 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Collect output from openocd commands into openocd_output local variableoharboe2008-07-173-60/+36
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@820 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin ckhardin at gmail.com oharboe2008-07-171-15/+5
| | | | | | | There isn't a real value to the cfg_cmd_ctx since everything should be run thru the initial context created at start. git-svn-id: svn://svn.berlios.de/openocd/trunk@819 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> and Øyvind Harboeoharboe2008-07-178-330/+177
| | | | | | | | | This patch just uses the command.c interface to create tcl commands for the root level commands and avoids a bit of the "TCL" bleed into the rest of the openocd code. Multilevel commands also supported. git-svn-id: svn://svn.berlios.de/openocd/trunk@818 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - reverted resume_target to old behaviourntfreak2008-07-171-19/+0
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@817 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin ckhardin at gmail.com bin2char does not need to be installed ↵oharboe2008-07-171-3/+5
| | | | | | as part of openocd git-svn-id: svn://svn.berlios.de/openocd/trunk@816 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Fixes to \ and / handling for OpenOCDoharboe2008-07-163-32/+26
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@815 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* flash_banks now follow OpenOCD scripting API rulesoharboe2008-07-162-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@814 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* print out jim error message stack trace in expected order(look at any C++ or ↵oharboe2008-07-161-1/+1
| | | | | | Java debugger for instance). git-svn-id: svn://svn.berlios.de/openocd/trunk@813 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* do not print jim tcl error message trace for ERROR_COMMAND_CLOSE_CONNECTIONoharboe2008-07-161-16/+15
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@812 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* print syntax for command upon syntax error.oharboe2008-07-161-0/+13
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@811 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* better error messages for target event scripts.oharboe2008-07-164-40/+20
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@810 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* feeble beginnings for tcl api rules.oharboe2008-07-151-0/+44
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@809 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - stm32 flash driver correctly handles early siliconntfreak2008-07-151-29/+35
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@808 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com>oharboe2008-07-143-13/+34
| | | | | | | | | This evaluates the file at the correct level for the interpreter and the sets and all the globals are then done as expected. added a const to find_file function to avoid typecasting git-svn-id: svn://svn.berlios.de/openocd/trunk@806 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove unused objcopy from configure.inntfreak2008-07-134-33/+28
| | | | | | | | - make sure bin2char is built before openocd - add generated startup_tcl.c to clean list - pass startup_tcl directly to Jim_Eval git-svn-id: svn://svn.berlios.de/openocd/trunk@805 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added svn props for newly added filesntfreak2008-07-131-30/+30
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@804 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin <ckhardin@gmail.com> - hopefully final word on startup.tcl => ↵oharboe2008-07-133-14/+43
| | | | | | c conversion git-svn-id: svn://svn.berlios.de/openocd/trunk@803 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Duane Ellis <openocd@duaneellis.com> fix to tcl putsoharboe2008-07-131-1/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@802 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix issue when building in separate build dirntfreak2008-07-121-3/+3
| | | | | | - Thanks Duane Ellis git-svn-id: svn://svn.berlios.de/openocd/trunk@801 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - remove requirement for file2c.tclntfreak2008-07-126-223/+111
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* testing/*.tcl sample & test codeoharboe2008-07-122-0/+70
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@799 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* testing/*.tcl sample & test codeoharboe2008-07-122-1/+16
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@798 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* help is now implemented in startup.tcl/helpoharboe2008-07-113-83/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@797 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - configure check added for tclshntfreak2008-07-112-2/+10
| | | | | | - startup.c manually added to clean deps git-svn-id: svn://svn.berlios.de/openocd/trunk@796 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* search help text toooharboe2008-07-111-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@795 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Charles Hardin ckhardin at gmail.com oharboe2008-07-113-31/+49
| | | | | | | | | This address the >32 bit problem with drscan also added a check for bypass in the execute since this will manifest itself as a memory corruption when this check helps to debug the problem alot easier git-svn-id: svn://svn.berlios.de/openocd/trunk@794 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* tcl_help prettier output.oharboe2008-07-111-2/+25
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@793 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* work in progress to improve helpoharboe2008-07-115-18/+71
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@792 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - retired variable stuff. oharboe2008-07-1110-410/+108
| | | | | | | | - drscan is now a low level tcl command: execute DR scan <device> <num_bits> <value> <num_bits1> <value2> - removed obsolete partial command text support git-svn-id: svn://svn.berlios.de/openocd/trunk@791 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* .cfg files are now executed as Jim Tcl. Commands that terminate script ↵oharboe2008-07-115-78/+25
| | | | | | w/error message. git-svn-id: svn://svn.berlios.de/openocd/trunk@790 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added svn props for newly added filesntfreak2008-07-111-69/+69
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@789 b42882b7-edfa-0310-969c-e2dbd0fdcd60