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

16 years ago- Added example config and startup-script for a XScale IXP42x system
bodylove [Mon, 21 Jan 2008 20:51:01 +0000 (20:51 +0000)]
- Added example config and startup-script for a XScale IXP42x system

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

16 years ago[MERGE] Merged all remaining changes between trunk and xscale big-endian branch.
bodylove [Mon, 21 Jan 2008 20:34:58 +0000 (20:34 +0000)]
[MERGE] Merged all remaining changes between trunk and xscale big-endian branch.
        They are now in sync.

        xscale-be branch is now closed.

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

16 years ago- Synced code with branch
bodylove [Mon, 21 Jan 2008 19:45:28 +0000 (19:45 +0000)]
- Synced code with branch

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

16 years ago- Eleminated leading tabs/white space
bodylove [Mon, 21 Jan 2008 19:34:45 +0000 (19:34 +0000)]
- Eleminated leading tabs/white space

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

16 years ago- Eleminated leading tabs/white space
bodylove [Mon, 21 Jan 2008 17:29:17 +0000 (17:29 +0000)]
- Eleminated leading tabs/white space

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

16 years ago- Eleminated leading tabs/white space
bodylove [Mon, 21 Jan 2008 17:09:12 +0000 (17:09 +0000)]
- Eleminated leading tabs/white space
- Updated SVN property

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

16 years ago- updated docs for cfi command, added missing ft2232_layout names
ntfreak [Mon, 21 Jan 2008 11:05:35 +0000 (11:05 +0000)]
- updated docs for cfi command, added missing ft2232_layout names

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

16 years ago- added patch "remove error handler as planned"
mifi [Sun, 20 Jan 2008 13:52:06 +0000 (13:52 +0000)]
- added patch "remove error handler as planned"
https://lists.berlios.de/pipermail/openocd-development/2008-January/000665.html
(thanks to oyvind Harboe for the patch)

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

16 years ago- add support for cortex_m3 target_request debugmsgs
ntfreak [Thu, 17 Jan 2008 12:45:06 +0000 (12:45 +0000)]
- add support for cortex_m3 target_request debugmsgs
- target request handler disabled by default until a target has been registered

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

16 years ago- add missing files from previous commit (tms470 flash driver)
ntfreak [Thu, 17 Jan 2008 08:02:02 +0000 (08:02 +0000)]
- add missing files from previous commit (tms470 flash driver)

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

16 years ago- fixed 'make distcheck' (thanks to Theodore A. Roth for this patch
drath [Thu, 17 Jan 2008 07:24:05 +0000 (07:24 +0000)]
- fixed 'make distcheck' (thanks to Theodore A. Roth for this patch

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

16 years ago- added tms470 flash support (thanks to Chris Kilgour for this patch)
drath [Thu, 17 Jan 2008 07:21:09 +0000 (07:21 +0000)]
- added tms470 flash support (thanks to Chris Kilgour for this patch)

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

16 years ago- use correct SCAN_N check value (disabled by default)
drath [Mon, 14 Jan 2008 21:42:30 +0000 (21:42 +0000)]
- use correct SCAN_N check value (disabled by default)
- add Øyvind Harboe to list of AUTHORS (thanks a lot to Øyvind for his hard work)

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

16 years ago- debug handler file not closed - (thanks to oyvind harboe for the patch)
ntfreak [Fri, 11 Jan 2008 20:38:43 +0000 (20:38 +0000)]
- debug handler file not closed - (thanks to oyvind harboe for the patch)
- arm_simulate_step called incorrect arm_evaluate_opcode when in thumb mode

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

16 years ago- fix gdb packet retransmission omission
ntfreak [Thu, 10 Jan 2008 20:10:53 +0000 (20:10 +0000)]
- fix gdb packet retransmission omission

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

16 years ago- _DEBUG_GDB_IO_ was left on by mistake
ntfreak [Thu, 10 Jan 2008 19:34:33 +0000 (19:34 +0000)]
- _DEBUG_GDB_IO_ was left on by mistake

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

16 years ago- added faster gdb packet handling (thanks to oyvind harboe for the patch)
ntfreak [Thu, 10 Jan 2008 19:29:52 +0000 (19:29 +0000)]
- added faster gdb packet handling (thanks to oyvind harboe for the patch)
- code reformat

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

16 years ago- added patch for faster start of OpenOCD
mifi [Thu, 10 Jan 2008 19:10:55 +0000 (19:10 +0000)]
- added patch for faster start of OpenOCD
(thanks to oyvind harboe for the patch)

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

16 years ago- rename flash_init and flash_erase to flash_init_drivers and flash_erase_address_ran...
ntfreak [Wed, 9 Jan 2008 15:58:01 +0000 (15:58 +0000)]
- rename flash_init and flash_erase to flash_init_drivers and flash_erase_address_range - stops conflicts with redboot. Thanks Øyvind Harboe
- gdb connection not dropped if we fail to allocate memory in query packets

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

16 years ago- added gdb flash fixes patch
mifi [Mon, 7 Jan 2008 17:11:11 +0000 (17:11 +0000)]
- added gdb flash fixes patch
https://lists.berlios.de/pipermail/openocd-development/2007-December/000548.html
- added synthesize in_check_mask/value and error handler patch
https://lists.berlios.de/pipermail/openocd-development/2008-January/000554.html

(thanks to oyvind harboe for these patches)

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

16 years ago- add support for extended gdb packet R (restart), requires gdb to be started with...
ntfreak [Sat, 29 Dec 2007 17:41:43 +0000 (17:41 +0000)]
- add support for extended gdb packet R (restart), requires gdb to be started with target extended-remote

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

16 years ago- minimum autoconf 2.59 is now required and verified - due to issues with AS_HELP_STRING
ntfreak [Sat, 29 Dec 2007 13:51:48 +0000 (13:51 +0000)]
- minimum autoconf 2.59 is now required and verified - due to issues with AS_HELP_STRING
- native win32 now handles WSAECONNRESET - no longer exits openocd
- qCRC packet now works correctly under cygwin (gdb compare-sections command)
- removed __USE_GNU define from gdbserver.c
- gdb qSupported packet is now handled, with this we are able to tell gdb packet size, memory map of target
- added new target script gdb_program_config - called before gdb flash programming
- new gdb server command gdb_memory_map (enable|disable> - default is disable
- new gdb server command gdb_flash_program (enable|disable> - default is disable
- gdb flash programming supported - vFlash packets
- image_elf_read_section now does not clear any remaining data, this was causing the gdb checksum to fail with certain files
- reformat of usbprog.c
- memory leak in command_print fixed
- updated texi doc to include new commands
- added gdb programming section to docs

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

16 years ago- corrected working_area of LPC2129 script
mifi [Fri, 21 Dec 2007 16:21:05 +0000 (16:21 +0000)]
- corrected working_area of LPC2129 script
- added LPC2148 script
- corrected size of the working_area of the LPC2294 script

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

16 years ago- fixed problem when write_image is called multiple times
ntfreak [Thu, 20 Dec 2007 22:20:45 +0000 (22:20 +0000)]
- fixed problem when write_image is called multiple times

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

16 years ago- removed flash write_image - binary compare function has been moved to verify_image...
ntfreak [Thu, 20 Dec 2007 16:19:10 +0000 (16:19 +0000)]
- removed flash write_image - binary compare function has been moved to verify_image command
- minor code reformat and cleanup
- updated docs to include new commands

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

16 years ago- this patch allows OpenOCD running under eCos to access files via tftp
mifi [Wed, 19 Dec 2007 21:14:50 +0000 (21:14 +0000)]
- this patch allows OpenOCD running under eCos to access files via tftp
(thanks to oyvind Harboe for this patch)

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

16 years ago- added patch by Øyvind Harboe to Intel Hex Start Segment Address Record (Type 3)
ntfreak [Tue, 18 Dec 2007 21:29:44 +0000 (21:29 +0000)]
- added patch by Øyvind Harboe to Intel Hex Start Segment Address Record (Type 3)
- added support to parse Motorola Record Count (S5)

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

16 years ago- added patch for new flash functionality like:
mifi [Tue, 18 Dec 2007 21:20:28 +0000 (21:20 +0000)]
- added patch for new flash functionality like:
flash verify_image and flash erase_address.
- added patch for new parport_write_on_exit command.
Even this patch will fix some memory leaks.

(thanks too oyvind and Spen for these patches)

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

16 years ago- only some cosmetic changes, convert \r\n to unix
mifi [Mon, 17 Dec 2007 22:12:57 +0000 (22:12 +0000)]
- only some cosmetic changes, convert \r\n to unix

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

16 years ago- fixed relocation problems with image loading. Relocation is handled
mifi [Mon, 17 Dec 2007 20:52:37 +0000 (20:52 +0000)]
- fixed relocation problems with image loading. Relocation is handled
  in a single centralized place, and it now works for binaries.
(thanks to oyvind Harboe)

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

16 years ago- added patch to corrected argument of image_open in handle_flash_write_image_command
mifi [Mon, 17 Dec 2007 20:14:12 +0000 (20:14 +0000)]
- added patch to corrected argument of image_open in handle_flash_write_image_command
(thanks to oyvind Harboe for the patch)

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

16 years agoThe changes allows the "script" command to be used from within
mifi [Mon, 17 Dec 2007 17:00:24 +0000 (17:00 +0000)]
The changes allows the "script" command to be used from within
config scripts to run sub-config scripts, which was probably the
original intention because "script" is registered as COMMAND_ANY.

This can be useful in e.g. splitting CPU and flash config scripts.

(thanks to oyvind Harboe for the patch)

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

16 years ago- removed some compiler warnings
mifi [Sun, 16 Dec 2007 18:58:16 +0000 (18:58 +0000)]
- removed some compiler warnings
- added patch to fix problem in cfi_intel_write_block. In case of
  cfi_info->write_algorithm is not NULL, target_code_size was not set.
(thanks to oyvind Harboe for the patch)

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

16 years ago- change error message for image_open error
mifi [Sun, 16 Dec 2007 18:19:43 +0000 (18:19 +0000)]
- change error message for image_open error
- changed run_size to size_read in argument of image_read_section
(thanks to oyvind Harboe for this patch)

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

16 years ago- initialize num_sectors and sectors in handle_flash_bank_command.
mifi [Sun, 16 Dec 2007 15:55:48 +0000 (15:55 +0000)]
- initialize num_sectors and sectors in handle_flash_bank_command.
(thanks to oyvind Harboe for this hint)

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

16 years ago- fixed ETM configuration register decoding
drath [Sun, 16 Dec 2007 11:52:50 +0000 (11:52 +0000)]
- fixed ETM configuration register decoding

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

16 years ago- added the patch CFI-BE-Fixes-Blockwrite-Support.diff
mifi [Fri, 14 Dec 2007 21:32:55 +0000 (21:32 +0000)]
- added the patch CFI-BE-Fixes-Blockwrite-Support.diff
(thanks to Carsten Schlote for the patch)

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

16 years agoCorrected typo (to many brackets)
mifi [Fri, 14 Dec 2007 19:54:18 +0000 (19:54 +0000)]
Corrected typo (to many brackets)

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

16 years agoSorry, I have forgotten to add a description for the last version, where
mifi [Fri, 14 Dec 2007 19:15:32 +0000 (19:15 +0000)]
Sorry, I have forgotten to add a description for the last version, where
I have added the clear_malloc and fill_malloc functionality. But the default
is the original malloc.

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

16 years agogit-svn-id: svn://svn.berlios.de/openocd/trunk@228 b42882b7-edfa-0310-969c-e2dbd0fdcd60
mifi [Fri, 14 Dec 2007 19:08:03 +0000 (19:08 +0000)]
git-svn-id: svn://svn.berlios.de/openocd/trunk@228 b42882b7-edfa-0310-969c-e2dbd0fdcd60

16 years ago- added patch from Dominic to unlock the ATMEL flash in cfi_read_atmel_pri_ext
mifi [Fri, 14 Dec 2007 18:06:19 +0000 (18:06 +0000)]
- added patch from Dominic to unlock the ATMEL flash in cfi_read_atmel_pri_ext
- set cfi_info->write_algorithm and cfi_info->erase_check_algorithm to NULL to
  get "flash erase_check" command working

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

16 years ago- Fixing two compiler warnings
mifi [Mon, 10 Dec 2007 19:46:04 +0000 (19:46 +0000)]
- Fixing two compiler warnings
- Reducing  stack usage for recursive scripts
- Do not exit on bogus arguments to reset_config. No longer exit the application upon bogus arguments to reset_config, but return errors.

thanks to Øyvind Harboe for these patches.

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

16 years ago- Stripped trailing spaces (patch preparation)
bodylove [Mon, 10 Dec 2007 18:47:26 +0000 (18:47 +0000)]
- Stripped trailing spaces (patch preparation)

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

16 years ago- Enabled URL keyword expansion for enhanced version
bodylove [Mon, 10 Dec 2007 18:41:10 +0000 (18:41 +0000)]
- Enabled URL keyword expansion for enhanced version
  tracking of binary openocd images

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

16 years ago- Added PKGLIBDIR define to C options. Allows to store
bodylove [Mon, 10 Dec 2007 18:34:40 +0000 (18:34 +0000)]
- Added PKGLIBDIR define to C options. Allows to store
  native code fragments at a central place

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

16 years ago- XScale DebugHandler code is now installed into
bodylove [Mon, 10 Dec 2007 17:49:28 +0000 (17:49 +0000)]
- XScale DebugHandler code is now installed into
  pkglibdir and loaded from there

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

16 years agoChanged openocd version info creation to be more useful.
bodylove [Mon, 10 Dec 2007 16:55:14 +0000 (16:55 +0000)]
Changed openocd version info creation to be more useful.
- Now displays subversion revision and svn URL

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

16 years ago- added patch to display device information as INFO too
mifi [Sun, 9 Dec 2007 15:36:21 +0000 (15:36 +0000)]
- added patch to display device information as INFO too
- added patch which fixes a crash upon flash write error
- added patch which will improve the reset handling when
  SRST is tied to TRST

(thanks to Oyvind Harboe for these patches)

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

16 years agoMerged rev 215 changes from /branches/xscale-ixp-be into trunk:
bodylove [Wed, 5 Dec 2007 13:34:02 +0000 (13:34 +0000)]
Merged rev 215 changes from /branches/xscale-ixp-be into trunk:
- Obvious fixes to big endian type conversion macros
- Fixed obvious typos for byte masks

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

16 years agoDo not overwrite code when removing software breakpoint if it no longer contains...
vpalatin [Tue, 4 Dec 2007 12:56:46 +0000 (12:56 +0000)]
Do not overwrite code when removing software breakpoint if it no longer contains bkpt instruction.
(thanks to oyvind harboe for bug report and test)

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

17 years ago- added support for Hitex STM32 Performance Stick
ntfreak [Fri, 23 Nov 2007 15:16:22 +0000 (15:16 +0000)]
- added support for Hitex STM32 Performance Stick
- added str9 and stm32 scripts to docs

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

17 years ago- reset_run now works as expected on cortex-m3
ntfreak [Wed, 21 Nov 2007 16:37:17 +0000 (16:37 +0000)]
- reset_run now works as expected on cortex-m3
- str9xpec erase status checked on option byte programming
- stm32x flash driver now supports sector protection
- surplus exit removed from flash.c
- openocd.texi documentation added

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

17 years ago- corrected str91x bank1 programming issues
ntfreak [Fri, 26 Oct 2007 09:05:57 +0000 (09:05 +0000)]
- corrected str91x bank1 programming issues
- str91x protect_check fixed
- bank number now correctly given to str91x flash_config command

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

17 years ago- add verify_image command
ntfreak [Mon, 22 Oct 2007 08:44:34 +0000 (08:44 +0000)]
- add verify_image command
- add support for gdb qCRC packet (compare-sections command)

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

17 years ago- cleaned up str7, str9 and stm32 flash drivers
ntfreak [Mon, 8 Oct 2007 13:12:39 +0000 (13:12 +0000)]
- cleaned up str7, str9 and stm32 flash drivers
- str7 flash driver now checks correct busy bits depending on device
- str9 flash driver now disables ITCM order as per st programming manual
- added str7 disable_jtag command
- added gdb_detach command
- updated arm966e cp15 support
- fix crash on mingw build when enabling target_request debugmsgs

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

17 years ago- flash autoerase <on|off> cmd added, default is off - flash banks are calculated...
ntfreak [Mon, 1 Oct 2007 08:31:30 +0000 (08:31 +0000)]
- flash autoerase <on|off> cmd added, default is off - flash banks are calculated and erased prior to write (flash write_image only)
- corrected array overrun in armv7m.c
- corrected breakpoint memory allocation bug
- image read now uses fgets, vastly improves reading of large files
- improved hex file reading, support for Linear Address Record added

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

17 years ago- Fixed display of sector sizes in flash.c
mlu [Mon, 10 Sep 2007 17:43:08 +0000 (17:43 +0000)]
- Fixed display of sector sizes in flash.c
- Clean up, remove unused variables and code in armv7, cortex_m3 and stellaris code
- Move restore_context from cortex_m3 to armv7m
- Updated halt handling for cortex_m3

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

17 years ago- added ft2232_latency command
mlu [Mon, 10 Sep 2007 17:07:32 +0000 (17:07 +0000)]
- added ft2232_latency command

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

17 years agoPatch by Michael Schwingen that
drath [Wed, 5 Sep 2007 06:22:37 +0000 (06:22 +0000)]
Patch by Michael Schwingen that
 - adds support for the Altium universal JTAG cable
 - adds support for "wiggler2" cable (basically a wiggler with added LED, documentation coming soon)
 - adds LED support. The LED is turned on during data transfer - works fine on Altium and wiggler2.
 - adds PORT_EXIT pattern that is written to port when exiting, in order to turn off power on cables that get their power from parallel port data lines
 - move port writes (with the system-specific ifdefs) to one central function

- increased image cache size to 2KB (might require more adaptive cache handling, e.g. LRU)

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

17 years ago- added support for setting JTAG frequency on ASIX PRESTO (thanks to Pavel Chromy)
drath [Sat, 25 Aug 2007 09:59:42 +0000 (09:59 +0000)]
- added support for setting JTAG frequency on ASIX PRESTO (thanks to Pavel Chromy)
- usbprog update (thanks to Benedikt Sauter)
- added embeddedice_send and _handshake functions (thanks to Pavel Chromy)
- added support for 4, 8 and 16 bit ports to etb.c

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

17 years ago- correctly initialize start address for XScale trace buffer decodes in fill-once...
drath [Tue, 21 Aug 2007 16:21:05 +0000 (16:21 +0000)]
- correctly initialize start address for XScale trace buffer decodes in fill-once mode

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

17 years ago- Support for AT91SAM7xx512 chips
mlu [Mon, 20 Aug 2007 11:51:12 +0000 (11:51 +0000)]
- Support for AT91SAM7xx512 chips

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

17 years ago- Support for AT91SAM7xx512 chips
mlu [Mon, 20 Aug 2007 11:43:07 +0000 (11:43 +0000)]
- Support for AT91SAM7xx512 chips

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