oharboe
fb2c709166
lingering patch from Pavel Chromy.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@393 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 12:20:30 +00:00
oharboe
fad239c1db
formatting fixes from Pavel Chromy
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@392 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 12:16:02 +00:00
oharboe
da767f48da
remove warnings.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@391 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 11:55:09 +00:00
oharboe
219b7f30b9
- 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
2008-02-29 11:42:37 +00:00
oharboe
3a3fc30014
- 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
2008-02-29 11:31:49 +00:00
oharboe
0a749feb8e
do not write single chars to log file.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@388 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 11:23:26 +00:00
oharboe
43126e8f49
Pavel Chromy: clarify error messages
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@387 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 11:18:41 +00:00
oharboe
67e0aea258
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
2008-02-29 11:16:38 +00:00
oharboe
4febcd8313
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
2008-02-29 07:03:28 +00:00
oharboe
881dddd84f
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
2008-02-29 07:01:43 +00:00
oharboe
c98ec4cc36
changed to eCos license.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@383 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 18:09:33 +00:00
oharboe
fc925b637d
fixed newline gaffe in OUTPUT()
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@382 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 15:14:14 +00:00
oharboe
2d48f25dcf
Pavel Chromy spotted duplicated newlines gaffe from yours sincerely.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@381 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 14:28:37 +00:00
oharboe
0db9f18a18
Pavel Chromy spotted a leak
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 14:23:32 +00:00
oharboe
6d0aa6dc05
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
2008-02-28 13:04:49 +00:00
oharboe
e916cc840d
numerous fixes from Uwe Hermann
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@378 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 11:52:26 +00:00
oharboe
ddb94b5bdb
small line ending cleanup.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 11:08:46 +00:00
oharboe
fc37cdb2dd
Pavel Chromy - cleanup error messages
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 11:00:35 +00:00
oharboe
5f159928b1
fix gaffe.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 10:49:22 +00:00
oharboe
86ca2270f4
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
2008-02-28 10:44:41 +00:00
ntfreak
b008ff7ae1
- svn file props set to LF endings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@373 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 10:38:04 +00:00
oharboe
076017341d
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
2008-02-28 10:24:46 +00:00
ntfreak
9e5a6679ca
- 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
2008-02-28 10:07:54 +00:00
oharboe
76ebc78358
code to be used in upcoming minidriver work.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 09:34:18 +00:00
oharboe
367b968809
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
2008-02-28 09:32:09 +00:00
oharboe
8e7d9cb3bc
fix copyright.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@368 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 09:30:06 +00:00
oharboe
7cdb05b7d6
jtag_add_shift() fn - minidriver work in progress.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@367 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 09:21:56 +00:00
oharboe
ebbcbd3f29
lingering change for eCos flash driver
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@366 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 08:37:01 +00:00
oharboe
d17e1cd933
eCos flash driver.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@365 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 08:25:46 +00:00
oharboe
0689e3dd67
- 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
2008-02-28 08:11:18 +00:00
ntfreak
b70e262867
- fix line-endings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 07:44:13 +00:00
drath
966b912b65
- fix line-endings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@362 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 07:35:51 +00:00
oharboe
8ff85b62ef
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
2008-02-28 07:26:14 +00:00
oharboe
f76cf27380
Uwe Hermann fixed some warnings.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@360 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-28 07:25:06 +00:00
ntfreak
06b1bfed10
- correct line endings from previous commit
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@359 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-27 18:59:38 +00:00
drath
8eab9e7974
- 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
2008-02-27 17:25:33 +00:00
drath
796fa81a2b
- 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
2008-02-27 06:59:35 +00:00
oharboe
5a15c6d807
Nicolas Pitre listed some more devices.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@356 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-27 06:44:45 +00:00
ntfreak
0686e944f3
- fix issue when target is already halted
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@355 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 19:56:45 +00:00
ntfreak
3a4f43ab56
- code reformat (Thanks Pavel Chromy)
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@354 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 19:51:18 +00:00
oharboe
a4cb112599
fix naming conflict under Windows.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@353 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 19:24:49 +00:00
oharboe
3e685d0bbe
oopss.. another jtag minidriver reset gaffe.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@352 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 14:19:27 +00:00
oharboe
bdbc833bac
jtag_add_reset() minidriver gaffe fixed.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@351 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-26 13:21:57 +00:00
oharboe
4c7891eceb
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
2008-02-26 11:53:54 +00:00
oharboe
11fa148944
- 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
2008-02-26 06:25:22 +00:00
ntfreak
5279d519f8
- remove build warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@348 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 20:18:26 +00:00
drath
3d6bcf0792
- convert all files to unix line-ending
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@347 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 17:48:04 +00:00
oharboe
7f1944a478
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
2008-02-25 17:32:53 +00:00
oharboe
375c5f85d2
formatting.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@345 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 15:12:00 +00:00
oharboe
a08d86e88d
Pavel Chromy style fixes.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@344 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-25 14:58:20 +00:00