vpalatin [Fri, 22 Feb 2008 16:43:13 +0000 (16:43 +0000)]
- fix read/write size for small unaligned accesses (thanks Michael Bruck)
git-svn-id: svn://svn.berlios.de/openocd/trunk@318
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
mifi [Fri, 22 Feb 2008 16:13:07 +0000 (16:13 +0000)]
- added patch to solve problem with AT91SAM7SE MCU have 3, rather than just 2 GPNVM bits.
(Thanks to Pavel for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@317
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
mifi [Fri, 22 Feb 2008 15:30:19 +0000 (15:30 +0000)]
- added patch to make single-stepping more resilient
(thanks to Nicolas Pitre for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@316
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
vpalatin [Thu, 21 Feb 2008 11:43:04 +0000 (11:43 +0000)]
- add support for Marvell Feroceon (thanks to Nicolas Pitre for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@315
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Wed, 20 Feb 2008 08:32:40 +0000 (08:32 +0000)]
- fix bug when using full paths to config files. Thanks Ted Roth
git-svn-id: svn://svn.berlios.de/openocd/trunk@314
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
mifi [Tue, 19 Feb 2008 21:44:19 +0000 (21:44 +0000)]
- added patch which fixed big/small endian problems on non-x86 host CPUs.
https://lists.berlios.de/pipermail/openocd-development/2008-February/000846.html
(thanks to Øyvind for the patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@313
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Tue, 19 Feb 2008 20:04:57 +0000 (20:04 +0000)]
- add search paths via new arg -s (-search). Thanks Ted Roth
- updated docs for new command
git-svn-id: svn://svn.berlios.de/openocd/trunk@312
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
drath [Tue, 19 Feb 2008 19:52:09 +0000 (19:52 +0000)]
- add support for the majority of the Samsung ARM SoC family, S3C2410, S3C2412, S3C2413, S3C2440 and S3C2443 (thanks to Ben Dooks for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@311
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
ntfreak [Tue, 19 Feb 2008 19:26:17 +0000 (19:26 +0000)]
- Fixed bug in pathmove for XScale
- added virtual address to working_area.
- Improved error messages in a number of places
- Added ERROR_COMMAND_SYNTAX_ERROR that commands can return to have syntax printed
- Added help for some config commands
- Added verification of sw breakpoints with ERROR() message
- Removed a couple of exit()'s and replaced with error message
- cosmetic fix to armv4_5.c, easier to read
- added polymorphic(with default) virt2phys and mmu enable query function to target.h
- added virt2phys command that uses target->type->virt2phys() fn
Thanks to Øyvind Harboe
git-svn-id: svn://svn.berlios.de/openocd/trunk@310
b42882b7-edfa-0310-969c-
e2dbd0fdcd60
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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