Commit Graph

6797 Commits

Author SHA1 Message Date
oharboe d74d72c73a 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
2008-03-06 17:13:33 +00:00
oharboe ff59d1c495 retired
git-svn-id: svn://svn.berlios.de/openocd/trunk@458 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 17:11:35 +00:00
oharboe cc4466dfb4 use jtag_execute_queue() instead of jtag->execute_queue()
git-svn-id: svn://svn.berlios.de/openocd/trunk@457 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 14:20:12 +00:00
oharboe 301f47ddb5 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
2008-03-06 14:19:29 +00:00
oharboe 6be6ba7151 comment.
git-svn-id: svn://svn.berlios.de/openocd/trunk@455 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 14:16:45 +00:00
oharboe 2070559d95 Pavel Chromy: faster alloc_printf()
git-svn-id: svn://svn.berlios.de/openocd/trunk@454 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 12:38:11 +00:00
oharboe 652a5b18b4 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
2008-03-06 12:04:27 +00:00
oharboe 209d7c0edc 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
2008-03-06 12:01:52 +00:00
oharboe c6c6cd0ffd Michael Bruck: 64 bit va_list fix for crash
git-svn-id: svn://svn.berlios.de/openocd/trunk@451 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-06 12:01:17 +00:00
oharboe 97de458ff0 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
2008-03-06 06:56:19 +00:00
oharboe 087ccf3b6e warnings & comments fixes.
git-svn-id: svn://svn.berlios.de/openocd/trunk@449 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-05 19:33:53 +00:00
oharboe 01a5d87d5f - 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
2008-03-05 19:29:41 +00:00
oharboe 9b25f5eba2 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
2008-03-05 19:21:22 +00:00
oharboe f14f84ca1e 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
2008-03-05 13:27:50 +00:00
oharboe 6d95014674 * 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
2008-03-05 10:28:32 +00:00
oharboe 6445cc6479 telnet_port can now be invoked multiple times
git-svn-id: svn://svn.berlios.de/openocd/trunk@444 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-05 06:55:14 +00:00
oharboe 8404dc3657 Bogus error message in GDB removed
git-svn-id: svn://svn.berlios.de/openocd/trunk@443 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-04 21:12:01 +00:00
oharboe f955b90d28 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
2008-03-04 13:13:55 +00:00
oharboe 5a6dc5a325 Michael Bruck - fix warnings.
git-svn-id: svn://svn.berlios.de/openocd/trunk@441 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-04 08:40:33 +00:00
oharboe ea306d3e59 Michael Bruck: fix warnings.
git-svn-id: svn://svn.berlios.de/openocd/trunk@440 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-04 07:13:08 +00:00
oharboe 58cccae639 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
2008-03-04 06:46:44 +00:00
ntfreak 5c2b85dfec - added svn prop svn:eol-style native
git-svn-id: svn://svn.berlios.de/openocd/trunk@438 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-03 20:43:38 +00:00
oharboe bc67c6720b 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
2008-03-03 15:58:17 +00:00
oharboe 50f08f8f2a 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
2008-03-03 15:49:45 +00:00
oharboe 75e69503b9 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
2008-03-03 13:29:29 +00:00
oharboe fe20b12fbd some comments from Dominic
git-svn-id: svn://svn.berlios.de/openocd/trunk@434 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-03 07:49:32 +00:00
drath 64dbef69e7 - Added coding style to README
git-svn-id: svn://svn.berlios.de/openocd/trunk@433 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-02 16:46:37 +00:00
ntfreak 6e45e88251 - added svn prop svn:eol-style native
git-svn-id: svn://svn.berlios.de/openocd/trunk@432 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-02 09:26:01 +00:00
oharboe 2c5fc392f0 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
2008-03-02 08:39:02 +00:00
oharboe 2e21083c19 fixed FSF address. Uwe Hermann.
git-svn-id: svn://svn.berlios.de/openocd/trunk@430 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-02 08:29:44 +00:00
oharboe 72abcddbeb target scripts for test suite.
git-svn-id: svn://svn.berlios.de/openocd/trunk@429 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 22:00:13 +00:00
oharboe 9a53295862 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
2008-03-01 21:43:18 +00:00
oharboe 6c1d9b7245 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
2008-03-01 21:40:48 +00:00
ntfreak 37d850564f - 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
2008-03-01 20:51:26 +00:00
mifi 71e3bb892f - added test result for r423
git-svn-id: svn://svn.berlios.de/openocd/trunk@425 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 20:25:29 +00:00
oharboe 53883c2784 fix memory corruption regression introduced in 335
git-svn-id: svn://svn.berlios.de/openocd/trunk@424 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 20:10:25 +00:00
mifi 542df34411 - 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
2008-03-01 19:13:05 +00:00
mifi 290d00e649 - 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
2008-03-01 18:40:06 +00:00
oharboe 2ce5ca9f0e backed out jtag_add_shift()
git-svn-id: svn://svn.berlios.de/openocd/trunk@421 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 18:10:26 +00:00
mifi 63e90b092a - 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
2008-03-01 16:37:14 +00:00
mifi 1d2f4f1463 - added at91r40008 test example, and test result
git-svn-id: svn://svn.berlios.de/openocd/trunk@419 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 16:31:52 +00:00
ntfreak 06433b2d64 - updated svn:eol-style prop to native
git-svn-id: svn://svn.berlios.de/openocd/trunk@418 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 16:26:48 +00:00
mifi 5a0910206c - added sam7x256 test example, and test result
git-svn-id: svn://svn.berlios.de/openocd/trunk@417 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 16:15:35 +00:00
oharboe 6cf398f3ce 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
2008-03-01 15:53:10 +00:00
mifi 4b06fa39ae - added sam7s256 test example, and test result
git-svn-id: svn://svn.berlios.de/openocd/trunk@415 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 15:41:14 +00:00
oharboe 007e9e2d60 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
2008-03-01 15:20:35 +00:00
mifi 44ab4ec6ce - added lpc2294 test example, and test result
git-svn-id: svn://svn.berlios.de/openocd/trunk@413 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 15:07:33 +00:00
oharboe 82eda37fe3 log_remove_callback
git-svn-id: svn://svn.berlios.de/openocd/trunk@412 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 14:36:13 +00:00
mifi 63e9c3e577 - 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
2008-03-01 14:32:55 +00:00
mifi 02bbe4147d - added str912 test example, and test result
git-svn-id: svn://svn.berlios.de/openocd/trunk@410 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-03-01 14:01:53 +00:00