oharboe
f370d70670
Duane Ellis: fix warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 12:27:18 +00:00
oharboe
20f505f695
halting srst_pulls_trst targets is now snappier and has explicit warning.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@889 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 10:50:10 +00:00
oharboe
1829361253
define resetting the target into the halted or running
...
state as an atomic operation.
git-svn-id: svn://svn.berlios.de/openocd/trunk@888 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 07:11:12 +00:00
oharboe
3a48961820
moves handling of problems with resetting into the halted state
...
into the target implementation.
Also target_process_reset() is now simpler and has error handling,
e.g. if assert reset fails, then target_process_reset() will propagate
that error.
cmd_ctx was passed in to examine(), which is wrong - removed that.
git-svn-id: svn://svn.berlios.de/openocd/trunk@887 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-05 06:18:26 +00:00
oharboe
e4729b3b7a
TAP_TLR won't work in a pathmove sequence. OpenOCD shouldn't and doesn't need to support this.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@886 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-04 06:54:58 +00:00
oharboe
54916e30bb
The reset routine now works w/LPC2148 out of the box.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@885 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-01 11:43:01 +00:00
oharboe
75ba7397b2
wait up to 1 second for halted state upon reset init/halt.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@884 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-31 15:52:01 +00:00
oharboe
5021560ca0
wip - committing to reduce patch size.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@883 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-31 09:25:38 +00:00
oharboe
7991286814
warning output upon connection problems.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@882 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-30 05:56:53 +00:00
oharboe
984dd0635c
more jtag_examine() checks. catch errors during first 640 bits.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@881 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-29 14:58:04 +00:00
ntfreak
530057a846
- added run_and_halt_time to deprecated/removed functions section
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@880 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-28 21:01:24 +00:00
oharboe
db7c3810c2
allow minidrivers to implement inner loop of dcc memory writes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@879 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-28 14:37:38 +00:00
oharboe
0f18744a87
fixed gaffe mea culpa
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@878 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-28 14:25:03 +00:00
oharboe
e2b6de3d66
retired reset run_and_init/halt
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@877 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-28 06:08:05 +00:00
oharboe
9244c600b0
working notes.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@876 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-27 09:05:35 +00:00
oharboe
b82a189c4e
add check for target_read/write_buffer 32 bit wrap.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@875 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-26 19:12:30 +00:00
ntfreak
53590217ee
- merged mips target into svn trunk
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@874 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-26 10:32:11 +00:00
oharboe
6f0000e5ce
minimum address and maximum length argument to load_image. Used in lieu of reset init script when executable w/reset init sequence is available.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@873 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-25 14:09:00 +00:00
oharboe
526fe3d83e
added yours sincerely for files where I feel that I've made non-trivial contributions.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@872 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-25 06:54:17 +00:00
oharboe
1ac48e7500
OpenOCD commands w/prefix ocd_ now set the primary Tcl return value instead 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-24 20:46:15 +00:00
oharboe
74eb754abc
more error message cleanup. invalid args & syntax errors both now print arguments of command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@870 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-24 14:50:41 +00:00
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