]>
git.sur5r.net Git - openocd/log
oharboe [Wed, 16 Jul 2008 07:22:17 +0000 (07:22 +0000)]
better error messages for target event scripts.
git-svn-id: svn://svn.berlios.de/openocd/trunk@810
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 15 Jul 2008 14:10:13 +0000 (14:10 +0000)]
feeble beginnings for tcl api rules.
git-svn-id: svn://svn.berlios.de/openocd/trunk@809
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Tue, 15 Jul 2008 10:21:43 +0000 (10:21 +0000)]
- stm32 flash driver correctly handles early silicon
git-svn-id: svn://svn.berlios.de/openocd/trunk@808
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 14 Jul 2008 06:34:23 +0000 (06:34 +0000)]
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
ntfreak [Sun, 13 Jul 2008 21:07:14 +0000 (21:07 +0000)]
- 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
ntfreak [Sun, 13 Jul 2008 20:20:58 +0000 (20:20 +0000)]
- added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@804
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 13 Jul 2008 17:31:40 +0000 (17:31 +0000)]
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
oharboe [Sun, 13 Jul 2008 08:25:33 +0000 (08:25 +0000)]
Duane Ellis <openocd@duaneellis.com> fix to tcl puts
git-svn-id: svn://svn.berlios.de/openocd/trunk@802
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Sat, 12 Jul 2008 22:40:49 +0000 (22:40 +0000)]
- 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
ntfreak [Sat, 12 Jul 2008 16:25:17 +0000 (16:25 +0000)]
- remove requirement for file2c.tcl
git-svn-id: svn://svn.berlios.de/openocd/trunk@800
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sat, 12 Jul 2008 07:50:17 +0000 (07:50 +0000)]
testing/*.tcl sample & test code
git-svn-id: svn://svn.berlios.de/openocd/trunk@799
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sat, 12 Jul 2008 07:50:03 +0000 (07:50 +0000)]
testing/*.tcl sample & test code
git-svn-id: svn://svn.berlios.de/openocd/trunk@798
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 11 Jul 2008 19:30:54 +0000 (19:30 +0000)]
help is now implemented in startup.tcl/help
git-svn-id: svn://svn.berlios.de/openocd/trunk@797
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 11 Jul 2008 18:25:21 +0000 (18:25 +0000)]
- 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
oharboe [Fri, 11 Jul 2008 17:46:17 +0000 (17:46 +0000)]
search help text too
git-svn-id: svn://svn.berlios.de/openocd/trunk@795
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 11 Jul 2008 17:40:15 +0000 (17:40 +0000)]
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
oharboe [Fri, 11 Jul 2008 17:36:36 +0000 (17:36 +0000)]
tcl_help prettier output.
git-svn-id: svn://svn.berlios.de/openocd/trunk@793
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 11 Jul 2008 15:07:58 +0000 (15:07 +0000)]
work in progress to improve help
git-svn-id: svn://svn.berlios.de/openocd/trunk@792
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 11 Jul 2008 12:17:56 +0000 (12:17 +0000)]
- 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
oharboe [Fri, 11 Jul 2008 09:06:36 +0000 (09:06 +0000)]
.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
ntfreak [Fri, 11 Jul 2008 08:17:31 +0000 (08:17 +0000)]
- added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@789
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 11 Jul 2008 06:52:33 +0000 (06:52 +0000)]
working notes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@788
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 11 Jul 2008 06:44:22 +0000 (06:44 +0000)]
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
oharboe [Thu, 10 Jul 2008 18:47:50 +0000 (18:47 +0000)]
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
oharboe [Thu, 10 Jul 2008 18:24:30 +0000 (18:24 +0000)]
- 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
oharboe [Thu, 10 Jul 2008 09:22:28 +0000 (09:22 +0000)]
fix quoting problem when handling OpenOCD commands.
git-svn-id: svn://svn.berlios.de/openocd/trunk@784
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 10 Jul 2008 08:57:35 +0000 (08:57 +0000)]
SEGFAULT fix for syntax error.
git-svn-id: svn://svn.berlios.de/openocd/trunk@783
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 10 Jul 2008 06:44:11 +0000 (06:44 +0000)]
very slight cleanup of flash banks handling.
git-svn-id: svn://svn.berlios.de/openocd/trunk@782
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Wed, 9 Jul 2008 22:19:05 +0000 (22:19 +0000)]
improve error messages a little bit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@781
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 9 Jul 2008 19:52:03 +0000 (19:52 +0000)]
- adding missing install entry for luminary-libftdi.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@780
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Wed, 9 Jul 2008 15:22:05 +0000 (15:22 +0000)]
"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
ntfreak [Wed, 9 Jul 2008 13:05:46 +0000 (13:05 +0000)]
- added luminary libftdi interface config
git-svn-id: svn://svn.berlios.de/openocd/trunk@778
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 9 Jul 2008 12:46:40 +0000 (12:46 +0000)]
- only check normal resume, not debug resume
git-svn-id: svn://svn.berlios.de/openocd/trunk@777
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Wed, 9 Jul 2008 11:09:06 +0000 (11:09 +0000)]
added flash_banks low level command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@776
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 9 Jul 2008 10:33:30 +0000 (10:33 +0000)]
- target_resume is now synchronous with 5sec timeout
git-svn-id: svn://svn.berlios.de/openocd/trunk@775
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 8 Jul 2008 16:05:59 +0000 (16:05 +0000)]
tcl regression fixes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@774
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 8 Jul 2008 12:05:58 +0000 (12:05 +0000)]
* 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
ntfreak [Tue, 8 Jul 2008 11:19:03 +0000 (11:19 +0000)]
- 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
ntfreak [Tue, 8 Jul 2008 10:49:58 +0000 (10:49 +0000)]
- fix pre_resume script not being called
git-svn-id: svn://svn.berlios.de/openocd/trunk@771
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Tue, 8 Jul 2008 08:55:53 +0000 (08:55 +0000)]
- apply correct formatting to openocd.c
- Thanks Charles Hardin
git-svn-id: svn://svn.berlios.de/openocd/trunk@770
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 7 Jul 2008 21:06:22 +0000 (21:06 +0000)]
reset event is synonym for post_reset event.
git-svn-id: svn://svn.berlios.de/openocd/trunk@769
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 7 Jul 2008 20:02:51 +0000 (20:02 +0000)]
more tcl cleanup.
git-svn-id: svn://svn.berlios.de/openocd/trunk@768
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 7 Jul 2008 18:57:27 +0000 (18:57 +0000)]
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
ntfreak [Mon, 7 Jul 2008 12:19:17 +0000 (12:19 +0000)]
- 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
oharboe [Mon, 7 Jul 2008 08:05:07 +0000 (08:05 +0000)]
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
oharboe [Mon, 7 Jul 2008 06:36:12 +0000 (06:36 +0000)]
fix syntax error.
git-svn-id: svn://svn.berlios.de/openocd/trunk@764
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 7 Jul 2008 06:29:07 +0000 (06:29 +0000)]
Charles Hardin <ckhardin@gmail.com> Tcl server documentation.
git-svn-id: svn://svn.berlios.de/openocd/trunk@763
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Sun, 6 Jul 2008 23:49:05 +0000 (23:49 +0000)]
- fix duplicate log entry
git-svn-id: svn://svn.berlios.de/openocd/trunk@762
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Sun, 6 Jul 2008 23:26:31 +0000 (23:26 +0000)]
- fix typo in memory.tcl
- Thanks Charles Hardin
git-svn-id: svn://svn.berlios.de/openocd/trunk@761
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Sun, 6 Jul 2008 23:22:17 +0000 (23:22 +0000)]
- 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
oharboe [Sun, 6 Jul 2008 22:03:07 +0000 (22:03 +0000)]
moving Tcl stuff around slightly.
git-svn-id: svn://svn.berlios.de/openocd/trunk@759
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 6 Jul 2008 19:56:15 +0000 (19:56 +0000)]
fix a few compilation problems.
git-svn-id: svn://svn.berlios.de/openocd/trunk@758
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 6 Jul 2008 19:33:05 +0000 (19:33 +0000)]
Charles Hardin <ckhardin@gmail.com> - Tcl Server
git-svn-id: svn://svn.berlios.de/openocd/trunk@757
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 6 Jul 2008 19:25:04 +0000 (19:25 +0000)]
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
oharboe [Sun, 6 Jul 2008 19:17:43 +0000 (19:17 +0000)]
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
ntfreak [Sat, 5 Jul 2008 09:57:19 +0000 (09:57 +0000)]
- added search for libdl
- Thanks Charles Hardin
git-svn-id: svn://svn.berlios.de/openocd/trunk@754
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 4 Jul 2008 17:49:45 +0000 (17:49 +0000)]
- added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@752
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 4 Jul 2008 17:46:41 +0000 (17:46 +0000)]
- added event scripts for str73x and str75x targets
git-svn-id: svn://svn.berlios.de/openocd/trunk@751
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 4 Jul 2008 17:33:46 +0000 (17:33 +0000)]
- added jtag_khz to target scripts
git-svn-id: svn://svn.berlios.de/openocd/trunk@750
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 4 Jul 2008 16:59:35 +0000 (16:59 +0000)]
- 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
oharboe [Fri, 4 Jul 2008 14:05:08 +0000 (14:05 +0000)]
tcl tinkering.
git-svn-id: svn://svn.berlios.de/openocd/trunk@748
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 4 Jul 2008 13:48:16 +0000 (13:48 +0000)]
fix to peek command.
git-svn-id: svn://svn.berlios.de/openocd/trunk@747
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 4 Jul 2008 13:37:34 +0000 (13:37 +0000)]
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
oharboe [Fri, 4 Jul 2008 13:26:28 +0000 (13:26 +0000)]
typo
git-svn-id: svn://svn.berlios.de/openocd/trunk@745
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 4 Jul 2008 08:08:29 +0000 (08:08 +0000)]
tcl config script example
git-svn-id: svn://svn.berlios.de/openocd/trunk@744
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 4 Jul 2008 07:22:11 +0000 (07:22 +0000)]
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
oharboe [Fri, 4 Jul 2008 07:21:31 +0000 (07:21 +0000)]
utility fn.
git-svn-id: svn://svn.berlios.de/openocd/trunk@742
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 4 Jul 2008 07:20:43 +0000 (07:20 +0000)]
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
oharboe [Fri, 4 Jul 2008 07:09:02 +0000 (07:09 +0000)]
Valentin Longchamp target script for mx31.cfg
git-svn-id: svn://svn.berlios.de/openocd/trunk@740
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 4 Jul 2008 06:31:43 +0000 (06:31 +0000)]
Jim Tcl support added
git-svn-id: svn://svn.berlios.de/openocd/trunk@739
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 2 Jul 2008 07:51:41 +0000 (07:51 +0000)]
- 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
oharboe [Sat, 28 Jun 2008 09:26:48 +0000 (09:26 +0000)]
wip.
git-svn-id: svn://svn.berlios.de/openocd/trunk@737
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sat, 28 Jun 2008 08:02:58 +0000 (08:02 +0000)]
wip
git-svn-id: svn://svn.berlios.de/openocd/trunk@736
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 27 Jun 2008 17:51:55 +0000 (17:51 +0000)]
- update docs for new target_script events
git-svn-id: svn://svn.berlios.de/openocd/trunk@735
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 27 Jun 2008 08:16:31 +0000 (08:16 +0000)]
- added svn props for newly added files
git-svn-id: svn://svn.berlios.de/openocd/trunk@734
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 27 Jun 2008 06:58:45 +0000 (06:58 +0000)]
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
oharboe [Fri, 27 Jun 2008 06:20:41 +0000 (06:20 +0000)]
export find_file function
git-svn-id: svn://svn.berlios.de/openocd/trunk@732
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 27 Jun 2008 06:19:37 +0000 (06:19 +0000)]
David Anders more target lib scripts contributed by
git-svn-id: svn://svn.berlios.de/openocd/trunk@731
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 27 Jun 2008 06:18:40 +0000 (06:18 +0000)]
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
oharboe [Fri, 27 Jun 2008 06:13:34 +0000 (06:13 +0000)]
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
oharboe [Wed, 25 Jun 2008 19:23:55 +0000 (19:23 +0000)]
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
ntfreak [Wed, 25 Jun 2008 16:20:33 +0000 (16:20 +0000)]
- 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
oharboe [Wed, 25 Jun 2008 08:47:19 +0000 (08:47 +0000)]
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
ntfreak [Tue, 24 Jun 2008 09:26:30 +0000 (09:26 +0000)]
- 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
oharboe [Wed, 18 Jun 2008 13:52:15 +0000 (13:52 +0000)]
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
oharboe [Wed, 18 Jun 2008 13:50:04 +0000 (13:50 +0000)]
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
oharboe [Wed, 18 Jun 2008 13:49:54 +0000 (13:49 +0000)]
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
oharboe [Wed, 18 Jun 2008 11:58:20 +0000 (11:58 +0000)]
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
ntfreak [Mon, 16 Jun 2008 21:22:39 +0000 (21:22 +0000)]
- added missing install entries for eir-sam7se512 target
git-svn-id: svn://svn.berlios.de/openocd/trunk@713
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Mon, 16 Jun 2008 19:54:15 +0000 (19:54 +0000)]
- 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
oharboe [Mon, 16 Jun 2008 18:44:20 +0000 (18:44 +0000)]
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
oharboe [Mon, 16 Jun 2008 18:40:31 +0000 (18:40 +0000)]
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
ntfreak [Mon, 16 Jun 2008 15:02:02 +0000 (15:02 +0000)]
- removed duplicate cortex_m3_register_commands
git-svn-id: svn://svn.berlios.de/openocd/trunk@709
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 11 Jun 2008 11:12:24 +0000 (11:12 +0000)]
- probe incorrect for high density stm32 flash
git-svn-id: svn://svn.berlios.de/openocd/trunk@708
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Tue, 10 Jun 2008 17:59:10 +0000 (17:59 +0000)]
- error message cleanup in jlink driver
git-svn-id: svn://svn.berlios.de/openocd/trunk@707
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 6 Jun 2008 09:29:21 +0000 (09:29 +0000)]
- 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
oharboe [Fri, 6 Jun 2008 06:12:04 +0000 (06:12 +0000)]
Nicolas Pitre: Feroceon fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@705
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Thu, 5 Jun 2008 18:55:55 +0000 (18:55 +0000)]
- 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
oharboe [Wed, 4 Jun 2008 17:09:10 +0000 (17:09 +0000)]
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
oharboe [Wed, 4 Jun 2008 11:09:41 +0000 (11:09 +0000)]
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