fw/openocd
15 years ago- add support for new gdb QStartNoAckMode, which disables sending of ack's between...
ntfreak [Fri, 22 Aug 2008 19:58:19 +0000 (19:58 +0000)]
- add support for new gdb QStartNoAckMode, which disables sending of ack's between remote packets

git-svn-id: svn://svn.berlios.de/openocd/trunk@959 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- fix win32 build issues from previous jim patch
ntfreak [Fri, 22 Aug 2008 12:51:48 +0000 (12:51 +0000)]
- fix win32 build issues from previous jim patch

git-svn-id: svn://svn.berlios.de/openocd/trunk@958 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- fix a off-by-one error in the buffer read/write code that checks for a address...
drath [Fri, 22 Aug 2008 12:08:47 +0000 (12:08 +0000)]
- fix a off-by-one error in the buffer read/write code that checks for a address wrap

git-svn-id: svn://svn.berlios.de/openocd/trunk@957 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoadded gdb timeout handling + error propagation
oharboe [Wed, 20 Aug 2008 12:21:53 +0000 (12:21 +0000)]
added gdb timeout handling + error propagation

git-svn-id: svn://svn.berlios.de/openocd/trunk@956 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agolm3s3748 config file
oharboe [Wed, 20 Aug 2008 12:20:30 +0000 (12:20 +0000)]
lm3s3748 config file

git-svn-id: svn://svn.berlios.de/openocd/trunk@955 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agolm3s3748 config file
oharboe [Wed, 20 Aug 2008 12:20:19 +0000 (12:20 +0000)]
lm3s3748 config file

git-svn-id: svn://svn.berlios.de/openocd/trunk@954 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agocontinue execution even if chain can't be validated. This will, hopefully, give us...
oharboe [Wed, 20 Aug 2008 11:51:52 +0000 (11:51 +0000)]
continue execution even if chain can't be validated. This will, hopefully, give us some more feedback on what's wrong.

git-svn-id: svn://svn.berlios.de/openocd/trunk@953 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agosharpen error propagation a wee bit.
oharboe [Wed, 20 Aug 2008 11:23:49 +0000 (11:23 +0000)]
sharpen error propagation a wee bit.

git-svn-id: svn://svn.berlios.de/openocd/trunk@952 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- added missing parport configs to texi
ntfreak [Wed, 20 Aug 2008 10:51:45 +0000 (10:51 +0000)]
- added missing parport configs to texi
- remove spaces from last patch

git-svn-id: svn://svn.berlios.de/openocd/trunk@951 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoDaniel Gimpelevich fix reset halt on feroceon
oharboe [Wed, 20 Aug 2008 07:27:24 +0000 (07:27 +0000)]
Daniel Gimpelevich fix reset halt on feroceon

git-svn-id: svn://svn.berlios.de/openocd/trunk@950 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofix BUG: keep_alive() error messages
oharboe [Wed, 20 Aug 2008 07:14:45 +0000 (07:14 +0000)]
fix BUG: keep_alive() error messages

git-svn-id: svn://svn.berlios.de/openocd/trunk@949 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoduane ellis: fix warning
oharboe [Wed, 20 Aug 2008 06:50:00 +0000 (06:50 +0000)]
duane ellis: fix warning

git-svn-id: svn://svn.berlios.de/openocd/trunk@948 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- added svn props for newly added files
ntfreak [Tue, 19 Aug 2008 20:34:36 +0000 (20:34 +0000)]
- added svn props for newly added files

git-svn-id: svn://svn.berlios.de/openocd/trunk@947 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofixed warning
oharboe [Tue, 19 Aug 2008 17:25:21 +0000 (17:25 +0000)]
fixed warning

git-svn-id: svn://svn.berlios.de/openocd/trunk@946 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoswitch to alive_sleep() to avoid gdb timeouts
oharboe [Tue, 19 Aug 2008 16:43:30 +0000 (16:43 +0000)]
switch to alive_sleep() to avoid gdb timeouts

git-svn-id: svn://svn.berlios.de/openocd/trunk@945 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agomake target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG...
oharboe [Tue, 19 Aug 2008 16:42:58 +0000 (16:42 +0000)]
make target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG() output. Avoids flooding logs in certain cases and OpenOCD will output error message if the halt fails.

git-svn-id: svn://svn.berlios.de/openocd/trunk@944 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agobetter polling debug_level 3 handling
oharboe [Tue, 19 Aug 2008 16:41:59 +0000 (16:41 +0000)]
better polling debug_level 3 handling

git-svn-id: svn://svn.berlios.de/openocd/trunk@943 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agosearch and replace usleep(1000) with alive_sleep(1) to avoid GDB timeouts.
oharboe [Tue, 19 Aug 2008 16:40:35 +0000 (16:40 +0000)]
search and replace usleep(1000) with alive_sleep(1) to avoid GDB timeouts.

git-svn-id: svn://svn.berlios.de/openocd/trunk@942 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoDANGER: committed work-in-progress to handle examination of jtag devices without...
oharboe [Tue, 19 Aug 2008 13:55:14 +0000 (13:55 +0000)]
DANGER: committed work-in-progress to handle examination of jtag devices without IDCODE. I think this works, but I may have to pull that change out again...

added alive_sleep() to avoid warnings when resetting target(fixes incomprehensible error timeout error messages in GDB).

git-svn-id: svn://svn.berlios.de/openocd/trunk@941 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoadded some alive_sleep()'s
oharboe [Tue, 19 Aug 2008 13:53:43 +0000 (13:53 +0000)]
added some alive_sleep()'s

git-svn-id: svn://svn.berlios.de/openocd/trunk@940 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agouse alive_sleep() from sleep command
oharboe [Tue, 19 Aug 2008 12:18:00 +0000 (12:18 +0000)]
use alive_sleep() from sleep command

git-svn-id: svn://svn.berlios.de/openocd/trunk@939 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoadded alive_sleep() function to let GDB alive packets be sent
oharboe [Tue, 19 Aug 2008 12:17:31 +0000 (12:17 +0000)]
added alive_sleep() function to let GDB alive packets be sent

git-svn-id: svn://svn.berlios.de/openocd/trunk@938 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agotinker with Xscale performance, anti-log spamming is now only for debug_level 3 or...
oharboe [Tue, 19 Aug 2008 11:56:45 +0000 (11:56 +0000)]
tinker with Xscale performance, anti-log spamming is now only for debug_level 3 or more. Otherwise polling is done continously for 1 second.

git-svn-id: svn://svn.berlios.de/openocd/trunk@937 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoduane ellis: (A) a new concept called "Name Value Pair" or NVP, in simple terms:...
oharboe [Tue, 19 Aug 2008 11:49:48 +0000 (11:49 +0000)]
duane ellis: (A) a new concept called "Name Value Pair" or NVP, in simple terms: Think: "String" and "Value". There can be many strings - all related to a single value, for examle: "T", "t", "y", "1", "yes", all can represent "truth", the reverse mapping is more simplistic - the first matching number wins.

(B) a new "getopt" like feature for Jim - that simplifies argument parsing in complex functions, normally this would be used in conjunction with either an NVP table of options, or a more simpler Enumeration  table.  In contrast to the GNU "getopt" package, this is more of a "object model or code oriented" solution then a pure data structure used by GNU getopt, or the main stream Tcl/Tk option processing.

git-svn-id: svn://svn.berlios.de/openocd/trunk@936 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agotinker with Xscale performance. Poll a bit more before sleeping.
oharboe [Tue, 19 Aug 2008 11:48:46 +0000 (11:48 +0000)]
tinker with Xscale performance. Poll a bit more before sleeping.

git-svn-id: svn://svn.berlios.de/openocd/trunk@935 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofix comment w.r.t. start address for RAM
oharboe [Tue, 19 Aug 2008 10:22:05 +0000 (10:22 +0000)]
fix comment w.r.t. start address for RAM

git-svn-id: svn://svn.berlios.de/openocd/trunk@934 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofixed error handling in flash bank.
oharboe [Tue, 19 Aug 2008 10:03:35 +0000 (10:03 +0000)]
fixed error handling in flash bank.

git-svn-id: svn://svn.berlios.de/openocd/trunk@933 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoremoved a couple of exit()'s from error handling.
oharboe [Tue, 19 Aug 2008 09:31:51 +0000 (09:31 +0000)]
removed a couple of exit()'s from error handling.

git-svn-id: svn://svn.berlios.de/openocd/trunk@932 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoadded wip imx31.cfg file
oharboe [Tue, 19 Aug 2008 09:20:36 +0000 (09:20 +0000)]
added wip imx31.cfg file

git-svn-id: svn://svn.berlios.de/openocd/trunk@931 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> one more parport device
oharboe [Tue, 19 Aug 2008 06:25:23 +0000 (06:25 +0000)]
Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> one more parport device

git-svn-id: svn://svn.berlios.de/openocd/trunk@930 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoJohannes Stezenbach <js@sig21.net> fix warnings
oharboe [Mon, 18 Aug 2008 18:27:09 +0000 (18:27 +0000)]
Johannes Stezenbach <js@sig21.net> fix warnings

git-svn-id: svn://svn.berlios.de/openocd/trunk@929 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agomore error propagation
oharboe [Mon, 18 Aug 2008 17:11:43 +0000 (17:11 +0000)]
more error propagation

git-svn-id: svn://svn.berlios.de/openocd/trunk@928 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoadded error handling to avoid false error messages.
oharboe [Mon, 18 Aug 2008 17:07:56 +0000 (17:07 +0000)]
added error handling to avoid false error messages.

git-svn-id: svn://svn.berlios.de/openocd/trunk@927 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoopenocd.texi is the authoratitive source for documentation. Wiki is dead.
oharboe [Mon, 18 Aug 2008 07:23:54 +0000 (07:23 +0000)]
openocd.texi is the authoratitive source for documentation. Wiki is dead.

git-svn-id: svn://svn.berlios.de/openocd/trunk@926 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofixed not halted error messages
oharboe [Sun, 17 Aug 2008 19:40:17 +0000 (19:40 +0000)]
fixed not halted error messages

git-svn-id: svn://svn.berlios.de/openocd/trunk@925 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agodeleted superfluous sam7s256 which was identical to sam7x256
oharboe [Sun, 17 Aug 2008 19:32:44 +0000 (19:32 +0000)]
deleted superfluous sam7s256 which was identical to sam7x256

git-svn-id: svn://svn.berlios.de/openocd/trunk@924 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoRichard <news@muppet.plus.com> fixed bug in padding code
oharboe [Sun, 17 Aug 2008 19:17:24 +0000 (19:17 +0000)]
Richard <news@muppet.plus.com> fixed bug in padding code

git-svn-id: svn://svn.berlios.de/openocd/trunk@923 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoremoved obsolete command.
oharboe [Fri, 15 Aug 2008 14:59:03 +0000 (14:59 +0000)]
removed obsolete command.

git-svn-id: svn://svn.berlios.de/openocd/trunk@922 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoferoceon updated w.r.t. latest arm7/9 changes
oharboe [Thu, 14 Aug 2008 14:44:10 +0000 (14:44 +0000)]
feroceon updated w.r.t. latest arm7/9 changes

git-svn-id: svn://svn.berlios.de/openocd/trunk@921 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoarm7/9 breakpoint cleanup. arm7_9 sw/hw commands retired. openocd.texi is alerady...
oharboe [Thu, 14 Aug 2008 14:35:55 +0000 (14:35 +0000)]
arm7/9 breakpoint cleanup. arm7_9 sw/hw commands retired. openocd.texi is alerady updated.

git-svn-id: svn://svn.berlios.de/openocd/trunk@920 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agotypo spotted by spen. gdb_breakpoint_override not tested yet.
oharboe [Thu, 14 Aug 2008 13:42:56 +0000 (13:42 +0000)]
typo spotted by spen. gdb_breakpoint_override not tested yet.

git-svn-id: svn://svn.berlios.de/openocd/trunk@919 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agodocumentation wip for upcoming patch.
oharboe [Thu, 14 Aug 2008 13:41:14 +0000 (13:41 +0000)]
documentation wip for upcoming patch.

git-svn-id: svn://svn.berlios.de/openocd/trunk@918 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoremoved old comment
oharboe [Wed, 13 Aug 2008 21:30:29 +0000 (21:30 +0000)]
removed old comment

git-svn-id: svn://svn.berlios.de/openocd/trunk@917 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoforce lpc2148 target into ARM state.
oharboe [Wed, 13 Aug 2008 21:18:00 +0000 (21:18 +0000)]
force lpc2148 target into ARM state.

git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agogdb_breakpoint_override comments
oharboe [Wed, 13 Aug 2008 21:08:14 +0000 (21:08 +0000)]
gdb_breakpoint_override comments

git-svn-id: svn://svn.berlios.de/openocd/trunk@915 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoadded global gdb breakpoint override configuration command
oharboe [Wed, 13 Aug 2008 20:42:07 +0000 (20:42 +0000)]
added global gdb breakpoint override configuration command

git-svn-id: svn://svn.berlios.de/openocd/trunk@914 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agocomments.
oharboe [Wed, 13 Aug 2008 15:12:26 +0000 (15:12 +0000)]
comments.

git-svn-id: svn://svn.berlios.de/openocd/trunk@913 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoClear all dangling breakpoints upon GDB connection.
oharboe [Wed, 13 Aug 2008 15:05:15 +0000 (15:05 +0000)]
Clear all dangling breakpoints upon GDB connection.

git-svn-id: svn://svn.berlios.de/openocd/trunk@912 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofix warning.
oharboe [Wed, 13 Aug 2008 14:41:23 +0000 (14:41 +0000)]
fix warning.

git-svn-id: svn://svn.berlios.de/openocd/trunk@911 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoreturn halted signal if step/continue fails
oharboe [Wed, 13 Aug 2008 12:21:57 +0000 (12:21 +0000)]
return halted signal if step/continue fails

git-svn-id: svn://svn.berlios.de/openocd/trunk@910 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoavoid empty lines in log as a keep_alive() sideffect
oharboe [Wed, 13 Aug 2008 12:13:18 +0000 (12:13 +0000)]
avoid empty lines in log as a keep_alive() sideffect

git-svn-id: svn://svn.berlios.de/openocd/trunk@909 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofix output from jtag_khz when only jtag_speed has been invoked
oharboe [Mon, 11 Aug 2008 13:36:56 +0000 (13:36 +0000)]
fix output from jtag_khz when only jtag_speed has been invoked

git-svn-id: svn://svn.berlios.de/openocd/trunk@908 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoupdated syntax for post_reset scripts
oharboe [Mon, 11 Aug 2008 12:28:38 +0000 (12:28 +0000)]
updated syntax for post_reset scripts

git-svn-id: svn://svn.berlios.de/openocd/trunk@907 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agopropagate error code in case of "reset" failing.
oharboe [Mon, 11 Aug 2008 10:31:13 +0000 (10:31 +0000)]
propagate error code in case of "reset" failing.

git-svn-id: svn://svn.berlios.de/openocd/trunk@906 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofix error output a bit: do not repeat output printed during execution in case of...
oharboe [Mon, 11 Aug 2008 10:30:36 +0000 (10:30 +0000)]
fix error output a bit: do not repeat output printed during execution in case of error.

git-svn-id: svn://svn.berlios.de/openocd/trunk@905 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofix error message
oharboe [Mon, 11 Aug 2008 10:10:40 +0000 (10:10 +0000)]
fix error message

git-svn-id: svn://svn.berlios.de/openocd/trunk@904 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoplace event loop inside #ifdef JIM_EMBEDDED.
oharboe [Mon, 11 Aug 2008 08:27:04 +0000 (08:27 +0000)]
place event loop inside #ifdef JIM_EMBEDDED.

git-svn-id: svn://svn.berlios.de/openocd/trunk@903 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- fix build issues under win32 (mingw)
ntfreak [Fri, 8 Aug 2008 18:15:55 +0000 (18:15 +0000)]
- fix build issues under win32 (mingw)

git-svn-id: svn://svn.berlios.de/openocd/trunk@902 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoMichael Schwingen <rincewind@discworld.dascon.de> - add jedec_probe to doc
oharboe [Fri, 8 Aug 2008 14:34:35 +0000 (14:34 +0000)]
Michael Schwingen <rincewind@discworld.dascon.de> - add jedec_probe to doc

git-svn-id: svn://svn.berlios.de/openocd/trunk@901 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agodefault reset in help text - run
oharboe [Fri, 8 Aug 2008 08:37:41 +0000 (08:37 +0000)]
default reset in help text - run

git-svn-id: svn://svn.berlios.de/openocd/trunk@900 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- added svn props for newly added files
ntfreak [Thu, 7 Aug 2008 18:42:14 +0000 (18:42 +0000)]
- added svn props for newly added files

git-svn-id: svn://svn.berlios.de/openocd/trunk@899 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoDavid Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.c
oharboe [Thu, 7 Aug 2008 16:37:20 +0000 (16:37 +0000)]
David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.c

git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agolpc2148 2MHz, RCLK and clockless config script versions
oharboe [Thu, 7 Aug 2008 16:35:26 +0000 (16:35 +0000)]
lpc2148 2MHz, RCLK and clockless config script versions

git-svn-id: svn://svn.berlios.de/openocd/trunk@897 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- correct BUILD_ECOSBOARD definition is server.c
ntfreak [Thu, 7 Aug 2008 16:13:54 +0000 (16:13 +0000)]
- correct BUILD_ECOSBOARD definition is server.c

git-svn-id: svn://svn.berlios.de/openocd/trunk@896 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- remove Jim_InitEmbedded warning
ntfreak [Wed, 6 Aug 2008 19:49:10 +0000 (19:49 +0000)]
- remove Jim_InitEmbedded warning

git-svn-id: svn://svn.berlios.de/openocd/trunk@895 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- added svn props for previously added file
ntfreak [Wed, 6 Aug 2008 16:30:59 +0000 (16:30 +0000)]
- added svn props for previously added file

git-svn-id: svn://svn.berlios.de/openocd/trunk@894 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- fix target_examine declaration
ntfreak [Wed, 6 Aug 2008 14:36:37 +0000 (14:36 +0000)]
- fix target_examine declaration
- remove build warnings
- added --enable-gccwarnings to docs
- update mips_m4k_examine function

git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoGDB monitor commands now also get halted state upon e.g. "reset halt".
oharboe [Tue, 5 Aug 2008 14:58:37 +0000 (14:58 +0000)]
GDB monitor commands now also get halted state upon e.g. "reset halt".

git-svn-id: svn://svn.berlios.de/openocd/trunk@892 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agogaffe in previous commit fixed. "reset run" now works again for arm7/9
oharboe [Tue, 5 Aug 2008 14:38:10 +0000 (14:38 +0000)]
gaffe in previous commit fixed. "reset run" now works again for arm7/9

git-svn-id: svn://svn.berlios.de/openocd/trunk@891 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoDuane Ellis: fix warnings
oharboe [Tue, 5 Aug 2008 12:27:18 +0000 (12:27 +0000)]
Duane Ellis: fix warnings

git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agohalting srst_pulls_trst targets is now snappier and has explicit warning.
oharboe [Tue, 5 Aug 2008 10:50:10 +0000 (10:50 +0000)]
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

15 years agodefine resetting the target into the halted or running
oharboe [Tue, 5 Aug 2008 07:11:12 +0000 (07:11 +0000)]
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

15 years agomoves handling of problems with resetting into the halted state
oharboe [Tue, 5 Aug 2008 06:18:26 +0000 (06:18 +0000)]
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

15 years agoTAP_TLR won't work in a pathmove sequence. OpenOCD shouldn't and doesn't need to...
oharboe [Mon, 4 Aug 2008 06:54:58 +0000 (06:54 +0000)]
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

15 years agoThe reset routine now works w/LPC2148 out of the box.
oharboe [Fri, 1 Aug 2008 11:43:01 +0000 (11:43 +0000)]
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

15 years agowait up to 1 second for halted state upon reset init/halt.
oharboe [Thu, 31 Jul 2008 15:52:01 +0000 (15:52 +0000)]
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

15 years agowip - committing to reduce patch size.
oharboe [Thu, 31 Jul 2008 09:25:38 +0000 (09:25 +0000)]
wip - committing to reduce patch size.

git-svn-id: svn://svn.berlios.de/openocd/trunk@883 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agowarning output upon connection problems.
oharboe [Wed, 30 Jul 2008 05:56:53 +0000 (05:56 +0000)]
warning output upon connection problems.

git-svn-id: svn://svn.berlios.de/openocd/trunk@882 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agomore jtag_examine() checks. catch errors during first 640 bits.
oharboe [Tue, 29 Jul 2008 14:58:04 +0000 (14:58 +0000)]
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

15 years ago- added run_and_halt_time to deprecated/removed functions section
ntfreak [Mon, 28 Jul 2008 21:01:24 +0000 (21:01 +0000)]
- 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

15 years agoallow minidrivers to implement inner loop of dcc memory writes
oharboe [Mon, 28 Jul 2008 14:37:38 +0000 (14:37 +0000)]
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

15 years agofixed gaffe mea culpa
oharboe [Mon, 28 Jul 2008 14:25:03 +0000 (14:25 +0000)]
fixed gaffe mea culpa

git-svn-id: svn://svn.berlios.de/openocd/trunk@878 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoretired reset run_and_init/halt
oharboe [Mon, 28 Jul 2008 06:08:05 +0000 (06:08 +0000)]
retired reset run_and_init/halt

git-svn-id: svn://svn.berlios.de/openocd/trunk@877 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoworking notes.
oharboe [Sun, 27 Jul 2008 09:05:35 +0000 (09:05 +0000)]
working notes.

git-svn-id: svn://svn.berlios.de/openocd/trunk@876 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoadd check for target_read/write_buffer 32 bit wrap.
oharboe [Sat, 26 Jul 2008 19:12:30 +0000 (19:12 +0000)]
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

15 years ago- merged mips target into svn trunk
ntfreak [Sat, 26 Jul 2008 10:32:11 +0000 (10:32 +0000)]
- merged mips target into svn trunk

git-svn-id: svn://svn.berlios.de/openocd/trunk@874 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agominimum address and maximum length argument to load_image. Used in lieu of reset...
oharboe [Fri, 25 Jul 2008 14:09:00 +0000 (14:09 +0000)]
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

15 years agoadded yours sincerely for files where I feel that I've made non-trivial contributions.
oharboe [Fri, 25 Jul 2008 06:54:17 +0000 (06:54 +0000)]
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

15 years agoOpenOCD commands w/prefix ocd_ now set the primary Tcl return value instead of messin...
oharboe [Thu, 24 Jul 2008 20:46:15 +0000 (20:46 +0000)]
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

15 years agomore error message cleanup. invalid args & syntax errors both now print arguments...
oharboe [Thu, 24 Jul 2008 14:50:41 +0000 (14:50 +0000)]
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

15 years agotake path to eCos files from environment variable
oharboe [Thu, 24 Jul 2008 13:49:56 +0000 (13:49 +0000)]
take path to eCos files from environment variable

git-svn-id: svn://svn.berlios.de/openocd/trunk@869 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoretire daemon_startup
oharboe [Thu, 24 Jul 2008 10:17:42 +0000 (10:17 +0000)]
retire daemon_startup

git-svn-id: svn://svn.berlios.de/openocd/trunk@868 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agoallow jtag minidriver access to cmd_queue_cur_state for jtag_add_pathmove()
oharboe [Thu, 24 Jul 2008 10:17:12 +0000 (10:17 +0000)]
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

15 years agoBetter handling of OpenOCD command invocation result/context.
oharboe [Thu, 24 Jul 2008 10:16:44 +0000 (10:16 +0000)]
Better handling of OpenOCD command invocation result/context.

git-svn-id: svn://svn.berlios.de/openocd/trunk@866 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agowait 500ms for target to halt upon connect.
oharboe [Thu, 24 Jul 2008 06:07:55 +0000 (06:07 +0000)]
wait 500ms for target to halt upon connect.

git-svn-id: svn://svn.berlios.de/openocd/trunk@865 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- comment about dummy ack '+' char from gdb
ntfreak [Wed, 23 Jul 2008 22:24:02 +0000 (22:24 +0000)]
- comment about dummy ack '+' char from gdb

git-svn-id: svn://svn.berlios.de/openocd/trunk@864 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- fix typo in jtag_add_end_state
ntfreak [Wed, 23 Jul 2008 21:31:43 +0000 (21:31 +0000)]
- fix typo in jtag_add_end_state

git-svn-id: svn://svn.berlios.de/openocd/trunk@863 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years ago- fix typo
ntfreak [Wed, 23 Jul 2008 20:18:56 +0000 (20:18 +0000)]
- fix typo

git-svn-id: svn://svn.berlios.de/openocd/trunk@862 b42882b7-edfa-0310-969c-e2dbd0fdcd60

15 years agofix <memory> is missing upon gdb connect warning when no flash is defined for target.
oharboe [Wed, 23 Jul 2008 19:03:16 +0000 (19:03 +0000)]
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

15 years agohandle end of line comments to improve compatibility with event scripts
oharboe [Wed, 23 Jul 2008 16:04:45 +0000 (16:04 +0000)]
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