]>
git.sur5r.net Git - openocd/log
mifi [Sat, 1 Mar 2008 15:07:33 +0000 (15:07 +0000)]
- added lpc2294 test example, and test result
git-svn-id: svn://svn.berlios.de/openocd/trunk@413
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sat, 1 Mar 2008 14:36:13 +0000 (14:36 +0000)]
log_remove_callback
git-svn-id: svn://svn.berlios.de/openocd/trunk@412
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Sat, 1 Mar 2008 14:32:55 +0000 (14:32 +0000)]
- added lpc2148 test example, and test result
- corrected str912 makefile eof
git-svn-id: svn://svn.berlios.de/openocd/trunk@411
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Sat, 1 Mar 2008 14:01:53 +0000 (14:01 +0000)]
- added str912 test example, and test result
git-svn-id: svn://svn.berlios.de/openocd/trunk@410
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sat, 1 Mar 2008 13:54:37 +0000 (13:54 +0000)]
wip. fixed gaffe in jtag_add_shift()
git-svn-id: svn://svn.berlios.de/openocd/trunk@409
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Sat, 1 Mar 2008 13:40:25 +0000 (13:40 +0000)]
- added test result for str710, and test description
git-svn-id: svn://svn.berlios.de/openocd/trunk@408
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Sat, 1 Mar 2008 12:49:20 +0000 (12:49 +0000)]
- added svn prop eol-style native
- fixed mixed line endings on crt.s
git-svn-id: svn://svn.berlios.de/openocd/trunk@407
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Sat, 1 Mar 2008 10:54:32 +0000 (10:54 +0000)]
- added STR710 example which I used for Eclipse debug testing
git-svn-id: svn://svn.berlios.de/openocd/trunk@406
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sat, 1 Mar 2008 08:41:02 +0000 (08:41 +0000)]
error handling fix.
git-svn-id: svn://svn.berlios.de/openocd/trunk@405
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 21:51:17 +0000 (21:51 +0000)]
added an #error in case anybody tries to compile that broken code.
git-svn-id: svn://svn.berlios.de/openocd/trunk@404
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 21:43:19 +0000 (21:43 +0000)]
fixed stack corruption. Introduced when _check_value was phased out.
git-svn-id: svn://svn.berlios.de/openocd/trunk@403
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 29 Feb 2008 18:52:05 +0000 (18:52 +0000)]
- fix bug with emulated cortex_m3 dcc channel
git-svn-id: svn://svn.berlios.de/openocd/trunk@402
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Fri, 29 Feb 2008 18:10:46 +0000 (18:10 +0000)]
- update openocd.texi to fdl 1.2
git-svn-id: svn://svn.berlios.de/openocd/trunk@401
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 15:32:07 +0000 (15:32 +0000)]
Tweaked logging output.
TODO is retired(hopelessly out of date).
git-svn-id: svn://svn.berlios.de/openocd/trunk@400
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 14:34:17 +0000 (14:34 +0000)]
Uwe Hermann: Add a --version switch for openocd.
git-svn-id: svn://svn.berlios.de/openocd/trunk@399
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 13:03:37 +0000 (13:03 +0000)]
Pavel Chromy fix: the guess-rev.sh scripts to retrieve SVN revision returns the result including new line
causing PKGBLDREV macro to not work
git-svn-id: svn://svn.berlios.de/openocd/trunk@398
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 12:39:42 +0000 (12:39 +0000)]
Uwe Hermann: Updated version which applies cleanly after the recent whitespace fixes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@397
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 12:37:45 +0000 (12:37 +0000)]
Uwe Hermann:
Small cosmetic fixes in the license header to make them all look the
same, fix some typos, update README.
git-svn-id: svn://svn.berlios.de/openocd/trunk@396
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 12:31:29 +0000 (12:31 +0000)]
Pavel Chromy: add missing newlines.
git-svn-id: svn://svn.berlios.de/openocd/trunk@395
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 12:30:21 +0000 (12:30 +0000)]
Uwe Hermann: mproves the manpage text a bit and adds the
missing -s and -c options.
git-svn-id: svn://svn.berlios.de/openocd/trunk@394
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 12:20:30 +0000 (12:20 +0000)]
lingering patch from Pavel Chromy.
git-svn-id: svn://svn.berlios.de/openocd/trunk@393
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 12:16:02 +0000 (12:16 +0000)]
formatting fixes from Pavel Chromy
git-svn-id: svn://svn.berlios.de/openocd/trunk@392
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 11:55:09 +0000 (11:55 +0000)]
remove warnings.
git-svn-id: svn://svn.berlios.de/openocd/trunk@391
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 11:42:37 +0000 (11:42 +0000)]
- image.c and fileio.c now uses logging to propagate error strings.
More precise, less code.
- removed unused code in fileio.c
- Windows should now find debug_handler.bin
git-svn-id: svn://svn.berlios.de/openocd/trunk@390
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 11:31:49 +0000 (11:31 +0000)]
- clean up target output strings a bit
- open_file_from_path() now uses logging feature
- open_file_from_path() no longer uses paths for anything but "r" mode. Fixes
bug waiting to happen.
git-svn-id: svn://svn.berlios.de/openocd/trunk@389
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 11:23:26 +0000 (11:23 +0000)]
do not write single chars to log file.
git-svn-id: svn://svn.berlios.de/openocd/trunk@388
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 11:18:41 +0000 (11:18 +0000)]
Pavel Chromy: clarify error messages
git-svn-id: svn://svn.berlios.de/openocd/trunk@387
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 11:16:38 +0000 (11:16 +0000)]
Summary: passing of variable argument list reduced, strings sent to logging are now formatted just once - more efficient.
As a result, ugly string malloc+strcpy are not needed anymore.
git-svn-id: svn://svn.berlios.de/openocd/trunk@386
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 07:03:28 +0000 (07:03 +0000)]
Michael Bruck:
arm11
--- Added burst memory transfer mode
This does not explicitly query command execution but rather uses a small
delay produced by the FT2232 on certain TAP commands.
A potential failure of this process is detected afterwards and the
program terminates with an error.
'arm11 memwrite burst disable'
can be used to switch this feature off.
'arm11 memwrite error_fatal disable'
can be used to prevent the program to exit on an memory write error
--- Added support for interrupt breaking via VCR register
Use 'arm11 vcr' command to set.
--- Cleaned up the handling of
halt/resume/step/poll, target->state, target->debug_reason,
target_call_event_callbacks() at least as far as I could guess the
intended behaviour from other targets.
Did some overall positive tests with GDB.
--- Added support for breakpoints
Hardware breakpoints only. All breakpoints will be treated as hardware
breakpoints.
All ARM11's seem to have at least 6 hardware breakpoints.
--- Stepping over BKPT added
Modification to PC without touching the target.
--- Stepping over a B or BL to self will do nothing
git-svn-id: svn://svn.berlios.de/openocd/trunk@385
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Fri, 29 Feb 2008 07:01:43 +0000 (07:01 +0000)]
Michael Bruck:
- fix indentation of multi-level commands
- make help command work with multi-level commands
git-svn-id: svn://svn.berlios.de/openocd/trunk@384
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 18:09:33 +0000 (18:09 +0000)]
changed to eCos license.
git-svn-id: svn://svn.berlios.de/openocd/trunk@383
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 15:14:14 +0000 (15:14 +0000)]
fixed newline gaffe in OUTPUT()
git-svn-id: svn://svn.berlios.de/openocd/trunk@382
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 14:28:37 +0000 (14:28 +0000)]
Pavel Chromy spotted duplicated newlines gaffe from yours sincerely.
git-svn-id: svn://svn.berlios.de/openocd/trunk@381
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 14:23:32 +0000 (14:23 +0000)]
Pavel Chromy spotted a leak
git-svn-id: svn://svn.berlios.de/openocd/trunk@380
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 13:04:49 +0000 (13:04 +0000)]
Uwe Hermann: Simplify the manpage by removing lots of redundant information which is
already in the README or texinfo (and which needs to be updated
relatively often -- list of authors, list of supported JTAG devices etc).
git-svn-id: svn://svn.berlios.de/openocd/trunk@379
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 11:52:26 +0000 (11:52 +0000)]
numerous fixes from Uwe Hermann
git-svn-id: svn://svn.berlios.de/openocd/trunk@378
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 11:08:46 +0000 (11:08 +0000)]
small line ending cleanup.
git-svn-id: svn://svn.berlios.de/openocd/trunk@377
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 11:00:35 +0000 (11:00 +0000)]
Pavel Chromy - cleanup error messages
git-svn-id: svn://svn.berlios.de/openocd/trunk@376
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 10:49:22 +0000 (10:49 +0000)]
fix gaffe.
git-svn-id: svn://svn.berlios.de/openocd/trunk@375
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 10:44:41 +0000 (10:44 +0000)]
Pavel Chromy cleaned up checks for halted, error messages, etc.
git-svn-id: svn://svn.berlios.de/openocd/trunk@374
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Thu, 28 Feb 2008 10:38:04 +0000 (10:38 +0000)]
- svn file props set to LF endings
git-svn-id: svn://svn.berlios.de/openocd/trunk@373
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 10:24:46 +0000 (10:24 +0000)]
fix from Pavel Chromy
this patch fixes an issue in jtag_init - shall not reset jtag to NULL.
This causes jtag interface (USB device) not to be closed properly if jtag chain validation fails.
Once the underlaying jtag interface is initialized, jtag pointer shall be left untouched,
even in case of an error, so that proper cleanup can be done, see exit_handler in openocd.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@372
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Thu, 28 Feb 2008 10:07:54 +0000 (10:07 +0000)]
- added svn props
- fixed mixed line endings on flash.c, log.c, gdb_server.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@371
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 09:34:18 +0000 (09:34 +0000)]
code to be used in upcoming minidriver work.
git-svn-id: svn://svn.berlios.de/openocd/trunk@370
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 09:32:09 +0000 (09:32 +0000)]
added some code that will be used in upcoming minidriver work.
git-svn-id: svn://svn.berlios.de/openocd/trunk@369
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 09:30:06 +0000 (09:30 +0000)]
fix copyright.
git-svn-id: svn://svn.berlios.de/openocd/trunk@368
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 09:21:56 +0000 (09:21 +0000)]
jtag_add_shift() fn - minidriver work in progress.
git-svn-id: svn://svn.berlios.de/openocd/trunk@367
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 08:37:01 +0000 (08:37 +0000)]
lingering change for eCos flash driver
git-svn-id: svn://svn.berlios.de/openocd/trunk@366
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 08:25:46 +0000 (08:25 +0000)]
eCos flash driver.
git-svn-id: svn://svn.berlios.de/openocd/trunk@365
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 08:11:18 +0000 (08:11 +0000)]
- Added TARGET_REQ_DEBUGCHAR target_request debugmsg. This
provides a better impeadance match for debug output char fn's, e.g. eCos.
- Line endings are now added at the caller site of command_print*(). command_print()
still adds a line ending
- echo of commands in scripts are now available via debug_level instead of
forced echo
- Added a USER_SAMELINE() for printing without a lineend.
git-svn-id: svn://svn.berlios.de/openocd/trunk@364
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Thu, 28 Feb 2008 07:44:13 +0000 (07:44 +0000)]
- fix line-endings
git-svn-id: svn://svn.berlios.de/openocd/trunk@363
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Thu, 28 Feb 2008 07:35:51 +0000 (07:35 +0000)]
- fix line-endings
git-svn-id: svn://svn.berlios.de/openocd/trunk@362
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 07:26:14 +0000 (07:26 +0000)]
Uwe Hermann Add @dircategory and @direntry to the info page -- they're used to add the openocd info page to the global index of info pages in the system (usually /usr/share/info/dir).
git-svn-id: svn://svn.berlios.de/openocd/trunk@361
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Thu, 28 Feb 2008 07:25:06 +0000 (07:25 +0000)]
Uwe Hermann fixed some warnings.
git-svn-id: svn://svn.berlios.de/openocd/trunk@360
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 27 Feb 2008 18:59:38 +0000 (18:59 +0000)]
- correct line endings from previous commit
git-svn-id: svn://svn.berlios.de/openocd/trunk@359
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Wed, 27 Feb 2008 17:25:33 +0000 (17:25 +0000)]
- fix typo in ep93xx jtag driver to allow OpenOCD compilation on ARM (thanks to Uwe Hermann for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@358
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Wed, 27 Feb 2008 06:59:35 +0000 (06:59 +0000)]
- fix bug in ft2232 pathmove (thanks to Michael Bruck for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@357
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Wed, 27 Feb 2008 06:44:45 +0000 (06:44 +0000)]
Nicolas Pitre listed some more devices.
git-svn-id: svn://svn.berlios.de/openocd/trunk@356
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Tue, 26 Feb 2008 19:56:45 +0000 (19:56 +0000)]
- fix issue when target is already halted
git-svn-id: svn://svn.berlios.de/openocd/trunk@355
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Tue, 26 Feb 2008 19:51:18 +0000 (19:51 +0000)]
- code reformat (Thanks Pavel Chromy)
git-svn-id: svn://svn.berlios.de/openocd/trunk@354
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 26 Feb 2008 19:24:49 +0000 (19:24 +0000)]
fix naming conflict under Windows.
git-svn-id: svn://svn.berlios.de/openocd/trunk@353
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 26 Feb 2008 14:19:27 +0000 (14:19 +0000)]
oopss.. another jtag minidriver reset gaffe.
git-svn-id: svn://svn.berlios.de/openocd/trunk@352
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 26 Feb 2008 13:21:57 +0000 (13:21 +0000)]
jtag_add_reset() minidriver gaffe fixed.
git-svn-id: svn://svn.berlios.de/openocd/trunk@351
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 26 Feb 2008 11:53:54 +0000 (11:53 +0000)]
Next step in the JTAG minidriver. This should be fairly close to the final thing, but
I'm not calling it "done" quite yet.
git-svn-id: svn://svn.berlios.de/openocd/trunk@350
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Tue, 26 Feb 2008 06:25:22 +0000 (06:25 +0000)]
- jtag minidriver work in progress
- svn:eol-style=native. Let's see how that works out :-)
git-svn-id: svn://svn.berlios.de/openocd/trunk@349
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Mon, 25 Feb 2008 20:18:26 +0000 (20:18 +0000)]
- remove build warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@348
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Mon, 25 Feb 2008 17:48:04 +0000 (17:48 +0000)]
- convert all files to unix line-ending
git-svn-id: svn://svn.berlios.de/openocd/trunk@347
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 17:32:53 +0000 (17:32 +0000)]
Pavel Chromy
- multiple log listeners
- added OUTPUT() to replace printf
- fix formatting
git-svn-id: svn://svn.berlios.de/openocd/trunk@346
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 15:12:00 +0000 (15:12 +0000)]
formatting.
git-svn-id: svn://svn.berlios.de/openocd/trunk@345
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 14:58:20 +0000 (14:58 +0000)]
Pavel Chromy style fixes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@344
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 14:50:31 +0000 (14:50 +0000)]
Fix from Pavel Chromy.
https://lists.berlios.de/pipermail/openocd-development/2008-February/001018.html
git-svn-id: svn://svn.berlios.de/openocd/trunk@343
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 13:09:15 +0000 (13:09 +0000)]
- Fix target library path problem w/Windows
git-svn-id: svn://svn.berlios.de/openocd/trunk@342
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 08:22:18 +0000 (08:22 +0000)]
From Michael Bruck
- bugfix in server.c
- removed unused parameter from jtag_add_ir_scan et al. This
wasn't necessary in hindsight but anyway.
- arm11 source committed but not not in Makefile.am/target.c for now.
git-svn-id: svn://svn.berlios.de/openocd/trunk@341
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 08:08:31 +0000 (08:08 +0000)]
committed bugfix from Michael Bruck
git-svn-id: svn://svn.berlios.de/openocd/trunk@340
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 08:01:21 +0000 (08:01 +0000)]
dos2unix fix.
git-svn-id: svn://svn.berlios.de/openocd/trunk@339
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 07:50:03 +0000 (07:50 +0000)]
- using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of places
- some more flash cleanup of checking halted state
- moved output handler into options.c
- very slightly tweaked server.c to make it a bit more compatible with eCos
- retired arch_state. Not quite sure how I managed to leave that out last time.
git-svn-id: svn://svn.berlios.de/openocd/trunk@338
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 07:32:52 +0000 (07:32 +0000)]
- "flash write_binary" is now "flash write_bank" to clarify the focus of the
command and reduce confusion with "flash write_image".
- retired deprecated "flash erase" & "flash write".
- added flash_driver_protect/write/erase() that are wafer thin frontend
functions to low level driver functions. They implement checks
that were inconsistently handled by the drivers, e.g. check for
target halted was done in a spotty fashion.
- use return ERROR_COMMAND_SYNTAX_ERROR to print out
syntax of command instead of having lots of inlined replicas of
the command line syntax(some of which were wrong).
- use logging instead of dubious translation of error values to
human understandable explanations of why things failed.
The lower levels log the precise reason and the higher
levels can ammend context as the error propagates up
the call stack.
- simplified flash API slightly with logging instead of
allocating and returning information that the caller then
has to translate into print statements.
git-svn-id: svn://svn.berlios.de/openocd/trunk@337
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Mon, 25 Feb 2008 06:44:46 +0000 (06:44 +0000)]
Michael Bruck spotted an omission in svn 322
git-svn-id: svn://svn.berlios.de/openocd/trunk@336
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 21:54:09 +0000 (21:54 +0000)]
- added "xscale fast_memory_access" which speeds up memory
access by disabling "unecessary" checks.
- arm926ejs. Added missing type->mmu and type->virt2phys fn's.
for now these are used by working_area when specifying
mmu enabled and mmu not enabled address
git-svn-id: svn://svn.berlios.de/openocd/trunk@335
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 21:11:09 +0000 (21:11 +0000)]
move options handling to separate file to better support embedded implementations of OpenOCD
git-svn-id: svn://svn.berlios.de/openocd/trunk@334
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 20:10:48 +0000 (20:10 +0000)]
- added -c option that will execute an openocd command
- added at91eb40a target library example.
git-svn-id: svn://svn.berlios.de/openocd/trunk@333
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 18:52:45 +0000 (18:52 +0000)]
- fixed target->type->poll() return value
- added arch_state to show status of currently selected target
- simplified target->type->arch_state() api.
- clean up telnet output a bit
- fixed GDB output for arch_state
- removed a couple of unecessary exit()'s
- cleaned up error propagation a bit in a few places
git-svn-id: svn://svn.berlios.de/openocd/trunk@332
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 18:48:22 +0000 (18:48 +0000)]
disable cfi_write_words(). Broken for spansion, fallback
is a slower codepath that is reported to work.
git-svn-id: svn://svn.berlios.de/openocd/trunk@331
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 18:46:09 +0000 (18:46 +0000)]
debug_level 3 now prints seconds since start of openocd
git-svn-id: svn://svn.berlios.de/openocd/trunk@330
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Sun, 24 Feb 2008 18:24:04 +0000 (18:24 +0000)]
- concretize JTAG state transition rules (previously implied behaviour is now documented)
git-svn-id: svn://svn.berlios.de/openocd/trunk@329
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 17:33:00 +0000 (17:33 +0000)]
sharpend JTAG docs w.r.t. hw fifo implementations and retired jtag_cancel_queue() which is inheritely incompatible with a hw fifo concept.
git-svn-id: svn://svn.berlios.de/openocd/trunk@328
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 17:18:03 +0000 (17:18 +0000)]
added svn:ignore for files generated by bootstrap + build process.
git-svn-id: svn://svn.berlios.de/openocd/trunk@327
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sun, 24 Feb 2008 17:10:48 +0000 (17:10 +0000)]
cosmetic fixes to debug output + phasing out printf() in favour of logging system. From Pavel Chromy <chromy@asix.cz>
git-svn-id: svn://svn.berlios.de/openocd/trunk@326
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Sun, 24 Feb 2008 12:30:45 +0000 (12:30 +0000)]
- fixes possible crash when GDB connection is closed while target is running due to log callback sending messages to connection which does not
exist anymore (thanks to Pavel Chromy for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@325
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Sat, 23 Feb 2008 16:30:13 +0000 (16:30 +0000)]
- fix for feroceon CP15 register access (thanks to Niolas Pitre for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@324
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
drath [Sat, 23 Feb 2008 13:39:06 +0000 (13:39 +0000)]
- Use NAND extended geometry information (thanks to Ben Dooks for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@323
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Sat, 23 Feb 2008 12:02:15 +0000 (12:02 +0000)]
- added a test document as a starting point
- corrected URL information for the repro
git-svn-id: svn://svn.berlios.de/openocd/trunk@322
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
oharboe [Sat, 23 Feb 2008 08:24:59 +0000 (08:24 +0000)]
- added time command
- changed syntax of time measurements to seconds, e.g. 1.2324s
git-svn-id: svn://svn.berlios.de/openocd/trunk@321
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Fri, 22 Feb 2008 22:55:52 +0000 (22:55 +0000)]
- added patch to remove count and time information from log_printf
in case of debug_level is not set to LOG_DEBUG
git-svn-id: svn://svn.berlios.de/openocd/trunk@320
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Fri, 22 Feb 2008 16:49:07 +0000 (16:49 +0000)]
- cosmetic changes to print out version without line number/time
git-svn-id: svn://svn.berlios.de/openocd/trunk@319
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
vpalatin [Fri, 22 Feb 2008 16:43:13 +0000 (16:43 +0000)]
- fix read/write size for small unaligned accesses (thanks Michael Bruck)
git-svn-id: svn://svn.berlios.de/openocd/trunk@318
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Fri, 22 Feb 2008 16:13:07 +0000 (16:13 +0000)]
- added patch to solve problem with AT91SAM7SE MCU have 3, rather than just 2 GPNVM bits.
(Thanks to Pavel for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@317
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
mifi [Fri, 22 Feb 2008 15:30:19 +0000 (15:30 +0000)]
- added patch to make single-stepping more resilient
(thanks to Nicolas Pitre for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@316
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
vpalatin [Thu, 21 Feb 2008 11:43:04 +0000 (11:43 +0000)]
- add support for Marvell Feroceon (thanks to Nicolas Pitre for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@315
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 20 Feb 2008 08:32:40 +0000 (08:32 +0000)]
- fix bug when using full paths to config files. Thanks Ted Roth
git-svn-id: svn://svn.berlios.de/openocd/trunk@314
b42882b7 -edfa-0310-969c-
e2dbd0fdcd60