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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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