oharboe
333499a962
Georg Acher <acher@in.tum.de> implements the buffer flash mode for Spansion flashes. It's basically a clone of the Intel version, just a few details differ
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1017 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-06 06:22:58 +00:00
oharboe
9807a00206
Georg Acher <acher@in.tum.de> corrected TDO sampling
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1016 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-05 19:44:41 +00:00
oharboe
4eda44db36
timeout is now 1000ms instead of trying 100 times.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1015 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-04 07:56:13 +00:00
oharboe
316c9b9698
GDB alive fixes for verify_image
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1014 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-03 13:25:33 +00:00
oharboe
aef29d913f
Duane Ellis: added missing invocation of reset-init
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1013 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 09:53:32 +00:00
oharboe
ebbd959aee
fixed gaffe: disable interrupts reset init script
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1012 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 08:39:25 +00:00
oharboe
5ea46227b0
fixed gaffe: disable interrupts reset init script
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1011 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-01 08:18:27 +00:00
ntfreak
a48ac31dff
- at91sam7.c remove build warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1010 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-29 08:45:52 +00:00
ntfreak
279affdb98
- convert spaces to tabs in at91sam7.[ch]
...
- add missing svn props
git-svn-id: svn://svn.berlios.de/openocd/trunk@1009 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-27 13:00:01 +00:00
oharboe
c90c48b00b
I do not know why this is necessary, but it fixes strange effects
...
(step/resume cause a NMI after reset) on LM3S6918 -- Michael Schwingen
git-svn-id: svn://svn.berlios.de/openocd/trunk@1008 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 18:00:10 +00:00
oharboe
e5408ce0b6
Gheorghe Guran <roatlasro@yahoo.com> redone at91sam7 driver. Old driver source file renamed. The old driver is still invoked by default and the new driver is invoked by using at91sam7_new
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1007 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 17:55:28 +00:00
oharboe
fb7189761d
wip
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1006 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-26 07:58:36 +00:00
oharboe
e127fb3a5a
ZY1000 code
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1005 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-25 14:31:10 +00:00
ntfreak
bdb5fd8c98
- renamed x7926 driver to aduc702x to match other flash drivers
...
- removed c99 types (mingw issues) from aduc driver and cleanup
- updated docs for aduc702x flash driver
git-svn-id: svn://svn.berlios.de/openocd/trunk@995 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 22:15:22 +00:00
oharboe
f9a3c36cf2
fix noise in gdb console when single stepping. Remove printing of log before processing halted event.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@994 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 09:43:31 +00:00
oharboe
7442b26d45
fixed false positives for keep_alive() not being invoked.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@993 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 08:42:13 +00:00
oharboe
a8c2507dbf
"marcel" <M.W.Wijlaars@tue.nl>,
...
I have the ADuC702x flashdriver working again (see attachment). It adds the option to erase and write the ADuC702x flash
git-svn-id: svn://svn.berlios.de/openocd/trunk@992 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-24 08:21:34 +00:00
oharboe
1b84df5be5
put instructions on how to report bugs onto the users radar
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@988 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-21 08:24:23 +00:00
ntfreak
68c598e88d
- added myself to copyright on files i remember adding large contributions for over the years
...
- cleaned up headers to match rest of code
- added missing svn props for previously added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@987 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-20 10:50:53 +00:00
oharboe
d28931c2d4
follow up to keep_alive() fix. process target events before returning from reset procedure.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@986 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 10:53:10 +00:00
oharboe
9b6853bc4c
- Fixed regression introduced in 890 when "fixing warnings" for target_call_timer_callbacks_now().
...
target_call_timer_callbacks_now() did the same as target_call_timer_callbacks().
- Reduced keep_alive()'s job to only deal with GDB keep alive problems.
git-svn-id: svn://svn.berlios.de/openocd/trunk@985 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 07:09:38 +00:00
oharboe
0ae7f962f8
Duane Ellis: target_process_reset is now implemented in tcl. This allows better control from target configuration scripts.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@984 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-12 06:56:00 +00:00
oharboe
2ccb9ed44c
fixed keep_alive fix gaffe introduce in previous commit.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@983 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 12:14:33 +00:00
oharboe
1e8bf255fb
typo fixed.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@982 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 09:21:33 +00:00
oharboe
bc3474b65d
keep_alive now invokes target_call_timer_callbacks_now
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@981 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 07:17:48 +00:00
oharboe
3f57d41114
Duane Ellis, added clock command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@980 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-08 07:07:16 +00:00
oharboe
fa9bbd3828
workaround and comment for problems identified by Michael Schwingen.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@979 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-05 06:52:07 +00:00
oharboe
a0eace708d
s3c2440 OpenMoko target script
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@978 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-04 12:04:47 +00:00
oharboe
a5c4ef92b0
Duane Ellis has made highly non-trivial changes to both the target handling and command system.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@977 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 21:22:20 +00:00
oharboe
5ac8036b7f
Removed target->reset_mode, no longer used
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@976 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 07:24:14 +00:00
oharboe
ef1cfb2394
Duane Ellis: "target as an [tcl] object" feature.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@975 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-09-01 07:20:21 +00:00
oharboe
a5cbe5bd85
comment about slow RTCK
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@972 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-27 06:05:27 +00:00
oharboe
113436df6f
ooops... fixed commit gaffe in previous commit.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@971 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-26 11:40:59 +00:00
oharboe
e5181df1d4
added 1000ms timeout
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@970 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-26 11:30:34 +00:00
oharboe
f5507d8929
do not check checksums in noack case
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@969 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-26 11:29:59 +00:00
oharboe
34d3bfbcf2
RCLK is not supported, return error instead of crashing.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@968 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 16:16:00 +00:00
oharboe
52c0037c4f
STR912 uses RCLK if available
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@967 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 13:18:55 +00:00
oharboe
8044656bf8
fixed bug in arm11 examine code.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@966 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 12:20:50 +00:00
oharboe
7df08fc385
fixed gaffe in last release w/target number.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@965 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 11:30:46 +00:00
oharboe
e9926c60bc
sync with Jim Tcl repository.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@964 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-25 06:50:30 +00:00
oharboe
5506f71625
duane ellis - errno ansi fix
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@963 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-24 18:57:38 +00:00
oharboe
8d73c2a9b0
duan ellis target tcl work in progress
...
converts a number of 'simple string lookup tables' into NVP tables.
These NVP tables will be used by various commands coming in the next patch.
git-svn-id: svn://svn.berlios.de/openocd/trunk@962 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-24 18:20:49 +00:00
oharboe
6abf942bab
Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> fix end of address space flash sector comparision
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@961 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-24 18:09:37 +00:00
ntfreak
a7144a759c
- clear any existing breakpoints/watchpoints when restarting in gdb extended remote mode
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@960 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-23 18:47:42 +00:00
ntfreak
9f6857ae0b
- 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
2008-08-22 19:58:19 +00:00
ntfreak
8abe4c57fa
- fix win32 build issues from previous jim patch
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@958 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-22 12:51:48 +00:00
drath
2feac34e3f
- 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
2008-08-22 12:08:47 +00:00
oharboe
daa58ab296
added gdb timeout handling + error propagation
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@956 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 12:21:53 +00:00
oharboe
906e30248c
lm3s3748 config file
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@955 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 12:20:30 +00:00
oharboe
7155e8067f
lm3s3748 config file
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@954 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 12:20:19 +00:00
oharboe
fe1f475e64
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
2008-08-20 11:51:52 +00:00
oharboe
ae86e921eb
sharpen error propagation a wee bit.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@952 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 11:23:49 +00:00
ntfreak
a3325f1dc4
- 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
2008-08-20 10:51:45 +00:00
oharboe
7e94e2e8b1
Daniel Gimpelevich fix reset halt on feroceon
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@950 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 07:27:24 +00:00
oharboe
c4567145ae
fix BUG: keep_alive() error messages
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@949 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 07:14:45 +00:00
oharboe
e5415575bd
duane ellis: fix warning
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@948 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-20 06:50:00 +00:00
ntfreak
1b500fe12c
- added svn props for newly added files
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@947 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 20:34:36 +00:00
oharboe
b8387ea272
fixed warning
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@946 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 17:25:21 +00:00
oharboe
d8057f6db1
switch to alive_sleep() to avoid gdb timeouts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@945 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-19 16:43:30 +00:00
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
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
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
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
ntfreak
5602648fd0
- added svn props for previously added file
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@894 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-08-06 16:30:59 +00:00
ntfreak
ce16ff901c
- 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
2008-08-06 14:36:37 +00:00
oharboe
09bb073239
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
2008-08-05 14:58:37 +00:00
oharboe
0ca1eb2804
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
2008-08-05 14:38:10 +00:00
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
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
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
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
oharboe
44928321e6
Charles Hardin <ckhardin@gmail.com> and Øyvind Harboe
...
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
2008-07-17 08:34:14 +00:00
ntfreak
6af107855d
- reverted resume_target to old behaviour
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@817 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 07:15:14 +00:00
oharboe
a5914d0152
Charles Hardin ckhardin at gmail.com bin2char does not need to be installed as part of openocd
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@816 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-17 06:21:29 +00:00
oharboe
3287b8661d
Fixes to \ and / handling for OpenOCD
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@815 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 20:20:15 +00:00
oharboe
ffe9257a17
flash_banks now follow OpenOCD scripting API rules
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@814 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 12:44:00 +00:00
oharboe
f806c8deab
print out jim error message stack trace in expected order(look at any C++ or Java debugger for instance).
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@813 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 10:23:16 +00:00
oharboe
cb90c97f33
do not print jim tcl error message trace for ERROR_COMMAND_CLOSE_CONNECTION
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@812 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 10:12:29 +00:00
oharboe
d0eef63f68
print syntax for command upon syntax error.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@811 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 08:49:05 +00:00
oharboe
396d73ad0c
better error messages for target event scripts.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@810 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-16 07:22:17 +00:00
ntfreak
b979c22bcc
- stm32 flash driver correctly handles early silicon
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@808 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-15 10:21:43 +00:00
oharboe
acce2bcccb
Charles Hardin <ckhardin@gmail.com>
...
This evaluates the file at the correct level for the interpreter and the
sets and all the globals are then done as expected.
added a const to find_file function to avoid typecasting
git-svn-id: svn://svn.berlios.de/openocd/trunk@806 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-14 06:34:23 +00:00
ntfreak
696a20fea4
- remove unused objcopy from configure.in
...
- make sure bin2char is built before openocd
- add generated startup_tcl.c to clean list
- pass startup_tcl directly to Jim_Eval
git-svn-id: svn://svn.berlios.de/openocd/trunk@805 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 21:07:14 +00:00
ntfreak
1edd0e6822
- added svn props for newly added files
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@804 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 20:20:58 +00:00
oharboe
766b0ca8ac
Charles Hardin <ckhardin@gmail.com> - hopefully final word on startup.tcl => c conversion
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@803 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 17:31:40 +00:00
oharboe
6956527849
Duane Ellis <openocd@duaneellis.com> fix to tcl puts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@802 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-13 08:25:33 +00:00
ntfreak
de6acb2d36
- fix issue when building in separate build dir
...
- Thanks Duane Ellis
git-svn-id: svn://svn.berlios.de/openocd/trunk@801 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 22:40:49 +00:00
ntfreak
2e832a399a
- remove requirement for file2c.tcl
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 16:25:17 +00:00
oharboe
cebfbfa661
testing/*.tcl sample & test code
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@799 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-12 07:50:17 +00:00
oharboe
173a43ff15
help is now implemented in startup.tcl/help
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@797 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 19:30:54 +00:00
ntfreak
76dec044c0
- configure check added for tclsh
...
- startup.c manually added to clean deps
git-svn-id: svn://svn.berlios.de/openocd/trunk@796 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 18:25:21 +00:00
oharboe
94966bf2e3
search help text too
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@795 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 17:46:17 +00:00
oharboe
b06f254b24
Charles Hardin ckhardin at gmail.com
...
This address the >32 bit problem with drscan
also added a check for bypass in the execute since this will manifest itself
as a memory corruption when this check helps to debug the problem alot easier
git-svn-id: svn://svn.berlios.de/openocd/trunk@794 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 17:40:15 +00:00
oharboe
e04f0142ee
tcl_help prettier output.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@793 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 17:36:36 +00:00
oharboe
69c6f1f7ea
work in progress to improve help
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@792 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 15:07:58 +00:00
oharboe
c5b718f5e8
- retired variable stuff.
...
- drscan is now a low level tcl command:
execute DR scan <device> <num_bits> <value> <num_bits1> <value2>
- removed obsolete partial command text support
git-svn-id: svn://svn.berlios.de/openocd/trunk@791 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 12:17:56 +00:00
oharboe
381f9a2e8a
.cfg files are now executed as Jim Tcl. Commands that terminate script w/error message.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@790 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 09:06:36 +00:00
ntfreak
0f2dfabd3b
- added svn props for newly added files
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@789 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 08:17:31 +00:00
oharboe
348bc74af4
working notes.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@788 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 06:52:33 +00:00
oharboe
efc6063df8
startup.tcl (former commands.tcl) is now embedded into OpenOCD executable.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@787 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-11 06:44:22 +00:00
oharboe
2b3f4fd293
Charles Hardin <ckhardin@gmail.com>
...
Add semantics to support memwrite(32,16,8) with an array2mem command
Move the global up in bits2bytes.tcl so the set puts the value in the global
context.
Add memwrite procs to memory.tcl
git-svn-id: svn://svn.berlios.de/openocd/trunk@786 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 18:47:50 +00:00
oharboe
2858a9f740
- added search paths before running tcl/commands.tcl.
...
- improved error handling for missing tcl/commands.tcl
git-svn-id: svn://svn.berlios.de/openocd/trunk@785 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 18:24:30 +00:00
oharboe
5a2b824b26
fix quoting problem when handling OpenOCD commands.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@784 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 09:22:28 +00:00
oharboe
bfa8c1b321
SEGFAULT fix for syntax error.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@783 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 08:57:35 +00:00
oharboe
313547ddd6
very slight cleanup of flash banks handling.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@782 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-10 06:44:11 +00:00
oharboe
92beb99bf7
improve error messages a little bit.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@781 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 22:19:05 +00:00
ntfreak
0edbe9145c
- adding missing install entry for luminary-libftdi.cfg
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@780 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 19:52:03 +00:00
oharboe
66410d2537
"flash banks" is now implemented in Tcl on top of "flash_banks". openocd_throw prefix is no longer required when executing OpenOCD commands from tcl.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@779 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 15:22:05 +00:00
ntfreak
525de2ed3d
- added luminary libftdi interface config
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@778 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 13:05:46 +00:00
ntfreak
a6a65f17f3
- only check normal resume, not debug resume
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@777 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 12:46:40 +00:00
oharboe
077131854e
added flash_banks low level command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@776 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 11:09:06 +00:00
ntfreak
876297c25c
- target_resume is now synchronous with 5sec timeout
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@775 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-09 10:33:30 +00:00
oharboe
f0f5157e09
tcl regression fixes.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@774 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 16:05:59 +00:00
oharboe
74d4cf8ee3
* src/jim.c: remove bogus return value from if {[expr]} {xx} when
...
{xx} is not run.
git-svn-id: svn://svn.berlios.de/openocd/trunk@773 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 12:05:58 +00:00
ntfreak
6ed75d476e
- removed target_process_events as only used in handle_resume_command and events will be called anyway by poll
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@772 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 11:19:03 +00:00
ntfreak
46b3e72528
- fix pre_resume script not being called
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@771 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 10:49:58 +00:00
ntfreak
31e2500259
- apply correct formatting to openocd.c
...
- Thanks Charles Hardin
git-svn-id: svn://svn.berlios.de/openocd/trunk@770 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-08 08:55:53 +00:00
oharboe
9103bbbcb5
reset event is synonym for post_reset event.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@769 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 21:06:22 +00:00
oharboe
225ac18450
more tcl cleanup.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@768 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 20:02:51 +00:00
oharboe
cfba2f4a79
Duane Ellis <openocd@duaneellis.com>: This simple patch adds precision support to JIM's format command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@767 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 18:57:27 +00:00
ntfreak
994396da59
- command_run_line will only search once for the command, and execute if found
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@766 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 12:19:17 +00:00
oharboe
b31d83c6c7
added pre/postlude fn's for when OpenOCD is sleeping.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-07 08:05:07 +00:00
ntfreak
97c4be68a0
- fix duplicate log entry
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@762 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 23:49:05 +00:00
ntfreak
36cb42a549
- fix typo in memory.tcl
...
- Thanks Charles Hardin
git-svn-id: svn://svn.berlios.de/openocd/trunk@761 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 23:26:31 +00:00
ntfreak
655e4f88a6
- fixed build issues with win32
...
- fixed build warnings for last commit
- set svn props for last commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@760 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 23:22:17 +00:00
oharboe
163bd86071
moving Tcl stuff around slightly.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@759 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 22:03:07 +00:00
oharboe
0bb7c9d109
fix a few compilation problems.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@758 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:56:15 +00:00
oharboe
2b673d0c1e
Charles Hardin <ckhardin@gmail.com> - Tcl Server
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@757 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:33:05 +00:00
oharboe
9a8746de25
Oopss. Forgot to list Duane Ellis <openocd@duaneellis.com> as the author of changes in 755.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@756 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:25:04 +00:00
oharboe
dc796a2091
src/helper/configuration.h
...
- Log output handlers now get a "const char *line"
- Added "const" to parameter.
src/helper/command.c
src/helper/command.h
- New function: 'command_output_text()'
- Log output handlers now get a "const char *line"
src/helper/options.c
- Log output handlers now get a "const char *line"
src/server/telnet_server.c
- DO not transmit NULL bytes via TELNET.
- Log output handlers now get a "const char *line"
src/server/gdb_server.c
- Log output handlers now get a "const char *line"
*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent
previously to the mailing list for TCL users try
src/target/target.c
*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent
previously to the mailing list for TCL users try
src/target/target.h
*** THIS INCLUDES PORTIONS OF A PATCH FROM Oyvind sent
previously to the mailing list for TCL users try
src/openocd.c
- **MAJOR** Work: New TCL/Jim function: mem2array
- **MAJOR** Work: Redirect Tcl/Jim stdio output to remote users.
- Previously: TCL output did not go to GDB.
- Previously: TCL output did not go to TELNET
- Previously: TCL output only goes to control console.
- This fixes that problem.
+ Created callbacks:
+openocd_jim_fwrite()
+openocd_jim_fread()
+openocd_jim_vfprintf()
+openocd_jim_fflush()
+openocd_jim_fgets()
src/Makefile.am
- New TCL files.
- Future note: This should be more automated. As the list of
'tcl' files grows maintaning this list will suck.
src/Jim.c
- ** THIS INCLUDES A PREVIOUS PATCH I SENT EARLIER **
- that impliments many [format] specifies JIM did not support.
- Jim_FormatString() - **MAJOR** work.
- Previously only supported "%s" "%d" and "%c"
- And what support existed had bugs.
- NEW: *MANY* formating parameters are now supported.
- TODO: The "precision" specifier is not supported.
** NEW ** This patch.
- Jim_StringToWide() test if no conversion occured.
- Jim_StringToIndex() test if no conversion occured.
- Jim_StringToDouble() test if no conversion occured.
** NEW ** This Patch. Major Work.
- Previously output from JIM did not get sent to GDB
- Ditto: Output to Telnet session.
- Above items are now fixed - By introducing callbacks
new function pointers in the "interp" structure.
- Helpers that call the callbacks.
- New function: Jim_fprintf()
- New function: Jim_vfprintf()
- New function: Jim_fwrite()
- New function: Jim_fread()
- New function: Jim_fflush()
- New function: Jim_fgets()
By default: the output is to STDIO as previous.
The "openocd.c" - redirects the output as needed.
- Jim_Panic() - Send panic to both STDERR and the interps
specified STDERR output as a 2nd choice.
- Now JIM's "stdin/stdout/stderr" paramters are "void *"
and are no longer "FILE *".
src/Jim.h
- **MAJOR**
- New JIM STDIO callbacks in the "interp" structure.
- change: "stdin/stdout/stderr" are now "void *" cookies.
- New JIM stdio helper functions.
git-svn-id: svn://svn.berlios.de/openocd/trunk@755 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-06 19:17:43 +00:00
ntfreak
71460ba9a5
- added search for libdl
...
- Thanks Charles Hardin
git-svn-id: svn://svn.berlios.de/openocd/trunk@754 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-05 09:57:19 +00:00
ntfreak
2514493bd8
- added svn props for newly added files
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@752 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 17:49:45 +00:00
ntfreak
b36248beb9
- added event scripts for str73x and str75x targets
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@751 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 17:46:41 +00:00
ntfreak
d0bd3b719e
- added jtag_khz to target scripts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@750 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 17:33:46 +00:00
ntfreak
b99b73a368
- fixed line endings with commands.tcl
...
- added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@749 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 16:59:35 +00:00
oharboe
e9488b9ad8
tcl tinkering.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@748 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 14:05:08 +00:00
oharboe
bece2176c0
fix to peek command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@747 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 13:48:16 +00:00
oharboe
002e3fcbdb
added echo command in tcl. Issues a LOG_USER() for the single argument.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@746 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 13:37:34 +00:00
oharboe
d8957cb107
typo
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@745 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 13:26:28 +00:00
oharboe
ef268c96bb
tcl config script example
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@744 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 08:08:29 +00:00
oharboe
71471b07fd
added support for Tcl config scripts on the command line(use .tcl extension).
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@743 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:22:11 +00:00
oharboe
269c6d8385
utility fn.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@742 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:21:31 +00:00
oharboe
e8b16d40f1
ARM11 update. OpenOCD supports starting without being able to talk to the hardware.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@741 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:20:43 +00:00
oharboe
586f8db90f
Valentin Longchamp target script for mx31.cfg
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@740 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 07:09:02 +00:00
oharboe
a521e674cf
Jim Tcl support added
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@739 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 06:31:43 +00:00
ntfreak
4d858f7136
- allocate target_type_t structure for each target, fixes issue when multiple targets of the same type are located on the jtag chain
...
- Thanks Michel Pollet
git-svn-id: svn://svn.berlios.de/openocd/trunk@738 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-02 07:51:41 +00:00
oharboe
731866bd14
wip.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@737 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-28 09:26:48 +00:00
oharboe
7b2a563198
wip
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@736 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-28 08:02:58 +00:00
ntfreak
940e694af6
- added svn props for newly added files
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@734 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 08:16:31 +00:00
oharboe
b754eac35a
hooks to enable experimentation with scripting language support. Reduces patch size, but has no effect on OpenOCD otherwise.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@733 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:58:45 +00:00
oharboe
a78762e786
export find_file function
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@732 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:20:41 +00:00
oharboe
a61fe67b78
David Anders more target lib scripts contributed by
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@731 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:19:37 +00:00
oharboe
0778b69f82
committing to reduce patch size for Tcl experiments. Not in use currently.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@730 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:18:40 +00:00
oharboe
83fc7fcf9b
David Anders: fixes an issue with large block nand flash address where the beginning of the OOB area is always selected instead of the beginning of a page when needed
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@729 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-27 06:13:34 +00:00
oharboe
c5df3ce144
Fixed bogus error message and plugged memory leak for the case when there was no reset script.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@728 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25 19:23:55 +00:00
ntfreak
c152c6a5ed
- fix reset_halt issue with certain arm cores - address not set in embedded ice reg
...
- Thanks Jonas Hörberg
git-svn-id: svn://svn.berlios.de/openocd/trunk@727 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25 16:20:33 +00:00
oharboe
7e36e461a4
added pre/post_reset scripts based on Pieter Conradie's ideas.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@726 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-25 08:47:19 +00:00
ntfreak
e5c315d137
- fix compile errors when _DEBUG_INSTRUCTION_EXECUTION_ is defined
...
- Thanks Simon Qian
git-svn-id: svn://svn.berlios.de/openocd/trunk@725 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-24 09:26:30 +00:00
oharboe
77fd8150ce
Pavel Chromy:
...
- TAP reset without TRST shall be called TLR (stands for test-logic-reset, named after the TAP state it ends is) rather than tms (test-mode-select)
- some comments changed to /* C coding style */
git-svn-id: svn://svn.berlios.de/openocd/trunk@717 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 13:52:15 +00:00
oharboe
46bdbc5dbd
Pavel Chromy:
...
- lower jtag speeds (higher divisor) was used, TDI was not changed on falling TCK edge as it should
- reset signal was release upon any TMS transition, making it impossible to use reset halt
- added khz() and speed_div() functions
git-svn-id: svn://svn.berlios.de/openocd/trunk@716 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 13:50:04 +00:00
oharboe
f27871b240
Pavel Chromy: TAP state changed to TLR when SRST goes active with srst_pulls_trst, as in all other drivers
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@715 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 13:49:54 +00:00
oharboe
5728fdce21
Spen spotted a bug in warning for missing srst_pulls_trst
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@714 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-18 11:58:20 +00:00
ntfreak
681981cc0b
- added missing install entries for eir-sam7se512 target
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@713 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 21:22:39 +00:00
mifi
1c429d9ce7
- added target and event script for the eir-sam7se512 target
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@712 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 19:54:15 +00:00
oharboe
996acf082c
fallback for no implementation of multi word CFI write. Successful codepath not affected.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@711 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 18:44:20 +00:00
oharboe
d52d7f69be
GDB timeout fix. If a script takes a long time and does not produce any output, ping between every command.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@710 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 18:40:31 +00:00
ntfreak
85fc1e06fa
- removed duplicate cortex_m3_register_commands
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@709 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-16 15:02:02 +00:00
ntfreak
5c8ebfbed2
- probe incorrect for high density stm32 flash
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@708 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-11 11:12:24 +00:00
ntfreak
710c1a9ed9
- error message cleanup in jlink driver
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@707 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-10 17:59:10 +00:00
ntfreak
ba8c605da4
- stm32 erase will use mass_erase if all banks selected
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@706 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-06 09:29:21 +00:00
oharboe
c526c43c43
Nicolas Pitre: Feroceon fixes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@705 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-06 06:12:04 +00:00
ntfreak
a532e98176
- erase bank using bank erase rather than each sector
...
- Thanks Fredrik Hederstierna
git-svn-id: svn://svn.berlios.de/openocd/trunk@704 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-05 18:55:55 +00:00
oharboe
24092a5172
Pavel Chromy: TCK returns to zero before state of reset line is changed.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@703 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 17:09:10 +00:00
oharboe
9f8d50bf81
Pavel Chromy: fix logging syntax error + formatting & removing obsolete comments.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@702 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 11:09:41 +00:00
ntfreak
04eecaac4a
- fix jlink accessing incorrect buffer element
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@701 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 09:46:19 +00:00
ntfreak
61933601bb
- luminary, stm32 and str7 flash driver error cleanup
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-04 09:18:42 +00:00
ntfreak
a37e3836e2
- str9 driver remove the duplicate target_free_working_area and reformat spaces to tabs.
...
- lpc2000 driver reorder function so as to not require goto, plus refornat spaces to tabs.
git-svn-id: svn://svn.berlios.de/openocd/trunk@699 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-03 19:36:42 +00:00
oharboe
3727a2103a
Fredrik Hederstierna: fix leak + clean up return codes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@698 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-03 10:21:47 +00:00
oharboe
32310efe1a
Fredrik Hederstierna: fix leak + clean up return codes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@697 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-06-03 09:46:32 +00:00
ntfreak
17d52af2a4
- added checksum_memory and blank_check_memory for xscale
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@696 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-29 18:27:00 +00:00
ntfreak
2117ed3feb
- stellaris flash driver changed warning to info
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@695 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-28 21:26:23 +00:00
ntfreak
938e01d0c3
- moved flash erase_check target code to target.c
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@694 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 21:23:47 +00:00
ntfreak
506ca886c4
flash_write will attempt to pad image sections
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@693 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 18:40:28 +00:00
ntfreak
222b5c179a
- fixed typo in wp command
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@692 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 17:57:41 +00:00
ntfreak
586e9e4ef1
- fix issue if jlink sends result in single usb in packet
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@691 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-27 16:21:05 +00:00
mifi
923fdc6ff6
- added check for max. value of jtag_speed in ft2232_khz.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@690 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 17:59:26 +00:00
mifi
bfc0ac58f8
- renamed EMU_CMD_HW_JTAG to EMU_CMD_HW_JTAG3
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@689 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 17:32:15 +00:00
oharboe
c45984f93e
found out why str912 reset halt failed.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@688 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 12:12:03 +00:00
oharboe
e0d6a125c4
clock 1/0 in idle now configurable.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@687 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 11:46:05 +00:00
ntfreak
6945fb26c8
- corrected error with stm32 page calculation
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@686 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-26 11:04:20 +00:00
mifi
3a11ebf860
- changed some buffer defines to increase performance
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@685 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-25 08:18:21 +00:00
mifi
2952c426dd
- comment out usb_set_altinterface, because it is not working under Mac OS X.
...
And not needed for Windows. Hopefully it will not break a Linux build.
git-svn-id: svn://svn.berlios.de/openocd/trunk@684 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 15:40:32 +00:00
ntfreak
0cd5c07a2d
- added stellaris flash mass_erase command
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@682 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-05-24 14:49:45 +00:00