oharboe
ea0270e38e
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
2008-08-19 16:42:58 +00:00
oharboe
6af4a22689
better polling debug_level 3 handling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@943 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 16:41:59 +00:00
oharboe
d34e01f51d
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
2008-08-19 16:40:35 +00:00
oharboe
dc33cb668d
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
2008-08-19 13:55:14 +00:00
oharboe
0960cbeedd
added some alive_sleep()'s
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@940 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 13:53:43 +00:00
oharboe
000f17c137
use alive_sleep() from sleep command
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@939 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 12:18:00 +00:00
oharboe
8d0e3395a0
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
2008-08-19 12:17:31 +00:00
oharboe
91b6460671
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
2008-08-19 11:56:45 +00:00
oharboe
bbe7110f42
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
2008-08-19 11:49:48 +00:00
oharboe
5227c98f3f
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
2008-08-19 11:48:46 +00:00
oharboe
93d6339926
fix comment w.r.t. start address for RAM
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@934 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 10:22:05 +00:00
oharboe
4e0bad8679
fixed error handling in flash bank.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@933 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 10:03:35 +00:00
oharboe
6e4680fc26
removed a couple of exit()'s from error handling.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@932 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 09:31:51 +00:00
oharboe
66ef0cee51
added wip imx31.cfg file
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@931 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 09:20:36 +00:00
oharboe
6bfad873ed
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
2008-08-19 06:25:23 +00:00
oharboe
835cfb82c9
Johannes Stezenbach <js@sig21.net> fix warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@929 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-18 18:27:09 +00:00
oharboe
29ecdd1e90
more error propagation
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@928 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-18 17:11:43 +00:00
oharboe
d1356149f0
added error handling to avoid false error messages.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@927 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-18 17:07:56 +00:00
oharboe
20feb0431a
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
2008-08-18 07:23:54 +00:00
oharboe
330cf5a6bb
fixed not halted error messages
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@925 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-17 19:40:17 +00:00
oharboe
c1683a55bc
deleted superfluous sam7s256 which was identical to sam7x256
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@924 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-17 19:32:44 +00:00
oharboe
8ca8313c43
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
2008-08-17 19:17:24 +00:00
oharboe
71f4a6e0a6
removed obsolete command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@922 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-15 14:59:03 +00:00
oharboe
fb27b7f840
feroceon updated w.r.t. latest arm7/9 changes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@921 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-14 14:44:10 +00:00
oharboe
6954dc7239
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
2008-08-14 14:35:55 +00:00
oharboe
e762857203
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
2008-08-14 13:42:56 +00:00
oharboe
a42f85fe9a
documentation wip for upcoming patch.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@918 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-14 13:41:14 +00:00
oharboe
8858bf41de
removed old comment
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@917 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 21:30:29 +00:00
oharboe
88d11f9b88
force lpc2148 target into ARM state.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@916 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 21:18:00 +00:00
oharboe
20ff917e29
gdb_breakpoint_override comments
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@915 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 21:08:14 +00:00
oharboe
ba315ca440
added global gdb breakpoint override configuration command
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@914 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 20:42:07 +00:00
oharboe
c20eaea249
comments.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@913 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 15:12:26 +00:00
oharboe
a71ca65c53
Clear all dangling breakpoints upon GDB connection.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@912 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 15:05:15 +00:00
oharboe
fbb46cfaff
fix warning.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@911 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 14:41:23 +00:00
oharboe
b38f2bb60e
return halted signal if step/continue fails
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@910 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-13 12:21:57 +00:00
oharboe
48f57b6746
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
2008-08-13 12:13:18 +00:00
oharboe
bb36f541dd
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
2008-08-11 13:36:56 +00:00
oharboe
b565b391bc
updated syntax for post_reset scripts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@907 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 12:28:38 +00:00
oharboe
c45225dd11
propagate error code in case of "reset" failing.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@906 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 10:31:13 +00:00
oharboe
1ee637287e
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
2008-08-11 10:30:36 +00:00
oharboe
47ae48bff7
fix error message
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@904 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 10:10:40 +00:00
oharboe
7e02ebfd62
place event loop inside #ifdef JIM_EMBEDDED.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@903 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-11 08:27:04 +00:00
ntfreak
53e1f9cd0f
- fix build issues under win32 (mingw)
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@902 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-08 18:15:55 +00:00
oharboe
dc63c051a8
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
2008-08-08 14:34:35 +00:00
oharboe
bd85f16e39
default reset in help text - run
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@900 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-08 08:37:41 +00:00
ntfreak
1d5623919b
- added svn props for newly added files
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@899 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 18:42:14 +00:00
oharboe
c76b0618d7
David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.c
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 16:37:20 +00:00
oharboe
2cec23fc37
lpc2148 2MHz, RCLK and clockless config script versions
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@897 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 16:35:26 +00:00
ntfreak
33682ec49a
- correct BUILD_ECOSBOARD definition is server.c
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@896 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-07 16:13:54 +00:00
ntfreak
d203582a89
- remove Jim_InitEmbedded warning
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@895 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-06 19:49:10 +00:00