oharboe
161deacc06
take path to eCos files from environment variable
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@869 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 13:49:56 +00:00
oharboe
8fa479b6e6
retire daemon_startup
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@868 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 10:17:42 +00:00
oharboe
b2dbb07f27
allow jtag minidriver access to cmd_queue_cur_state for jtag_add_pathmove()
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@867 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 10:17:12 +00:00
oharboe
91a16a3810
Better handling of OpenOCD command invocation result/context.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@866 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 10:16:44 +00:00
oharboe
06d501a192
wait 500ms for target to halt upon connect.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@865 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 06:07:55 +00:00
ntfreak
1c92ff6a04
- comment about dummy ack '+' char from gdb
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@864 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 22:24:02 +00:00
ntfreak
65b4c4117d
- fix typo in jtag_add_end_state
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@863 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 21:31:43 +00:00
ntfreak
bf58fe6509
- fix typo
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@862 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 20:18:56 +00:00
oharboe
a332b4e8c4
fix <memory> is missing upon gdb connect warning when no flash is defined for target.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@861 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 19:03:16 +00:00
oharboe
2637bbccaf
handle end of line comments to improve compatibility with event scripts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@860 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 16:04:45 +00:00
ntfreak
be00c7d0c4
- more fixes to high density stm32x flash driver
...
- updated copyright for original author
git-svn-id: svn://svn.berlios.de/openocd/trunk@859 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-23 14:49:41 +00:00
ntfreak
dad28d0659
- fix bug with stm32 high density write protection
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@858 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 14:30:52 +00:00
ntfreak
c77b785505
- add missing quotes from CFLAGS_FOR_BUILD
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@857 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 11:18:28 +00:00
oharboe
7ccfcdea0b
Spen: startup.tcl cross compile support
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@856 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 11:06:09 +00:00
oharboe
6e5416106e
Only print out gobs of information to log when -d3 is enabled.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@855 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 09:04:21 +00:00
oharboe
81bf9c6255
very slightly improved error message for not being able to find scripts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@854 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-22 08:58:44 +00:00
oharboe
d0f32d0ed5
restart is a per-target action
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@853 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 18:24:43 +00:00
oharboe
fa33b32903
Allows config scripts to override handling of 'R'(restart) GDB packet.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@852 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 18:06:36 +00:00
oharboe
25b0e4e0d5
jim license cleanup
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@851 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 16:13:11 +00:00
oharboe
265e4e121a
update jtag_speed/khz docs a bit.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@850 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 16:03:15 +00:00
oharboe
dfbb9f3e89
- jtag_khz/speed are now single parameter only. These are used
...
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-21 15:59:41 +00:00
oharboe
c1ee650a9a
cross compile fix
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@848 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 13:23:59 +00:00
oharboe
c4c1776a09
use reset init explicitly before "load".
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@847 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 10:16:14 +00:00
oharboe
25572d2e48
Duane Ellis <openocd@duaneellis.com> stm32 peripherals scripts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@846 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 09:25:51 +00:00
oharboe
97cc3e0dc8
Michael Kurz <michi.kurz@googlemail.com> MX29LV800B non-cfi flash.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@845 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-21 09:16:10 +00:00
oharboe
495f257980
BUG: prefix to timeout for gdb keep alive packets.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@844 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 18:26:08 +00:00
ntfreak
2341c99e20
- added svn props for newly added files
...
- reformat spaces from non_cfi.[ch]
git-svn-id: svn://svn.berlios.de/openocd/trunk@843 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 17:29:59 +00:00
oharboe
94efc64709
Duane Ellis <openocd@duaneellis.com> - script commands for stm32
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@842 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 17:13:08 +00:00
oharboe
577972a51d
Ben Bodley <ben@teknique.com> non-CFI compliant flash (AMIC A29L800A)
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@841 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 17:08:18 +00:00
oharboe
dbd6cede00
Duane Ellis <openocd@duaneellis.com>
...
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-20 17:06:30 +00:00
oharboe
6c0553c8c5
openocd@duaneellis.com fix naming confusion. Use ocd_ prefix for ocd API consistently.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@839 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-20 17:04:58 +00:00
oharboe
42501f0ef0
throw exception upon syntax error.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@838 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19 10:37:41 +00:00
ntfreak
b78f488d63
- updated texi for removed daemon_startup command
...
- added info to deprecated/removed commands section
git-svn-id: svn://svn.berlios.de/openocd/trunk@837 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19 09:31:54 +00:00
oharboe
e852c61bb3
clarify error message w.r.t. not being able to set breakpoint
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@836 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-19 08:11:48 +00:00
oharboe
2cac9c333f
daemon_startup is now retired in favour of adding "init" and "reset 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-19 08:04:32 +00:00
oharboe
310300261b
This allows overriding builtin openocd commands.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@834 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 16:25:15 +00:00
oharboe
2249f58946
remove obsolete reset_mode
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@833 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 14:51:19 +00:00
oharboe
35e84a2a25
"reset" without arguments now execute a "reset run".
...
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 14:43:29 +00:00
ntfreak
2c3f0ebae9
- remove build warning from keep_alive
...
- remove surplus linefeeds
git-svn-id: svn://svn.berlios.de/openocd/trunk@831 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 13:31:37 +00:00
ntfreak
60ba4476df
- fix incorrectly registered function openocd_array2mem
...
- 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-18 11:38:23 +00:00
oharboe
722fcb8d61
resume is now asynchronous
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@828 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 11:18:35 +00:00
oharboe
0470a9652b
keep_alive() fix for reset warnings.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@827 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 10:50:51 +00:00
oharboe
94e75e0c06
1. GDB will print cryptic error messages if it is not fed keep-alive packets
...
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-18 10:20:10 +00:00
oharboe
7648d6b287
Duane Ellis <openocd@duaneellis.com> more interface files.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@825 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 06:32:08 +00:00
oharboe
679592d42e
Charles Hardin <ckhardin@gmail.com> move tcl stuff nearer to where it belongs.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 06:24:57 +00:00
oharboe
b504e11abe
added missing "reset+load" sequence.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@823 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-18 06:02:16 +00:00
oharboe
8a14a72f57
Charles Hardin <ckhardin@gmail.com> move jim into helper
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@822 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 17:34:53 +00:00
oharboe
0ebb33b185
Charles Hardin ckhardin at gmail.com Instead of stashing the context in a 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-17 17:31:07 +00:00
oharboe
5fefa83d07
Collect output from openocd commands into openocd_output local variable
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@820 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 12:02:55 +00:00
oharboe
5a3712072f
Charles Hardin ckhardin at gmail.com
...
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-17 08:39:06 +00:00