openocd.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years ago- update file size when writing to a fileio
drath [Mon, 20 Aug 2007 10:08:08 +0000 (10:08 +0000)]
- update file size when writing to a fileio

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

14 years ago- renamed "xscale dump_trace_buffer" to "xscale dump_trace" and added code for it
drath [Fri, 17 Aug 2007 08:58:40 +0000 (08:58 +0000)]
- renamed "xscale dump_trace_buffer" to "xscale dump_trace" and added code for it

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

14 years ago- update jtag_speed setting when changing it during runtime with a FT2232 based interface
drath [Thu, 16 Aug 2007 13:12:48 +0000 (13:12 +0000)]
- update jtag_speed setting when changing it during runtime with a FT2232 based interface
- use 'etm trigger_percent' setting when programming ETB trigger count
- fixed some small bugs in ETM trace analysis
- fixed minor bug in flash writing (thanks to Pavel Chromy)

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

14 years ago- fixed several bugs in flash writing code (thanks to Pavel Chromy)
drath [Thu, 16 Aug 2007 09:09:44 +0000 (09:09 +0000)]
- fixed several bugs in flash writing code (thanks to Pavel Chromy)

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

14 years ago- corrected automake script
drath [Tue, 14 Aug 2007 10:05:40 +0000 (10:05 +0000)]
- corrected automake script

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

14 years ago- reworked presto.c to allow use of either FTD2XX or libftdi (libftdi not functional...
drath [Tue, 14 Aug 2007 09:48:54 +0000 (09:48 +0000)]
- reworked presto.c to allow use of either FTD2XX or libftdi (libftdi not functional yet). Configure option changed from --enable-presto to
--enable-presto_ftd2xx and --enable-presto_libftdi
- completed trace point support for use with ARM7/9 DCC
- completed debug message output with support for HEX dumps (1, 2 or 4 byte quantities)
- fixed bug in delete_debug_msg_receiver (thanks to Pavel Chromy)
- fixed bug in image_add_section (thanks to Pavel Chromy)
- at91sam7 sector erase reworked (thanks to Pavel Chromy)
- merge consecutive sections during flash image write to work around possible section alignment issues with LPC2000 targets

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

14 years ago- fix build issues when not using autoconf/automake to build
ntfreak [Mon, 13 Aug 2007 12:51:31 +0000 (12:51 +0000)]
- fix build issues when not using autoconf/automake to build

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

14 years ago- bumped version information
drath [Fri, 10 Aug 2007 20:25:59 +0000 (20:25 +0000)]
- bumped version information

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

14 years ago- changed mingw host detection to *-mingw instead of *-*-mingw to work with i586...
drath [Fri, 10 Aug 2007 20:21:35 +0000 (20:21 +0000)]
- changed mingw host detection to *-mingw instead of *-*-mingw to work with i586-mingw32msvc-gcc
- add replacements.h to log.h to make sure ERROR is undefined on windows

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

14 years ago- renamed M5960 USB JTAG to "flyswatter"
drath [Fri, 10 Aug 2007 19:44:06 +0000 (19:44 +0000)]
- renamed M5960 USB JTAG to "flyswatter"
- make ep93xx and at91rm9200 bitbang JTAG interfaces dependant on ARM host (thanks to Vincent Palatin)
- various whitespace fixes
- removed various warnings
- add support for Debian GNU/kFreeBSD (thanks to Uwe Hermann)
- fix OpenOCD compilation for various platforms (thanks to Uwe Hermann and Vincent Palatin)
- switched order of JTAG chain examination and validation (examine first, then multiple validation tries even if examination failed)
- added target_request subsystem to handle requests from the target (debug messages and tracepoints implemented, future enhancements might include
semihosting, all ARM7/9 only for now)
- added support for GDB vFlashXXX packets (thanks to Pavel Chromy)
- added support for receiving data via ARM7/9 DCC
- reworked flash writing. the 'flash write' command is now deprecated and replaced by 'flash write_binary' (old syntax and behaviour) and 'flash
write_image' (write image files (bin, hex, elf, s19) to a target).
- added support for AMD/ST/SST 29F400B non-cfi flashes

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

14 years ago- trying to remove a breakpoint with target running should not exit(-1) from OpenOCD
mlu [Thu, 9 Aug 2007 09:35:10 +0000 (09:35 +0000)]
- trying to remove a breakpoint with target running should not exit(-1) from OpenOCD

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

14 years ago- cleaned up cycle counting in ETM analysis
drath [Tue, 31 Jul 2007 16:39:06 +0000 (16:39 +0000)]
- cleaned up cycle counting in ETM analysis
- fixed broken OpenOCD version string

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

14 years ago- add missing configure.in change from last checkin
drath [Tue, 31 Jul 2007 10:09:00 +0000 (10:09 +0000)]
- add missing configure.in change from last checkin
- add usbprog example config file
- update version string

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

14 years ago- calculate cycles since last executed instruction when cycle-accurate tracing is...
drath [Tue, 31 Jul 2007 10:07:32 +0000 (10:07 +0000)]
- calculate cycles since last executed instruction when cycle-accurate tracing is enabled
- increase memory pseudo-image cache size to 1024 byte for improved trace analysis performance
- added OpenOCD+trace as an ETM capture driver example implementation
- new usbprog driver (thanks to Benedikt Sauter)

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

14 years ago- motorola s19 file loader added
ntfreak [Tue, 31 Jul 2007 09:15:59 +0000 (09:15 +0000)]
- motorola s19 file loader added
- added checksum support to intel hex file loader
- elf file loader now ignores any bss sections
- mingw build now always opens files in binary mode

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

14 years ago- corrected stm32x_handle_options_write_command, incorrect options printed
ntfreak [Thu, 26 Jul 2007 12:28:22 +0000 (12:28 +0000)]
- corrected stm32x_handle_options_write_command, incorrect options printed
- added prepare_reset_halt handler for cortex_m3

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

14 years ago- restrict direct parallel port access to x86 platforms (thanks to Vincent Palatin)
drath [Thu, 26 Jul 2007 09:36:17 +0000 (09:36 +0000)]
- restrict direct parallel port access to x86 platforms (thanks to Vincent Palatin)

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

14 years ago- documentation fixes (thanks to Uwe Hermann)
drath [Thu, 26 Jul 2007 09:34:49 +0000 (09:34 +0000)]
- documentation fixes (thanks to Uwe Hermann)
- bootstrapping changes to accomodate packaging (thanks to Uwe Hermann)

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

14 years ago- reformat src/jtag/bitq.c (thanks to Pavel Chromy)
drath [Wed, 25 Jul 2007 10:06:57 +0000 (10:06 +0000)]
- reformat src/jtag/bitq.c (thanks to Pavel Chromy)
- fix multiple reads from FT2232 into same buffer location (thanks to Magnus Lundin)
- retry JTAG chain validation (thanks to Magnus Lundin)
- reworked GDB packet input handling (thanks to Pavel Chromy)
- output error message when setting a watchpoint failed
- removed duplicate out-of-bounds check in at91sam7.c (thanks to Pavel Chromy)

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

14 years ago- added support for Asix Presto JTAG interface (thanks to Pavel Chromy and Asix for...
drath [Sun, 15 Jul 2007 11:19:33 +0000 (11:19 +0000)]
- added support for Asix Presto JTAG interface (thanks to Pavel Chromy and Asix for making this addition possible)
- added support for usbprog (thanks to Benedikt Sauter)
- make OpenOCD listen for WM_QUIT messages on windows (thanks to Pavel Chromy)
- register at_exit handler to do necessary unregistering (thanks to Pavel Chromy)
- added dummy ETM capture driver to allow ETM to be registered without a capture driver

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

15 years ago- fixed endianness helper macros (thanks to obilix and wiml for finding and fixing...
drath [Thu, 28 Jun 2007 10:32:58 +0000 (10:32 +0000)]
- fixed endianness helper macros (thanks to obilix and wiml for finding and fixing this bug)
- added declarations for 32bit fileio access functions (network byte order)
- fixed bug in etm trace dump file handling
- added XScale trace buffer decoding
- fixed arm_simulator ERROR numbers (-7xx used twice)
- fixed minor bug in debug output in stellaris.c

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

15 years ago- ST STM32x cortex support added
ntfreak [Sun, 24 Jun 2007 15:04:07 +0000 (15:04 +0000)]
- ST STM32x cortex support added
- ST STM32x flash support added
- cleaned up armv7m and cortex-m3 support, removed luminary specific code
- cortex-m3 16bit read/write added (required for STM32x flash programming)

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

15 years ago- added support for Intel/Marvel PXA27x (XScale) targets
drath [Thu, 21 Jun 2007 13:15:22 +0000 (13:15 +0000)]
- added support for Intel/Marvel PXA27x (XScale) targets
- added support for scans coming from or ending in Shift-DR or Shift-IR to bitbang code (required for XScale debugging)
- cleaned up errror handlers. only use when there's a catchable error
- fix segfault when etm was configured without a valid driver

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

15 years ago- str9xpec driver was using stricmp, changed to strcmp for posix compatibility
ntfreak [Sat, 16 Jun 2007 17:35:38 +0000 (17:35 +0000)]
- str9xpec driver was using stricmp, changed to strcmp for posix compatibility

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

15 years ago- added mingw elf patches from Vincent Palatin
ntfreak [Sat, 16 Jun 2007 14:45:55 +0000 (14:45 +0000)]
- added mingw elf patches from Vincent Palatin
- added str9x programming using flash controller tap (str9xpec), including option bytes and device lock/unlock
- inttypes.h now used for long long printf style declarations

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

15 years ago- added support for pseudo image type "mem", currently only used for etm analysis...
drath [Fri, 15 Jun 2007 14:10:23 +0000 (14:10 +0000)]
- added support for pseudo image type "mem", currently only used for etm analysis: "etm image <target#> <dummy base address> mem"

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

15 years agoAdded patch for Luminar Micors Fury class devices (Joe Kroesche)
mlu [Thu, 14 Jun 2007 17:33:20 +0000 (17:33 +0000)]
Added patch for Luminar Micors Fury class devices (Joe Kroesche)
Added support for NVGM bit 2 for AT91SAM7XC128/256

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

15 years ago- added stellaris.[ch] missing from Cortex-M3 merge
drath [Thu, 14 Jun 2007 14:49:08 +0000 (14:49 +0000)]
- added stellaris.[ch] missing from Cortex-M3 merge

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

15 years ago- merged support for Cortex-M3 from cortex-m3 branch (thanks to Magnus Lundin)
drath [Thu, 14 Jun 2007 14:48:22 +0000 (14:48 +0000)]
- merged support for Cortex-M3 from cortex-m3 branch (thanks to Magnus Lundin)

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

15 years ago- added manpage for OpenOCD (thanks to Uwe Hermann)
drath [Thu, 14 Jun 2007 09:47:00 +0000 (09:47 +0000)]
- added manpage for OpenOCD (thanks to Uwe Hermann)
- fixed bug in ARM926EJ-S cache handling that caused cache linefills to be disabled after first debug entry
- added support for auto image type detection (thanks to Vincent Palatin)
- further work on ETM trace decoding (tested with a ETB interface using an ETM in normal 16-bit port mode, still experimental)

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

15 years ago- add support for ELF images (thanks to Vincent Palatin for this patch)
drath [Thu, 31 May 2007 11:17:54 +0000 (11:17 +0000)]
- add support for ELF images (thanks to Vincent Palatin for this patch)

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

15 years ago- reworked image handling to support multiple sections (tested with ihex file contain...
drath [Wed, 30 May 2007 15:47:18 +0000 (15:47 +0000)]
- reworked image handling to support multiple sections (tested with ihex file containing gaps)
This checkin is still experimental, not recommended for general use

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

15 years ago- add missing file src/target/trace.h
drath [Tue, 29 May 2007 12:29:30 +0000 (12:29 +0000)]
- add missing file src/target/trace.h

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

15 years ago- add missing image handling files
drath [Tue, 29 May 2007 12:04:20 +0000 (12:04 +0000)]
- add missing image handling files

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

15 years ago- split fileio handling into fileio part and image handling
drath [Tue, 29 May 2007 11:23:42 +0000 (11:23 +0000)]
- split fileio handling into fileio part and image handling
- reworked etm/etb into a generic etm part with trace capture drivers (currently only etb supported)
- added XScale debug handler binary to repository
- added Thumb disassembling (thanks to Vincent Palatin for this patch)
- added support for non-CFI compatible flashes to cfi driver (currently only SST39VFxxx devices supported)
This checkin is experimental, not suitable for general use

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

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)