]> git.sur5r.net Git - openocd/log
openocd
16 years agoreduce compare noise. If someone should be crazy enough to try to run OpenOCD under...
oharboe [Tue, 11 Mar 2008 21:32:03 +0000 (21:32 +0000)]
reduce compare noise. If someone should be crazy enough to try to run OpenOCD under eCos, then they'v got some hooks to point them in the general direction.

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

16 years agoWith the recent changes the TRST needs to happen for every reset.
oharboe [Tue, 11 Mar 2008 21:18:44 +0000 (21:18 +0000)]
With the recent changes the TRST needs to happen for every reset.

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

16 years agotidy up output a bit. No longer show "accepted connection" inside Telnet session.
oharboe [Tue, 11 Mar 2008 21:17:46 +0000 (21:17 +0000)]
tidy up output a bit. No longer show "accepted connection" inside Telnet session.

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

16 years ago- retired unused jtag events. The code was incorrect
oharboe [Tue, 11 Mar 2008 21:16:57 +0000 (21:16 +0000)]
- retired unused jtag events. The code was incorrect
- hopefully clarified the difference between TRST and TMS reset.
- added DEBUG() statements w.r.t. state changes
- TRST released and moving out of TAP_TLR are completely
different events. Only TRST released has a DEBUG() statement

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

16 years ago- 16 and 32 bit unaligned accesses supported
ntfreak [Tue, 11 Mar 2008 18:39:43 +0000 (18:39 +0000)]
- 16 and 32 bit unaligned accesses supported
- uses packed transfers for 8/16bit read/writes greater than 4bytes
- 8/16bit transfers now use address auto increment

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

16 years agoretire unused code.
oharboe [Tue, 11 Mar 2008 11:19:15 +0000 (11:19 +0000)]
retire unused code.

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

16 years agoJTAG_END_STATE is now retired. It is no longer queued.
oharboe [Tue, 11 Mar 2008 11:03:40 +0000 (11:03 +0000)]
JTAG_END_STATE is now retired. It is no longer queued.

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

16 years ago- fixed jtag_add_reset(). It no longer causes jtag_execute_queue() to
oharboe [Tue, 11 Mar 2008 09:06:00 +0000 (09:06 +0000)]
- fixed jtag_add_reset(). It no longer causes jtag_execute_queue() to
  fail for two of it's return codes. A little bit weird, but compatible with
  existing codebase.
- tightend up error handling. Since the jtag_xxx() is a queue that is either
  executed as things are added(hw queue) or a software queue, then
  errors can only be caught during jtag_execute_queue(). No error
  code is therefore returned from the queuing fn's.

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

16 years agoPavel Chromy: telnet line buffer size checking, history does not store repeating...
oharboe [Tue, 11 Mar 2008 08:15:54 +0000 (08:15 +0000)]
Pavel Chromy: telnet line buffer size checking, history does not store repeating lines, improved history printing, log callback tweak

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

16 years agobacked out changes from 483.
oharboe [Mon, 10 Mar 2008 20:19:52 +0000 (20:19 +0000)]
backed out changes from 483.

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

16 years agomore target scripts wip.
oharboe [Mon, 10 Mar 2008 20:12:46 +0000 (20:12 +0000)]
more target scripts wip.

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

16 years agomore target scripts wip.
oharboe [Mon, 10 Mar 2008 20:12:35 +0000 (20:12 +0000)]
more target scripts wip.

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

16 years agoPavel Chromy: hopefully perfection for async output and prompt/partially typed comman...
oharboe [Mon, 10 Mar 2008 20:05:48 +0000 (20:05 +0000)]
Pavel Chromy: hopefully perfection for async output and prompt/partially typed command line handling.

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

16 years agoPavel Chromy: the attached patch refines PRESTO support and makes it work with libftdi.
oharboe [Mon, 10 Mar 2008 17:24:44 +0000 (17:24 +0000)]
Pavel Chromy: the attached patch refines PRESTO support and makes it work with libftdi.

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

16 years agoprettier async output
oharboe [Mon, 10 Mar 2008 15:07:21 +0000 (15:07 +0000)]
prettier async output

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

16 years ago- fixed a problem with big endian XScale and GDB register packets.
oharboe [Mon, 10 Mar 2008 14:14:15 +0000 (14:14 +0000)]
- fixed a problem with big endian XScale and GDB register packets.
- hmm..... did I screw up? Was XScale and not gdb_server busted here?
  My thinking was that OpenOCD has a canonical internal representation
  of registers that match GDB's expectations

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

16 years ago- the jtag chain is examined and validated after GDB & telnet servers
oharboe [Mon, 10 Mar 2008 14:07:28 +0000 (14:07 +0000)]
- the jtag chain is examined and validated after GDB & telnet servers
 are up and running. The examination and validation is actually
 "optional" from the point of view of GDB + telnet servers.
 Multiple targets should work fine with this.
- jtag_speed is dropped(divisor is increased), if jtag examination and
 validation fails.
- the chain is validated 10x to catch the worst jtag_speed offences
- added LOG_SILENT that can be used to shut up log. Feeble
 ersatz for try+catch.
- GDB register packets are now always replied in order to make sure
 that GDB connect works. If the target is not halted, then these
 packets contain dummy values.

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

16 years ago- Fixed various error handling when looking for memory leaks
oharboe [Mon, 10 Mar 2008 12:11:07 +0000 (12:11 +0000)]
- Fixed various error handling when looking for memory leaks
- Fixed memory leak in gdb_server.c
- pushed "Error:" statements up into fn's that know something about what went wrong
- load_image now fails if target_write_memory() fails
- only issue an asynchronous halt() upon connect of GDB. Synchronous halt/reset
  doesn't really work as what's required to initialize the target might involve a
  special monitor sequence for the target in question
- syntax error handling improved(fewer exit()'s)

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

16 years ago- LOG_SILENT can be used to silence the log(needed in upcoming patches)
oharboe [Mon, 10 Mar 2008 12:04:30 +0000 (12:04 +0000)]
- LOG_SILENT can be used to silence the log(needed in upcoming patches)
- ERROR_FAIL - added to emphasize that information about what went wrong is
 contained in Error: log statements and not in a 32 bit return value.

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

16 years agoadded stm32.cfg to install list
oharboe [Mon, 10 Mar 2008 10:20:26 +0000 (10:20 +0000)]
added stm32.cfg to install list

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

16 years agoMichael Bruck: fix warning
oharboe [Sun, 9 Mar 2008 19:22:51 +0000 (19:22 +0000)]
Michael Bruck: fix warning

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

16 years ago- add stm32 target script
ntfreak [Sun, 9 Mar 2008 09:28:12 +0000 (09:28 +0000)]
- add stm32 target script

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

16 years ago- added more TARGET_HALTED checks for the read/write_memory handlers
ntfreak [Sat, 8 Mar 2008 17:28:28 +0000 (17:28 +0000)]
- added more TARGET_HALTED checks for the read/write_memory handlers
- added new commands arm11 mrc and arm11 mcr to generate these instructions during debug
Thanks Michael Bruck

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

16 years agotypo.
oharboe [Sat, 8 Mar 2008 10:21:56 +0000 (10:21 +0000)]
typo.

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

16 years ago- Improves error handling upon GDB connect
oharboe [Fri, 7 Mar 2008 21:49:16 +0000 (21:49 +0000)]
- Improves error handling upon GDB connect
- switch to synchronous halt during connect. This fixes the bug
  where poll() was not invoked between halt() and servicing the
  'g' register packet
- halt() no longer returns error code when target is already halted, just
  logs a warning. Only the halt() implementation can say anything
  meaningful about why a halt() failed, so error messages are pushed
  up to halt()
- fixed soft_reset_halt infinite loop bug in arm7_9_common.c. The rest
  of the implementations are still busted.
- by using USER() instead of command_print() the log gets the
  source + line #. Nice.
- no longer invoke exit() if soft_reset_halt fails. A reset can often
  fix the problem.

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

16 years agoAsynchronous output information from e.g. a halt is now displayed again.
oharboe [Fri, 7 Mar 2008 21:41:34 +0000 (21:41 +0000)]
Asynchronous output information from e.g. a halt is now displayed again.

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

16 years ago- fix cross endian ELF loading
vpalatin [Fri, 7 Mar 2008 16:51:37 +0000 (16:51 +0000)]
- fix cross endian ELF loading

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

16 years ago- The elf loader incorrectly assumed that the program header always follows the ELF...
ntfreak [Fri, 7 Mar 2008 16:38:02 +0000 (16:38 +0000)]
- The elf loader incorrectly assumed that the program header always follows the ELF header. (Thanks Michael Bruck)

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

16 years agoMichael Bruck: fixed warnings
oharboe [Fri, 7 Mar 2008 16:18:56 +0000 (16:18 +0000)]
Michael Bruck: fixed warnings

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

16 years agoEdgar Grimberg, fix arm926ejs_examine_debug_reason return value.
oharboe [Fri, 7 Mar 2008 16:15:46 +0000 (16:15 +0000)]
Edgar Grimberg, fix arm926ejs_examine_debug_reason return value.

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

16 years agoAdded some timeout handling to XScale so OpenOCD doesn't get
oharboe [Fri, 7 Mar 2008 11:44:46 +0000 (11:44 +0000)]
Added some timeout handling to XScale so OpenOCD doesn't get
completely stuck when the target needs a reset.

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

16 years agominor corrections for target scripts.
oharboe [Fri, 7 Mar 2008 11:42:03 +0000 (11:42 +0000)]
minor corrections for target scripts.

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

16 years ago- correct spelling typo in stm32x flash driver
ntfreak [Fri, 7 Mar 2008 11:29:08 +0000 (11:29 +0000)]
- correct spelling typo in stm32x flash driver

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

16 years agoPavel Chromy, the patch fixes an issue with PRESTO & FTD2XX under Linux.
oharboe [Fri, 7 Mar 2008 11:24:44 +0000 (11:24 +0000)]
Pavel Chromy, the patch fixes an issue with PRESTO & FTD2XX under Linux.

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

16 years agoalloc_printf and alloc_vprintf
oharboe [Fri, 7 Mar 2008 10:55:59 +0000 (10:55 +0000)]
alloc_printf and alloc_vprintf

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

16 years agowi-9c target scripts
oharboe [Fri, 7 Mar 2008 10:54:43 +0000 (10:54 +0000)]
wi-9c target scripts

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

16 years agoRemoved code that inserted prompt after printing asynchronous information. Current...
oharboe [Fri, 7 Mar 2008 10:53:50 +0000 (10:53 +0000)]
Removed code that inserted prompt after printing asynchronous information. Current implementation was broken beyond repair.

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

16 years ago- added str912/str710_program.script
mifi [Fri, 7 Mar 2008 08:46:24 +0000 (08:46 +0000)]
- added str912/str710_program.script
- added test infos from r459

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

16 years agoremoved excessive debug output. Perhaps a debug_level 4 should be introduced? Hopeful...
oharboe [Fri, 7 Mar 2008 08:07:07 +0000 (08:07 +0000)]
removed excessive debug output. Perhaps a debug_level 4 should be introduced? Hopefully it can be avoided as this was the only case where debug output was going through the roof.

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

16 years agoCosmetic fixes from Uwe Hermann
oharboe [Fri, 7 Mar 2008 06:58:31 +0000 (06:58 +0000)]
Cosmetic fixes from Uwe Hermann

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

16 years agoPavel Chromy: va_copy should always be paired with va_end.
oharboe [Thu, 6 Mar 2008 17:13:33 +0000 (17:13 +0000)]
Pavel Chromy: va_copy should always be paired with va_end.

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

16 years agoretired
oharboe [Thu, 6 Mar 2008 17:11:35 +0000 (17:11 +0000)]
retired

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

16 years agouse jtag_execute_queue() instead of jtag->execute_queue()
oharboe [Thu, 6 Mar 2008 14:20:12 +0000 (14:20 +0000)]
use jtag_execute_queue() instead of jtag->execute_queue()

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

16 years agotms is never referenced, confusing old code left behind probably.
oharboe [Thu, 6 Mar 2008 14:19:29 +0000 (14:19 +0000)]
tms is never referenced, confusing old code left behind probably.

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

16 years agocomment.
oharboe [Thu, 6 Mar 2008 14:16:45 +0000 (14:16 +0000)]
comment.

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

16 years agoPavel Chromy: faster alloc_printf()
oharboe [Thu, 6 Mar 2008 12:38:11 +0000 (12:38 +0000)]
Pavel Chromy: faster alloc_printf()

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

16 years agoPavel Chromy: performance tweak of gdb_put_packet_inner() removing malloc and avoidin...
oharboe [Thu, 6 Mar 2008 12:04:27 +0000 (12:04 +0000)]
Pavel Chromy: performance tweak of gdb_put_packet_inner() removing malloc and avoiding memcpy of larger blocks of data,

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

16 years agoMichael Bruck:
oharboe [Thu, 6 Mar 2008 12:01:52 +0000 (12:01 +0000)]
Michael Bruck:
- force simulate_reset_on_next_halt when target state is initially detected
- print out method of debug entry
- fix VCR activation (didn't work before)

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

16 years agoMichael Bruck: 64 bit va_list fix for crash
oharboe [Thu, 6 Mar 2008 12:01:17 +0000 (12:01 +0000)]
Michael Bruck: 64 bit va_list fix for crash

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

16 years agomake debug code w.r.t. incorrect args for bypass stricter.
oharboe [Thu, 6 Mar 2008 06:56:19 +0000 (06:56 +0000)]
make debug code w.r.t. incorrect args for bypass stricter.

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

16 years agowarnings & comments fixes.
oharboe [Wed, 5 Mar 2008 19:33:53 +0000 (19:33 +0000)]
warnings & comments fixes.

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

16 years ago- This speeds up dcc arm7_9 bulk write a little bit and exercises the jtag_add_dr_out...
oharboe [Wed, 5 Mar 2008 19:29:41 +0000 (19:29 +0000)]
- This speeds up dcc arm7_9 bulk write a little bit and exercises the jtag_add_dr_out() codepath
- added a check to jtag_add_pathmove() for legal path transitions
- tweaked jtag.h docs a little bit
- made some jtag bypass tests _DEBUG_JTAG_IO_

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

16 years agoadded jtag_add_dr_out(). Better for hw fifo, same for software fifo.
oharboe [Wed, 5 Mar 2008 19:21:22 +0000 (19:21 +0000)]
added jtag_add_dr_out(). Better for hw fifo, same for software fifo.

Passes 94kBytes/s regression test.

Works with str912, which relies on bypass

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

16 years agoPavel Chromy: memory leak in at91sam7 flash driver, possible incorrect pointer conver...
oharboe [Wed, 5 Mar 2008 13:27:50 +0000 (13:27 +0000)]
Pavel Chromy: memory leak in at91sam7 flash driver, possible incorrect pointer conversion in gpnvm command handling,
uninitialized buffer issue in handle_flash_info_command in flash.c, some formatting.

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

16 years ago* fixed malloc corruption in target->debug_reason
oharboe [Wed, 5 Mar 2008 10:28:32 +0000 (10:28 +0000)]
* fixed malloc corruption in target->debug_reason
* GDB remote server will now remain online even if the target
  is in a funny state, e.g. if it requires a reset, it is
  running while GDB is not in the continue or step packet,
  e.g. via monitor resume/halt commands in GDB script.
* Added some _DEBUG_GDB_IO_ debug tools
* Fixed a couple of GDB server lockups, e.g. when O packets
  detect a severed connection
* added ACK upon connection (send +).
* added keep-alive messages to reset so GDB protocol remains happy.
* fixed crash when timing out connection to GDB

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

16 years agotelnet_port can now be invoked multiple times
oharboe [Wed, 5 Mar 2008 06:55:14 +0000 (06:55 +0000)]
telnet_port can now be invoked multiple times

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

16 years agoBogus error message in GDB removed
oharboe [Tue, 4 Mar 2008 21:12:01 +0000 (21:12 +0000)]
Bogus error message in GDB removed

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

16 years agoFixed GDB timeout crash - regression introduced back when log_add/remove_callback...
oharboe [Tue, 4 Mar 2008 13:13:55 +0000 (13:13 +0000)]
Fixed GDB timeout crash - regression introduced back when log_add/remove_callback was added.

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

16 years agoMichael Bruck - fix warnings.
oharboe [Tue, 4 Mar 2008 08:40:33 +0000 (08:40 +0000)]
Michael Bruck - fix warnings.

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

16 years agoMichael Bruck: fix warnings.
oharboe [Tue, 4 Mar 2008 07:13:08 +0000 (07:13 +0000)]
Michael Bruck: fix warnings.

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

16 years agoMichael Bruck:
oharboe [Tue, 4 Mar 2008 06:46:44 +0000 (06:46 +0000)]
Michael Bruck:

- Added simulate_reset_on_next_halt that can be extended to do all sorts
of cleanups for systems without proper reset. Right now it just writes 0
to the control register to disable caches.
- Step skips over Wait for Interrupt instruction
- fix for count
- fix for printf format errors

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

16 years ago- added svn prop svn:eol-style native
ntfreak [Mon, 3 Mar 2008 20:43:38 +0000 (20:43 +0000)]
- added svn prop svn:eol-style native

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

16 years agoI fixed all the targets even though
oharboe [Mon, 3 Mar 2008 15:58:17 +0000 (15:58 +0000)]
I fixed all the targets even though
I could only prove that XScale was busted.

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

16 years agoadded fill_malloc test. Not quite sure what to do here yet, but it would be good...
oharboe [Mon, 3 Mar 2008 15:49:45 +0000 (15:49 +0000)]
added fill_malloc test. Not quite sure what to do here yet, but it would be good to have something...

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

16 years agoadded at91sam9260.cfg, nslu2.cfg, pxa255.cfg, pxa255_sst.cfg
oharboe [Mon, 3 Mar 2008 13:29:29 +0000 (13:29 +0000)]
added at91sam9260.cfg, nslu2.cfg, pxa255.cfg, pxa255_sst.cfg
zy1000.cfg

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

16 years agosome comments from Dominic
oharboe [Mon, 3 Mar 2008 07:49:32 +0000 (07:49 +0000)]
some comments from Dominic

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

16 years ago- Added coding style to README
drath [Sun, 2 Mar 2008 16:46:37 +0000 (16:46 +0000)]
- Added coding style to README

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

16 years ago- added svn prop svn:eol-style native
ntfreak [Sun, 2 Mar 2008 09:26:01 +0000 (09:26 +0000)]
- added svn prop svn:eol-style native

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

16 years agoUwe Hermann tightned up comments, etc. to follow OpenOCD policy
oharboe [Sun, 2 Mar 2008 08:39:02 +0000 (08:39 +0000)]
Uwe Hermann tightned up comments, etc. to follow OpenOCD policy

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

16 years agofixed FSF address. Uwe Hermann.
oharboe [Sun, 2 Mar 2008 08:29:44 +0000 (08:29 +0000)]
fixed FSF address. Uwe Hermann.

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

16 years agotarget scripts for test suite.
oharboe [Sat, 1 Mar 2008 22:00:13 +0000 (22:00 +0000)]
target scripts for test suite.

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

16 years agowrote up explaining why tests are done on committed code.
oharboe [Sat, 1 Mar 2008 21:43:18 +0000 (21:43 +0000)]
wrote up explaining why tests are done on committed code.

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

16 years agowrote up explaining why tests are done on committed code.
oharboe [Sat, 1 Mar 2008 21:40:48 +0000 (21:40 +0000)]
wrote up explaining why tests are done on committed code.

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

16 years ago- contrib directory added
ntfreak [Sat, 1 Mar 2008 20:51:26 +0000 (20:51 +0000)]
- contrib directory added
- libdcc added as example for dcc comms with openocd target_request debugmsgs

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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