openocd.git
12 years ago- added test result for r423
mifi [Sat, 1 Mar 2008 20:25:29 +0000 (20:25 +0000)]
- added test result for r423

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

12 years agofix memory corruption regression introduced in 335
oharboe [Sat, 1 Mar 2008 20:10:25 +0000 (20:10 +0000)]
fix memory corruption regression introduced in 335

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

12 years ago- removed warnings "xxxxx" might be used uninitialized in this function (arm_simulator.c)
mifi [Sat, 1 Mar 2008 19:13:05 +0000 (19:13 +0000)]
- removed warnings "xxxxx" might be used uninitialized in this function (arm_simulator.c)
- some cosmetic changes

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

12 years ago- added example for testing the JTAG speed with a FT2232 device
mifi [Sat, 1 Mar 2008 18:40:06 +0000 (18:40 +0000)]
- added example for testing the JTAG speed with a FT2232 device

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

12 years agobacked out jtag_add_shift()
oharboe [Sat, 1 Mar 2008 18:10:26 +0000 (18:10 +0000)]
backed out jtag_add_shift()

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

12 years ago- updated svn:eol-style prop to native for AT91R40008
mifi [Sat, 1 Mar 2008 16:37:14 +0000 (16:37 +0000)]
- updated svn:eol-style prop to native for AT91R40008
(Thanks to Spen for the hint)

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

12 years ago- added at91r40008 test example, and test result
mifi [Sat, 1 Mar 2008 16:31:52 +0000 (16:31 +0000)]
- added at91r40008 test example, and test result

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

12 years ago- updated svn:eol-style prop to native
ntfreak [Sat, 1 Mar 2008 16:26:48 +0000 (16:26 +0000)]
- updated svn:eol-style prop to native

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

12 years ago- added sam7x256 test example, and test result
mifi [Sat, 1 Mar 2008 16:15:35 +0000 (16:15 +0000)]
- added sam7x256 test example, and test result

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

12 years agoimprove DCC bulk write performance by using jtag_add_shift() + tweaked embedded ICE...
oharboe [Sat, 1 Mar 2008 15:53:10 +0000 (15:53 +0000)]
improve DCC bulk write performance by using jtag_add_shift() + tweaked embedded ICE communication.

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

12 years ago- added sam7s256 test example, and test result
mifi [Sat, 1 Mar 2008 15:41:14 +0000 (15:41 +0000)]
- added sam7s256 test example, and test result

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

12 years agoNow uses jtag_add_shift() via embeddedice_write_reg_inner().
oharboe [Sat, 1 Mar 2008 15:20:35 +0000 (15:20 +0000)]
Now uses jtag_add_shift() via embeddedice_write_reg_inner().

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

12 years ago- added lpc2294 test example, and test result
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

12 years agolog_remove_callback
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

12 years ago- added lpc2148 test example, and test result
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

12 years ago- added str912 test example, and test result
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

12 years agowip. fixed gaffe in jtag_add_shift()
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

12 years ago- added test result for str710, and test description
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

12 years ago- added svn prop eol-style native
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

12 years ago- added STR710 example which I used for Eclipse debug testing
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

12 years agoerror handling fix.
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

12 years agoadded an #error in case anybody tries to compile that broken code.
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

12 years agofixed stack corruption. Introduced when _check_value was phased out.
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

12 years ago- fix bug with emulated cortex_m3 dcc channel
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

12 years ago- update openocd.texi to fdl 1.2
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

12 years agoTweaked logging output.
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

12 years agoUwe Hermann: Add a --version switch for openocd.
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

12 years agoPavel Chromy fix: the guess-rev.sh scripts to retrieve SVN revision returns the resul...
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

12 years agoUwe Hermann: Updated version which applies cleanly after the recent whitespace fixes.
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

12 years agoUwe Hermann:
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

12 years agoPavel Chromy: add missing newlines.
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

12 years agoUwe Hermann: mproves the manpage text a bit and adds the
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

12 years agolingering patch from Pavel Chromy.
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

12 years agoformatting fixes from Pavel Chromy
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

12 years agoremove warnings.
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

12 years ago- image.c and fileio.c now uses logging to propagate error strings.
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

12 years ago- clean up target output strings a bit
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

12 years agodo not write single chars to log file.
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

12 years agoPavel Chromy: clarify error messages
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

12 years agoSummary: passing of variable argument list reduced, strings sent to logging are now...
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

12 years agoMichael Bruck:
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

12 years agoMichael Bruck:
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

12 years agochanged to eCos license.
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

12 years agofixed newline gaffe in OUTPUT()
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

12 years agoPavel Chromy spotted duplicated newlines gaffe from yours sincerely.
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

12 years agoPavel Chromy spotted a leak
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

12 years agoUwe Hermann: Simplify the manpage by removing lots of redundant information which is
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

12 years agonumerous fixes from Uwe Hermann
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

12 years agosmall line ending cleanup.
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

12 years agoPavel Chromy - cleanup error messages
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

12 years agofix gaffe.
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

12 years agoPavel Chromy cleaned up checks for halted, error messages, etc.
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

12 years ago- svn file props set to LF endings
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

12 years agofix from Pavel Chromy
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

12 years ago- added svn props
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

12 years agocode to be used in upcoming minidriver work.
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

12 years agoadded some code that will be used in upcoming minidriver work.
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

12 years agofix copyright.
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

12 years agojtag_add_shift() fn - minidriver work in progress.
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

12 years agolingering change for eCos flash driver
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

12 years agoeCos flash driver.
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

12 years ago- Added TARGET_REQ_DEBUGCHAR target_request debugmsg. This
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

12 years ago- fix line-endings
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

12 years ago- fix line-endings
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

12 years agoUwe Hermann Add @dircategory and @direntry to the info page -- they're used to add...
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

12 years agoUwe Hermann fixed some warnings.
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

12 years ago- correct line endings from previous commit
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

12 years ago- fix typo in ep93xx jtag driver to allow OpenOCD compilation on ARM (thanks to Uwe...
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

12 years ago- fix bug in ft2232 pathmove (thanks to Michael Bruck for the patch)
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

12 years agoNicolas Pitre listed some more devices.
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

12 years ago- fix issue when target is already halted
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

12 years ago- code reformat (Thanks Pavel Chromy)
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

12 years agofix naming conflict under Windows.
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

12 years agooopss.. another jtag minidriver reset gaffe.
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

12 years agojtag_add_reset() minidriver gaffe fixed.
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

12 years agoNext step in the JTAG minidriver. This should be fairly close to the final thing...
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

12 years ago- jtag minidriver work in progress
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

12 years ago- remove build warnings
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

12 years ago- convert all files to unix line-ending
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

12 years agoPavel Chromy
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

12 years agoformatting.
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

12 years agoPavel Chromy style fixes.
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

12 years agoFix from Pavel Chromy.
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

12 years ago- Fix target library path problem w/Windows
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

12 years agoFrom Michael Bruck
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

12 years agocommitted bugfix from Michael Bruck
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

12 years agodos2unix fix.
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

12 years ago- using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of places
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

12 years ago- "flash write_binary" is now "flash write_bank" to clarify the focus of the
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

12 years agoMichael Bruck spotted an omission in svn 322
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

12 years ago- added "xscale fast_memory_access" which speeds up memory
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

12 years agomove options handling to separate file to better support embedded implementations...
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

12 years ago- added -c option that will execute an openocd command
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

12 years ago- fixed target->type->poll() return value
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

12 years agodisable cfi_write_words(). Broken for spansion, fallback
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

12 years agodebug_level 3 now prints seconds since start of openocd
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

12 years ago- concretize JTAG state transition rules (previously implied behaviour is now documented)
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

12 years agosharpend JTAG docs w.r.t. hw fifo implementations and retired jtag_cancel_queue(...
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

12 years agoadded svn:ignore for files generated by bootstrap + build process.
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

12 years agocosmetic fixes to debug output + phasing out printf() in favour of logging system...
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