aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-07-24OpenOCD commands w/prefix ocd_ now set the primary Tcl return value instead ↵oharboe
of messing with ocd_output local variable. Much more straightforward and expected behaviour. The side effect is that the ocd_xxx commands will print output twice(once immediately and once upon completion of command). This is a strange, expected and intentional behaviour. git-svn-id: svn://svn.berlios.de/openocd/trunk@871 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24more error message cleanup. invalid args & syntax errors both now print ↵oharboe
arguments of command. git-svn-id: svn://svn.berlios.de/openocd/trunk@870 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24take path to eCos files from environment variableoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@869 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24retire daemon_startupoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@868 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24allow jtag minidriver access to cmd_queue_cur_state for jtag_add_pathmove()oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@867 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24Better handling of OpenOCD command invocation result/context.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@866 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24wait 500ms for target to halt upon connect.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@865 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23- comment about dummy ack '+' char from gdbntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@864 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23- fix typo in jtag_add_end_statentfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@863 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23- fix typontfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@862 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23fix <memory> is missing upon gdb connect warning when no flash is defined ↵oharboe
for target. git-svn-id: svn://svn.berlios.de/openocd/trunk@861 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23handle end of line comments to improve compatibility with event scriptsoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@860 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23- more fixes to high density stm32x flash driverntfreak
- updated copyright for original author git-svn-id: svn://svn.berlios.de/openocd/trunk@859 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22- fix bug with stm32 high density write protectionntfreak
git-svn-id: svn://svn.berlios.de/openocd/trunk@858 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22Spen: startup.tcl cross compile supportoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@856 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22Only print out gobs of information to log when -d3 is enabled.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@855 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22very slightly improved error message for not being able to find scriptsoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@854 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21restart is a per-target actionoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@853 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21Allows config scripts to override handling of 'R'(restart) GDB packet.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@852 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21jim license cleanupoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@851 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21- jtag_khz/speed are now single parameter only. These are usedoharboe
from pre/post_reset event scripts. Adding the second parameter was a mistake seen in retrospect. this gives precise control in post_reset for *when* the post reset speed is set. The pre_reset event was added *after* the second parameter to jtag_khz/speed - the target implementations no longer gets involved in the reset mode scheme. Either they reset a target into a halted mode or not. target_process_reset() detects if the reset halt failed or not. - tcl target event names are now target_N_name. Mainly internal at this early stage, but best to get the naming right now. - added hardcoded reset modes from gdb_server.c. I don't know precisely what these defaults should be or if it should be made configurable. Perhaps some hardcoded defaults will do for now and it can be made configurable later. - bugfix in cortex_m3.c for reset_run_and_xxx? - issue syntax error upon obsolete argument in target command instead of printing message that will surely drown in the log git-svn-id: svn://svn.berlios.de/openocd/trunk@849 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21cross compile fixoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@848 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21use reset init explicitly before "load".oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@847 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21Duane Ellis <openocd@duaneellis.com> stm32 peripherals scriptsoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@846 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21Michael Kurz <michi.kurz@googlemail.com> MX29LV800B non-cfi flash.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@845 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20BUG: prefix to timeout for gdb keep alive packets.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@844 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20- added svn props for newly added filesntfreak
- reformat spaces from non_cfi.[ch] git-svn-id: svn://svn.berlios.de/openocd/trunk@843 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20Duane Ellis <openocd@duaneellis.com> - script commands for stm32oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@842 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20Ben Bodley <ben@teknique.com> non-CFI compliant flash (AMIC A29L800A)oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@841 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20Duane Ellis <openocd@duaneellis.com>oharboe
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
2008-07-20openocd@duaneellis.com fix naming confusion. Use ocd_ prefix for ocd API ↵oharboe
consistently. git-svn-id: svn://svn.berlios.de/openocd/trunk@839 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19throw exception upon syntax error.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@838 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19clarify error message w.r.t. not being able to set breakpointoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@836 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19daemon_startup is now retired in favour of adding "init" and "reset ↵oharboe
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
2008-07-18This allows overriding builtin openocd commands.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@834 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18remove obsolete reset_mode oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@833 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18"reset" without arguments now execute a "reset run".oharboe
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
2008-07-18- remove build warning from keep_aliventfreak
- remove surplus linefeeds git-svn-id: svn://svn.berlios.de/openocd/trunk@831 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18- fix incorrectly registered function openocd_array2memntfreak
- 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
2008-07-18resume is now asynchronousoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@828 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18keep_alive() fix for reset warnings.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@827 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-181. GDB will print cryptic error messages if it is not fed keep-alive packetsoharboe
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
2008-07-18Duane Ellis <openocd@duaneellis.com> more interface files.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@825 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18Charles Hardin <ckhardin@gmail.com> move tcl stuff nearer to where it belongs.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18added missing "reset+load" sequence.oharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@823 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17Charles Hardin <ckhardin@gmail.com> move jim into helperoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@822 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17Charles Hardin ckhardin at gmail.com Instead of stashing the context in a ↵oharboe
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
2008-07-17Collect output from openocd commands into openocd_output local variableoharboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@820 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17Charles Hardin ckhardin at gmail.com oharboe
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
2008-07-17Charles Hardin <ckhardin@gmail.com> and Øyvind Harboeoharboe
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