fw/openocd
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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

17 years ago-- corrected embedded ice definitions
ntfreak [Thu, 10 May 2007 14:42:23 +0000 (14:42 +0000)]
-- corrected embedded ice definitions
-- changed arm966e to use standard arm9_7 reset handling

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

17 years ago- further work on ETB decoding (not yet functional)
drath [Sat, 5 May 2007 11:02:03 +0000 (11:02 +0000)]
- further work on ETB decoding (not yet functional)
- fixed several uses of uninitialized bits (Thanks to Vincent Palatin for finding and fixing these bugs)

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

17 years ago- added support for Hitex comstick.
ntfreak [Sat, 28 Apr 2007 08:44:22 +0000 (08:44 +0000)]
- added support for Hitex comstick.

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

17 years ago- improved ETB trace output
drath [Thu, 26 Apr 2007 14:41:27 +0000 (14:41 +0000)]
- improved ETB trace output
- use BKPT instruction on cores supporting it (ARM926EJ-S, ARM966E-S)
- correctly handle endianness of software breakpoint instruction

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

17 years ago- added support for error handlers to JTAG scan commands (jtag_[plain_][ir|dr]_scan)
drath [Wed, 25 Apr 2007 20:15:59 +0000 (20:15 +0000)]
- added support for error handlers to JTAG scan commands (jtag_[plain_][ir|dr]_scan)
- catch apparently broken JTAG IR scan after ARM926EJ-S CP15 operations
- added "arm7_9 dump_etb" command

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

17 years ago- explicitly disable monitor mode on ARM7/9 targets
drath [Mon, 16 Apr 2007 14:58:16 +0000 (14:58 +0000)]
- explicitly disable monitor mode on ARM7/9 targets
- added "prepare_reset_halt()" to target_type_t, which allows reset_halt to be prepared before a reset is asserted, possibly preventing communication with the target
- arm7/9 devices now use a breakpoint at 0x0 or reset vector catching for debug out of reset

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

17 years ago- allow multiple USB vendor and product ids when searching for connected FT2232 based...
drath [Mon, 16 Apr 2007 11:28:04 +0000 (11:28 +0000)]
- allow multiple USB vendor and product ids when searching for connected FT2232 based JTAG interfaces (thanks to Werner Almesberger for this patch)

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

17 years ago- correctly mask out bits that aren't part of a copied buffer
drath [Thu, 12 Apr 2007 13:27:23 +0000 (13:27 +0000)]
- correctly mask out bits that aren't part of a copied buffer
- fixed arm926ej-s CP15 register access handling
- correctly identify SYSCLK source in LPC3180 NAND flash controller driver

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

17 years ago- disabled excessive debug output in jtag.h
drath [Wed, 11 Apr 2007 14:25:12 +0000 (14:25 +0000)]
- disabled excessive debug output in jtag.h
- output all of EmbeddedICE version register in error message
- update OpenOCD's idea of the current core mode, and immediately change core mode, on CPSR changes
- added support for CFI cmdset 0002 (patch by Andrew Dyer, thanks a lot)
- enhanced CFI cmdset 0002 support to Atmel AT49 flashes (thanks to Joerg Krein for providing test hardware)

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

17 years ago- added support for Turtelizer 2 (USB JTAG interface) (Thanks to Michael Fischer...
drath [Fri, 30 Mar 2007 09:56:31 +0000 (09:56 +0000)]
- added support for Turtelizer 2 (USB JTAG interface) (Thanks to Michael Fischer for this patch)
- fixed description of arm9tdmi vector_catch command

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

17 years ago- added "arm9tdmi vector_catch ['all'|'none'|'vec1 [vec2 [...]]']" command
drath [Thu, 29 Mar 2007 14:59:36 +0000 (14:59 +0000)]
- added "arm9tdmi vector_catch ['all'|'none'|'vec1 [vec2 [...]]']" command
- added missing arm926ej-s cp15 patch (thanks Vincent Palatin)

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

17 years ago- merged XScale branch back into trunk
drath [Wed, 28 Mar 2007 16:31:55 +0000 (16:31 +0000)]
- merged XScale branch back into trunk
- fixed some compiler warnigns in amt_jtagaccel.c, bitbang.c, parport.c
- free working area and register stuff if str7x block write algorithm failed
- check PC after exiting a target algorithm in armv4_5.c

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

17 years ago- fixed arm926 cp15 command bug (thanks to Vincent Palatin for this patch)
drath [Mon, 26 Mar 2007 21:47:26 +0000 (21:47 +0000)]
- fixed arm926 cp15 command bug (thanks to Vincent Palatin for this patch)
- fixed compiler warnings throughout the code (thanks to Vincent Palatin for this patch)
- added support for accessing ETB (embedded trace buffer) registers

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

17 years ago- added missing files for last commit
drath [Fri, 16 Mar 2007 09:12:22 +0000 (09:12 +0000)]
- added missing files for last commit

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

17 years ago- reworked file i/o. every fileaccess (target, flash, nand, in future configuration...
drath [Thu, 15 Mar 2007 13:36:44 +0000 (13:36 +0000)]
- reworked file i/o. every fileaccess (target, flash, nand, in future configuration, too) should now go through the fileio subsystem
- added support for reading IHEX files (through fileio)
- load/dump_binary renamed to the more generic load/dump_image <file> <address> ['bin'|'ihex']
- added NAND framework (preliminary)
- added support for the LPC3180 SLC and MLC NAND controllers (preliminary)
- fix initialization for parport
- gw16012 fixes/cleanups
- added EmbeddedICE version 7 (preliminary, reported on two LPC23xx devices so far)
- added 'arm7_9 etm <target#>' configuration command to enable access to the ETM registers

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

17 years ago- fixed libftdi initialization
drath [Tue, 20 Feb 2007 13:47:32 +0000 (13:47 +0000)]
- fixed libftdi initialization

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

17 years ago- add missing parentheses around macro parameters (thanks to Matthias Bauch for notic...
drath [Sat, 3 Feb 2007 16:00:14 +0000 (16:00 +0000)]
- add missing parentheses around macro parameters (thanks to Matthias Bauch for noticing this bug and providing a fix)

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

17 years ago- merged several changes from XScale
drath [Wed, 31 Jan 2007 10:59:20 +0000 (10:59 +0000)]
- merged several changes from XScale
- complain about identify_chain scan with all bits one (jtag communication problem)
- add 0x80000 as a valid size for lpc2000_v2 flash banks (previously only the user accessible 0x7d000 were valid)

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

17 years ago- disabled use of single-step bit for EmbeddedICE version 6 cores
drath [Fri, 26 Jan 2007 12:40:48 +0000 (12:40 +0000)]
- disabled use of single-step bit for EmbeddedICE version 6 cores

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

17 years ago- disabled JTAG debug output
drath [Thu, 25 Jan 2007 10:32:02 +0000 (10:32 +0000)]
- disabled JTAG debug output
- fixed version information

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

17 years ago- Added support for ARM926EJ-S based cores
drath [Thu, 25 Jan 2007 10:30:42 +0000 (10:30 +0000)]
- Added support for ARM926EJ-S based cores
- Added contributors to AUTHORS file
- Added link to Joern Kaipf's OOCD-Link

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

17 years ago- fix incorrect parsing of whitespace in command.c (thanks to Magnus Lundin)
drath [Mon, 22 Jan 2007 14:47:00 +0000 (14:47 +0000)]
- fix incorrect parsing of whitespace in command.c (thanks to Magnus Lundin)
- fix infinite recursion in target_init_handler (thanks to jw and Magnus Lundin)
- fix CFI flash handlign with buswidth < 32bit (thanks to Daniele Orio for reporting this)
- add support for reading JTAG device id (currently only as debug output on startup)
- cleaned up handling of EmbeddedICE registers. Supported functionality and register size now determined by EmbeddedICE version number.
- small cleanups/fixes

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

17 years ago- added support for ST flashlink cable
ntfreak [Thu, 18 Jan 2007 18:54:04 +0000 (18:54 +0000)]
- added support for ST flashlink cable

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

17 years ago- disabled FT2232 debug output (that code should be fairly stable)
drath [Tue, 9 Jan 2007 17:19:41 +0000 (17:19 +0000)]
- disabled FT2232 debug output (that code should be fairly stable)
- fixed bug in jtag.c where JTAG command type was wrong for PATHMOVE commands
- added lattice ISP cable (experimental)
- properly initialize parallel port (clear tristate bit)
- fixed jtag/Makefile.am that failed with some versions of autotools
- print error number if read() in gdbserver.c failed on Windows
- fixed handling of opcodes with bits 27-25 b011 (comment was correct, code had a bug)
- added support for AT91SAM7SE internal flash

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

17 years ago- checked in missing configure.in changes for GW16012 support
drath [Wed, 22 Nov 2006 16:22:11 +0000 (16:22 +0000)]
- checked in missing configure.in changes for GW16012 support

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

17 years ago- added a PLD (programmable logic device) subsystem for FPGA, CPLD etc. configuration
drath [Wed, 22 Nov 2006 13:03:10 +0000 (13:03 +0000)]
- added a PLD (programmable logic device) subsystem for FPGA, CPLD etc. configuration
- added support for loading .bit files into Xilinx Virtex-II devices
- added support for the Gateworks GW16012 JTAG dongle
- merged CFI fixes from XScale branch
- a few minor fixes

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

17 years ago- added support for the oocd-link (http://www.joernonline.de/dw/doku.php?id=en:projec...
drath [Tue, 7 Nov 2006 10:54:19 +0000 (10:54 +0000)]
- added support for the oocd-link (joernonline.de/dw/doku.php?id=en:projects:oocdlink)
- fixed breakpoint handling (this changes the target_t interface)

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

17 years ago- correctly enter debug state on a "soft_reset_halt" command
drath [Sun, 5 Nov 2006 17:38:35 +0000 (17:38 +0000)]
- correctly enter debug state on a "soft_reset_halt" command
- several small fixes
- retry reading from a FT2232 device on incomplete reads

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

17 years ago- several small fixes (thanks to Magnus Lundin and Spencer Oliver)
drath [Mon, 23 Oct 2006 14:02:34 +0000 (14:02 +0000)]
- several small fixes (thanks to Magnus Lundin and Spencer Oliver)
- added support for using Luminary Micro development board 'evb_lm3s811' as a JTAG interface (thanks to Magnus Lundin)

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

17 years ago- fixed endianness handling in arm7_9_read_core_reg (thanks to Magnus Lundin for...
drath [Thu, 19 Oct 2006 10:07:24 +0000 (10:07 +0000)]
- fixed endianness handling in arm7_9_read_core_reg (thanks to Magnus Lundin for reporting this)
- correctly handle ft2232_device_desc and ft2232_serial when both are given at the same time

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

17 years ago- allow FT2232 devices to be opened by serial number instead of device description...
drath [Thu, 12 Oct 2006 16:20:47 +0000 (16:20 +0000)]
- allow FT2232 devices to be opened by serial number instead of device description ('ft2232_serial <serial>' command)
- redirect output from target event scripts (currently only reset) to the daemon output (INFO:)
- some minor fixes and enhancements

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

17 years ago- added support for American Microsystem's M5960 (FT2232 based USB JTAG interface)
drath [Fri, 6 Oct 2006 15:46:25 +0000 (15:46 +0000)]
- added support for American Microsystem's M5960 (FT2232 based USB JTAG interface)
- added support for AT91SAM7A devices (thanks to Magnus Lundin)
- updated README with pointer to Amontec's JTAGkeyTiny

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

17 years ago- fixed regression in gdb_server.c (Thanks to Michael Fischer for finding these bugs)
drath [Tue, 3 Oct 2006 09:56:41 +0000 (09:56 +0000)]
- fixed regression in gdb_server.c (Thanks to Michael Fischer for finding these bugs)

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

17 years ago- str9x flash support (Thanks to Spencer Oliver)
drath [Thu, 28 Sep 2006 10:41:43 +0000 (10:41 +0000)]
- str9x flash support (Thanks to Spencer Oliver)
- str75x flash support (Thanks to Spencer Oliver)
- correct reporting of T-Bit in CPSR (Thanks to John Hartman for reporting this)
- core-state (ARM/Thumb) can be switched by modifying CPSR
- fixed bug in gdb_server register handling
- register values > 32-bit should now be supported
- several minor fixes and enhancements

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

17 years ago- allow writes to second flash bank on STR71x devices (cleaned up sector list building)
drath [Tue, 12 Sep 2006 18:56:48 +0000 (18:56 +0000)]
- allow writes to second flash bank on STR71x devices (cleaned up sector list building)
- cleaned up str7x flash erase and protect code (use two accesses to erase sectors in both banks)

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

17 years ago- set the T bit in the CPSR when the core was executing in Thumb state. Mask the...
drath [Sat, 9 Sep 2006 11:26:15 +0000 (11:26 +0000)]
- set the T bit in the CPSR when the core was executing in Thumb state. Mask the T bit from the CPSR for all CPSR-writing operations

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

17 years ago- free working area used to store flash write buffer
drath [Thu, 7 Sep 2006 17:50:02 +0000 (17:50 +0000)]
- free working area used to store flash write buffer

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

17 years ago- integrated patch from Magnus Lundin that fixes at91sam7 flash timing bugs and possi...
drath [Thu, 7 Sep 2006 17:36:34 +0000 (17:36 +0000)]
- integrated patch from Magnus Lundin that fixes at91sam7 flash timing bugs and possible endianness problems (big endian hosts)
- correctly write trailing bytes on str7x flashes
- speed up str7x flash writing by offloading the algorithm to the target

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

17 years ago- added debug output for D/I FSR and FAR (arm920t)
drath [Mon, 4 Sep 2006 10:31:28 +0000 (10:31 +0000)]
- added debug output for D/I FSR and FAR (arm920t)
- fixed bug that caused CPSR to be corrupted in Thumb mode

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

17 years ago- made lpc2000 code endianness safe (support big-endian hosts, target is always little)
drath [Thu, 31 Aug 2006 14:33:33 +0000 (14:33 +0000)]
- made lpc2000 code endianness safe (support big-endian hosts, target is always little)

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

17 years ago- added missing AT91RM9200 files
drath [Thu, 31 Aug 2006 12:55:54 +0000 (12:55 +0000)]
- added missing AT91RM9200 files
- bumped OpenOCD version date

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

17 years ago- endianess fixes everywhere but in the flash code. flashing might still be broken...
drath [Thu, 31 Aug 2006 12:41:49 +0000 (12:41 +0000)]
- endianess fixes everywhere but in the flash code. flashing might still be broken on big-endian targets and/or hosts
- added access to ARM920T vector catch register (via generic register mechanism)
- don't disable linefills on ARM920T cores - this lead to lockups when accessing lines already contained in cache
- read content of ARM920T cache and tlb into file (arm920t read_flash/read_mmu commands)
- memory reading improved on ARM7/9, can be further accelerated with new "arm7_9 fast_memory_access enable" command (renamed from fast_writes)
- made in_handler independent from in field (makes the handler more flexible)
- added timeout to ft2232 when using D2XX library
- fixed STR7x protection bit handling on second bank (thanks to Bernard)
- added support for using the OpenOCD on AT91RM9200 systems (thanks to Anders Larsen)
- fixed AT91SAM7 flash handling when not running from 32kHz clock (thanks to Anders Larsen)

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

17 years ago- made bp command more verbose
drath [Sun, 20 Aug 2006 15:10:32 +0000 (15:10 +0000)]
- made bp command more verbose
- fixed bug that could result in register corruption on arm920t targets

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

17 years ago- updated version info in openocd.c
drath [Thu, 17 Aug 2006 14:56:22 +0000 (14:56 +0000)]
- updated version info in openocd.c

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

17 years ago- renamed jtag_interface_t.support_statemove to jtag_interface_t.support_pathmove...
drath [Thu, 17 Aug 2006 14:53:15 +0000 (14:53 +0000)]
- renamed jtag_interface_t.support_statemove to jtag_interface_t.support_pathmove (it is used to indicate jtag_add_pathmove support)
- fixed small bug in str7x.c that printed an address instead of the target number in an error message
- added support for Olimex ARM-USB-OCD. The new ft2232 layout is called "olimex-jtag"

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

17 years ago- fixed bug in .cfg files. Thanks to Michael Fischer for noticing this.
drath [Mon, 14 Aug 2006 15:45:11 +0000 (15:45 +0000)]
- fixed bug in .cfg files. Thanks to Michael Fischer for noticing this.

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

17 years ago- updated configuration examples, installation instructions and README (including...
drath [Mon, 14 Aug 2006 10:58:12 +0000 (10:58 +0000)]
- updated configuration examples, installation instructions and README (including list of supported JTAG interfaces)

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

17 years ago- added support for the Signalyzer USB->JTAG dongle (www.signalyzer.com)
drath [Mon, 14 Aug 2006 10:02:55 +0000 (10:02 +0000)]
- added support for the Signalyzer USB->JTAG dongle (signalyzer.com)

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