]> git.sur5r.net Git - openocd/log
openocd
16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years ago- fixes possible crash when GDB connection is closed while target is running due...
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

16 years ago- fix for feroceon CP15 register access (thanks to Niolas Pitre for this patch)
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

16 years ago- Use NAND extended geometry information (thanks to Ben Dooks for this patch)
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

16 years ago- added a test document as a starting point
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

16 years ago- added time command
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

16 years ago- added patch to remove count and time information from log_printf
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

16 years ago- cosmetic changes to print out version without line number/time
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

16 years ago- fix read/write size for small unaligned accesses (thanks Michael Bruck)
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

16 years ago- added patch to solve problem with AT91SAM7SE MCU have 3, rather than just 2 GPNVM...
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

16 years ago- added patch to make single-stepping more resilient
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

16 years ago- add support for Marvell Feroceon (thanks to Nicolas Pitre for this patch)
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

16 years ago- fix bug when using full paths to config files. Thanks Ted Roth
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

16 years ago- added patch which fixed big/small endian problems on non-x86 host CPUs.
mifi [Tue, 19 Feb 2008 21:44:19 +0000 (21:44 +0000)]
- added patch which fixed big/small endian problems on non-x86 host CPUs.
https://lists.berlios.de/pipermail/openocd-development/2008-February/000846.html
(thanks to Øyvind for the patch)

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

16 years ago- add search paths via new arg -s (-search). Thanks Ted Roth
ntfreak [Tue, 19 Feb 2008 20:04:57 +0000 (20:04 +0000)]
- add search paths via new arg -s (-search). Thanks Ted Roth
- updated docs for new command

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

16 years ago- add support for the majority of the Samsung ARM SoC family, S3C2410, S3C2412, S3C24...
drath [Tue, 19 Feb 2008 19:52:09 +0000 (19:52 +0000)]
- add support for the majority of the Samsung ARM SoC family, S3C2410, S3C2412, S3C2413, S3C2440 and S3C2443 (thanks to Ben Dooks for this patch)

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

16 years ago- Fixed bug in pathmove for XScale
ntfreak [Tue, 19 Feb 2008 19:26:17 +0000 (19:26 +0000)]
- Fixed bug in pathmove for XScale
- added virtual address to working_area.
- Improved error messages in a number of places
- Added ERROR_COMMAND_SYNTAX_ERROR that commands can return to have syntax printed
- Added help for some config commands
- Added verification of sw breakpoints with ERROR() message
- Removed a couple of exit()'s and replaced with error message
- cosmetic fix to armv4_5.c, easier to read
- added polymorphic(with default) virt2phys and mmu enable query function to target.h
- added virt2phys command that uses target->type->virt2phys() fn
Thanks to Øyvind Harboe

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

16 years ago- reapply fix with telnet prompt while running/halting gdb
ntfreak [Mon, 18 Feb 2008 18:48:04 +0000 (18:48 +0000)]
- reapply fix with telnet prompt while running/halting gdb

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

16 years ago- Fix problems with stuck telnet sessions. Thanks to Øyvind Harboe for this patch.
drath [Mon, 18 Feb 2008 18:03:08 +0000 (18:03 +0000)]
- Fix problems with stuck telnet sessions. Thanks to Øyvind Harboe for this patch.

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

16 years ago- ignore data aborts during gdb memory read packets by default, and return 0x0 instead
drath [Mon, 18 Feb 2008 17:59:06 +0000 (17:59 +0000)]
- ignore data aborts during gdb memory read packets by default, and return 0x0 instead
- add configuration option "gdb_report_data_abort <enable|disable> to enable reporting of data aborts during gdb memory read packets
- thanks to Øyvind Harboe for identifying the problem with GDB and data aborts
- fix some warnings in gdb_server.c

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

16 years ago- arg list now correctly released on error. Thanks Øyvind Harboe
ntfreak [Mon, 18 Feb 2008 16:54:18 +0000 (16:54 +0000)]
- arg list now correctly released on error. Thanks Øyvind Harboe

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

16 years ago- fix broken JTAG error handling
ntfreak [Mon, 18 Feb 2008 15:41:38 +0000 (15:41 +0000)]
- fix broken JTAG error handling
- Allow all commands to be executed during config stage
- Help now works for config commands
- make var args handling follow the rules more closely
Thanks Øyvind Harboe

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

16 years ago- removed a raft of unecessary exit() calls. Issuing a reset will solve these ails.
ntfreak [Mon, 18 Feb 2008 15:11:01 +0000 (15:11 +0000)]
- removed a raft of unecessary exit() calls. Issuing a reset will solve these ails.
- now uses jtag_state_pathmove() instead of making assumptions about implementation of jtag_statemove().
- fixed a couple of bugs in timeout handling
- removed megabytes of log output when communication is failing.
- sleep is now 300ms as documented instead of 3000ms
- fixed error path of bulk write
- debug_handler can now be issued during normal operation + has help text.
Thanks Øyvind Harboe

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

16 years ago- add new non-cfi SST flash device. Thanks Øyvind Harboe
ntfreak [Mon, 18 Feb 2008 14:53:50 +0000 (14:53 +0000)]
- add new non-cfi SST flash device. Thanks Øyvind Harboe

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

16 years ago- Added a "User:" debug level. These are messages that are intended for the user...
ntfreak [Mon, 18 Feb 2008 14:32:43 +0000 (14:32 +0000)]
- Added a "User:" debug level. These are messages that are intended for the user and are part of normal operation.
- Faster DEBUG/INFO() when they are disabled
- target_read/write_buffer() now uses 16 and 32 bit access for single word aligned requests. Other requests are serviced as quickly as possible.
- *much* faster read/write GDB packets, removing timeout problems.
- GDB read/write packets w/single word aligned 32/16 bit access now use 32/16 bit word access.
- working area can now be changed on the fly. Provides a way to move working area about as MMU is enabled/disabled.
- cleaned up error messages for verify_image.
Thanks Øyvind Harboe

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

16 years ago- combine similar functions in telnet_server.c
ntfreak [Sun, 17 Feb 2008 11:06:58 +0000 (11:06 +0000)]
- combine similar functions in telnet_server.c

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

16 years ago- solve lots of problems with stuck GDB connections, making it impossible to connect...
ntfreak [Sat, 16 Feb 2008 15:21:13 +0000 (15:21 +0000)]
- solve lots of problems with stuck GDB connections, making it impossible to connect to GDB, handle timeout of acknowledgement, etc.
- "monitor halt/resume" now works correctly
- "monitor sleep 10000" no longer makes the GDB protocol lock up. There is an error message and the protocol recovers nicely afterwards.
- it's now possible to connect to a target which needs a reset before halt works.
- handle failed memory access more gracefully. Connection is now closed instead of OpenOCD quitting.
- *much* improved handling of 2 second timeout on memory read packets. Especially important w/mouseover evaluation of  variables in Eclipse.
- fixed memory leak upon failed memory packet reply.
- 'O' packets w/progress info is no longer sent out randomly.
- faster packet reply code.
- Thanks to Øyvind Harboe for this patch

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

16 years ago- cleanup and remove time() warning
ntfreak [Sat, 16 Feb 2008 15:10:26 +0000 (15:10 +0000)]
- cleanup and remove time() warning

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

16 years ago- fix issue with telnet prompt while gdb running
ntfreak [Sat, 16 Feb 2008 14:05:32 +0000 (14:05 +0000)]
- fix issue with telnet prompt while gdb running

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

16 years ago- fix xscale memory leak and warnings. Thanks Øyvind Harboe
ntfreak [Fri, 15 Feb 2008 19:07:43 +0000 (19:07 +0000)]
- fix xscale memory leak and warnings. Thanks Øyvind Harboe

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

16 years ago- fix programming issue with lpc2101/2
ntfreak [Thu, 14 Feb 2008 18:32:52 +0000 (18:32 +0000)]
- fix programming issue with lpc2101/2

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

16 years ago- added patch to stop DEBUG messages to be forwarded to telnet/gdb.
mifi [Thu, 14 Feb 2008 18:30:23 +0000 (18:30 +0000)]
- added patch to stop DEBUG messages to be forwarded to telnet/gdb.
(thanks to Øyvind for the patch)

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

16 years ago- added check for revA silicon in stm32 flash driver
ntfreak [Thu, 14 Feb 2008 10:02:51 +0000 (10:02 +0000)]
- added check for revA silicon in stm32 flash driver

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

16 years ago- added patch to Improving progress/error output for telnet & GDB monitor
mifi [Wed, 13 Feb 2008 19:02:17 +0000 (19:02 +0000)]
- added patch to Improving progress/error output for telnet & GDB monitor
(thanks to Øyvind for the patch)

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

16 years ago- add autoprobe support to flash info command
ntfreak [Tue, 12 Feb 2008 18:57:37 +0000 (18:57 +0000)]
- add autoprobe support to flash info command
- auto_erase can now be called from script/config file

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

16 years ago- removed "starting point" for ngw100, will add it again if it is working
mifi [Mon, 11 Feb 2008 17:53:14 +0000 (17:53 +0000)]
- removed "starting point" for ngw100, will add it again if it is working

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

16 years ago- telnet prompt behaves correctly for new synchronous halt/resume/reset commands
ntfreak [Mon, 11 Feb 2008 09:11:50 +0000 (09:11 +0000)]
- telnet prompt behaves correctly for new synchronous halt/resume/reset commands
- removed unused variables in tms470.c

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

16 years ago- added starting point for development on a ngw100 eval board
mifi [Sun, 10 Feb 2008 19:04:31 +0000 (19:04 +0000)]
- added starting point for development on a ngw100 eval board

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

16 years ago- stm32 flash driver now checks for correct target
ntfreak [Sun, 10 Feb 2008 15:46:14 +0000 (15:46 +0000)]
- stm32 flash driver now checks for correct target

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

16 years ago- add autoprobe support to the stm32 flash driver
ntfreak [Sun, 10 Feb 2008 15:08:44 +0000 (15:08 +0000)]
- add autoprobe support to the stm32 flash driver

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

16 years ago- added patch to change pathmove handling
mifi [Sun, 10 Feb 2008 12:58:24 +0000 (12:58 +0000)]
- added patch to change pathmove handling
https://lists.berlios.de/pipermail/openocd-development/2008-January/000678.html

(thanks to Øyvind for the patch)

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

16 years ago- added synchronous wait/resume patch. Thanks Øyvind Harboe
ntfreak [Sat, 9 Feb 2008 11:44:17 +0000 (11:44 +0000)]
- added synchronous wait/resume patch. Thanks Øyvind Harboe
- updated docs for halt and wait_halt and resume commands

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

16 years ago- added synchronous reset patch, Thanks Øyvind Harboe
ntfreak [Thu, 7 Feb 2008 20:20:11 +0000 (20:20 +0000)]
- added synchronous reset patch, Thanks Øyvind Harboe
- added target_init_reset which calls target_process_reset after all drivers have been initialised

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

16 years ago- added patch to access cp15 register (XScale)
mifi [Wed, 6 Feb 2008 19:59:55 +0000 (19:59 +0000)]
- added patch to access cp15 register (XScale)
(thanks to Edgar Grimberg for the patch)

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

16 years ago- added patch to solve problem with AT91SAM9260 (dirty register)
mifi [Wed, 6 Feb 2008 19:25:42 +0000 (19:25 +0000)]
- added patch to solve problem with AT91SAM9260 (dirty register)
(thanks to Øyvind Harboe for the patch)

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

16 years ago- fixes issue with reset and arm926ejs core. Thanks Øyvind Harboe
ntfreak [Mon, 4 Feb 2008 20:12:46 +0000 (20:12 +0000)]
- fixes issue with reset and arm926ejs core. Thanks Øyvind Harboe

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

16 years agoAdded patch to stop SEGFAULT with missing jtag config lines. Thanks Øyvind Harboe
ntfreak [Mon, 4 Feb 2008 08:25:07 +0000 (08:25 +0000)]
Added patch to stop SEGFAULT with missing jtag config lines. Thanks Øyvind Harboe
https://lists.berlios.de/pipermail/openocd-development/2008-January/000731.html

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

16 years ago- added patch to solve the reset problem with arm9 and cortex which Spen had found.
mifi [Sat, 2 Feb 2008 13:42:37 +0000 (13:42 +0000)]
- added patch to solve the reset problem with arm9 and cortex which Spen had found.
https://lists.berlios.de/pipermail/openocd-development/2008-January/000729.html

(Thanks to Spen for the patch)

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

16 years ago- added autoprobe functionality
mifi [Sun, 27 Jan 2008 14:05:59 +0000 (14:05 +0000)]
- added autoprobe functionality
- corrected blocksize handling from GDB "info mem" command
(thanks to Øyvind and Spen for these patches)

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

16 years agofixed incorrect elf segment size - Thanks Øyvind Harboe
ntfreak [Fri, 25 Jan 2008 18:09:21 +0000 (18:09 +0000)]
fixed incorrect elf segment size - Thanks Øyvind Harboe

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

16 years ago- added patch to check some malloc problems.
mifi [Thu, 24 Jan 2008 21:04:09 +0000 (21:04 +0000)]
- added patch to check some malloc problems.
(thanks to Øyvind Harboe for the patch)

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

16 years agoUpdated list of LMI partnames
mlu [Wed, 23 Jan 2008 20:09:08 +0000 (20:09 +0000)]
Updated list of LMI partnames

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

16 years ago- added patch to fix crash in load_image on corrupt elf file or out of memory.
mifi [Wed, 23 Jan 2008 19:28:10 +0000 (19:28 +0000)]
- added patch to fix crash in load_image on corrupt elf file or out of memory.
(thanks to Øyvind Harboe for the patch)

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

16 years ago- added patch to fix brocken STR9 line
mifi [Tue, 22 Jan 2008 17:54:56 +0000 (17:54 +0000)]
- added patch to fix brocken STR9 line
(thanks to oyvind Harboe for the patch)

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