62e65b9fde- added patch by Øyvind Harboe to Intel Hex Start Segment Address Record (Type 3) - added support to parse Motorola Record Count (S5)
ntfreak
2007-12-18 21:29:44 +0000
02f3765351- 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.
mifi
2007-12-18 21:20:28 +0000
ed1e9d6abd- only some cosmetic changes, convert \r\n to unix
mifi
2007-12-17 22:12:57 +0000
9491aa15cd- fixed relocation problems with image loading. Relocation is handled in a single centralized place, and it now works for binaries. (thanks to oyvind Harboe)
mifi
2007-12-17 20:52:37 +0000
835e0436e8- added patch to corrected argument of image_open in handle_flash_write_image_command (thanks to oyvind Harboe for the patch)
mifi
2007-12-17 20:14:12 +0000
a66df4104eThe 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.
mifi
2007-12-17 17:00:24 +0000
d00cc228d3- 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)
mifi
2007-12-16 18:58:16 +0000
f328fb8a6c- 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)
mifi
2007-12-16 18:19:43 +0000
b642f42199- initialize num_sectors and sectors in handle_flash_bank_command. (thanks to oyvind Harboe for this hint)
mifi
2007-12-16 15:55:48 +0000
55bdadcbcd- added the patch CFI-BE-Fixes-Blockwrite-Support.diff (thanks to Carsten Schlote for the patch)
mifi
2007-12-14 21:32:55 +0000
7ff3a0d12eCorrected typo (to many brackets)
mifi
2007-12-14 19:54:18 +0000
a877c4b9f0Sorry, 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.
mifi
2007-12-14 19:15:32 +0000
900c70f8e8- 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
mifi
2007-12-14 18:06:19 +0000
9c999216b1- 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.
mifi
2007-12-10 19:46:04 +0000
cec738e651- Enabled URL keyword expansion for enhanced version tracking of binary openocd images
bodylove
2007-12-10 18:41:10 +0000
3fbdfeb82c- Added PKGLIBDIR define to C options. Allows to store native code fragments at a central place
bodylove
2007-12-10 18:34:40 +0000
142a4a4b86- XScale DebugHandler code is now installed into pkglibdir and loaded from there
bodylove
2007-12-10 17:49:28 +0000
78d58dd16aChanged openocd version info creation to be more useful. - Now displays subversion revision and svn URL
bodylove
2007-12-10 16:55:14 +0000
9e6cec0dd3- 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
mifi
2007-12-09 15:36:21 +0000
00bbf24c16Merged rev 215 changes from /branches/xscale-ixp-be into trunk: - Obvious fixes to big endian type conversion macros - Fixed obvious typos for byte masks
bodylove
2007-12-05 13:34:02 +0000
ba379aa80eDo not overwrite code when removing software breakpoint if it no longer contains bkpt instruction. (thanks to oyvind harboe for bug report and test)
vpalatin
2007-12-04 12:56:46 +0000
d6fae6fe02- added support for Hitex STM32 Performance Stick - added str9 and stm32 scripts to docs
ntfreak
2007-11-23 15:16:22 +0000
8c634335b4- 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
ntfreak
2007-11-21 16:37:17 +0000
89d0e422c9- corrected str91x bank1 programming issues - str91x protect_check fixed - bank number now correctly given to str91x flash_config command
ntfreak
2007-10-26 09:05:57 +0000
e27696f6b0- add verify_image command - add support for gdb qCRC packet (compare-sections command)
ntfreak
2007-10-22 08:44:34 +0000
ce8768f463- 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
ntfreak
2007-10-08 13:12:39 +0000
995326b600- 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
ntfreak
2007-10-01 08:31:30 +0000
ed36a8d15d- 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
mlu
2007-09-10 17:43:08 +0000
6ae83f5cf8Patch 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
drath
2007-09-05 06:22:37 +0000
b930514e2f- 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
drath
2007-08-25 09:59:42 +0000
ecfc1e39a2- correctly initialize start address for XScale trace buffer decodes in fill-once mode
drath
2007-08-21 16:21:05 +0000
580bb85201- Support for AT91SAM7xx512 chips
mlu
2007-08-20 11:51:12 +0000
7658f61ce7- Support for AT91SAM7xx512 chips
mlu
2007-08-20 11:43:07 +0000
222c05c924- update file size when writing to a fileio
drath
2007-08-20 10:08:08 +0000
0eb8621bf2- renamed "xscale dump_trace_buffer" to "xscale dump_trace" and added code for it
drath
2007-08-17 08:58:40 +0000
cb6ebced3d- 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)
drath
2007-08-16 13:12:48 +0000
c35cc0b8b7- fixed several bugs in flash writing code (thanks to Pavel Chromy)
drath
2007-08-16 09:09:44 +0000
29000b204d- 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
drath
2007-08-14 09:48:54 +0000
abbd2b62ad- fix build issues when not using autoconf/automake to build
ntfreak
2007-08-13 12:51:31 +0000
54b76e98af- bumped version information
drath
2007-08-10 20:25:59 +0000
b499b5cbd2- 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
drath
2007-08-10 20:21:35 +0000
20e4e77cdf- 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
drath
2007-08-10 19:44:06 +0000
835e6440b8- trying to remove a breakpoint with target running should not exit(-1) from OpenOCD
mlu
2007-08-09 09:35:10 +0000
9061c08aa7- cleaned up cycle counting in ETM analysis - fixed broken OpenOCD version string
drath
2007-07-31 16:39:06 +0000
91d21d22ca- add missing configure.in change from last checkin - add usbprog example config file - update version string
drath
2007-07-31 10:09:00 +0000
dbd95cb8a2- 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)
drath
2007-07-31 10:07:32 +0000
f251b925ff- 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
ntfreak
2007-07-31 09:15:59 +0000
712be40f8d- restrict direct parallel port access to x86 platforms (thanks to Vincent Palatin)
drath
2007-07-26 09:36:17 +0000
df4b030df7- documentation fixes (thanks to Uwe Hermann) - bootstrapping changes to accomodate packaging (thanks to Uwe Hermann)
drath
2007-07-26 09:34:49 +0000
290e01c62a- 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)
drath
2007-07-25 10:06:57 +0000
1429d2c659- 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
drath
2007-07-15 11:19:33 +0000
32c6d70f6a- 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
drath
2007-06-28 10:32:58 +0000
8c290412d2- 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)
ntfreak
2007-06-24 15:04:07 +0000
ffb51c23fd- 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
drath
2007-06-21 13:15:22 +0000
ee01d04908- str9xpec driver was using stricmp, changed to strcmp for posix compatibility
ntfreak
2007-06-16 17:35:38 +0000
4b97f3cbb9- 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
ntfreak
2007-06-16 14:45:55 +0000
3d026ce943- added support for pseudo image type "mem", currently only used for etm analysis: "etm image <target#> <dummy base address> mem"
drath
2007-06-15 14:10:23 +0000
972ca49d3aAdded patch for Luminar Micors Fury class devices (Joe Kroesche) Added support for NVGM bit 2 for AT91SAM7XC128/256
mlu
2007-06-14 17:33:20 +0000
09883194f8- merged support for Cortex-M3 from cortex-m3 branch (thanks to Magnus Lundin)
drath
2007-06-14 14:48:22 +0000
53d1f9b2ca- 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)
drath
2007-06-14 09:47:00 +0000
7087b66f19- add support for ELF images (thanks to Vincent Palatin for this patch)
drath
2007-05-31 11:17:54 +0000
f94d66d7c5- reworked image handling to support multiple sections (tested with ihex file containing gaps) This checkin is still experimental, not recommended for general use
drath
2007-05-30 15:47:18 +0000
237e894805- 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
drath
2007-05-29 11:23:42 +0000
e8af4de0a7-- corrected embedded ice definitions -- changed arm966e to use standard arm9_7 reset handling
ntfreak
2007-05-10 14:42:23 +0000
054b091623- further work on ETB decoding (not yet functional) - fixed several uses of uninitialized bits (Thanks to Vincent Palatin for finding and fixing these bugs)
drath
2007-05-05 11:02:03 +0000
a1562e8f56- added support for Hitex comstick.
ntfreak
2007-04-28 08:44:22 +0000
2f7eca4707- improved ETB trace output - use BKPT instruction on cores supporting it (ARM926EJ-S, ARM966E-S) - correctly handle endianness of software breakpoint instruction
drath
2007-04-26 14:41:27 +0000
22bc5194ae- 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
drath
2007-04-25 20:15:59 +0000
04dc98916d- 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
drath
2007-04-16 14:58:16 +0000
c62e5b4c23- allow multiple USB vendor and product ids when searching for connected FT2232 based JTAG interfaces (thanks to Werner Almesberger for this patch)
drath
2007-04-16 11:28:04 +0000
999f86b92b- 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
drath
2007-04-12 13:27:23 +0000
a48a5e6d94- 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)
drath
2007-04-11 14:25:12 +0000
98da554bbd- added support for Turtelizer 2 (USB JTAG interface) (Thanks to Michael Fischer for this patch) - fixed description of arm9tdmi vector_catch command
drath
2007-03-30 09:56:31 +0000
4a5f45e87d- 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
drath
2007-03-28 16:31:55 +0000
5ed126c4f9- 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
drath
2007-03-26 21:47:26 +0000
9b13ffe4e2- added missing files for last commit
drath
2007-03-16 09:12:22 +0000
cb58279653- 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
drath
2007-03-15 13:36:44 +0000
78ecef2aed- add missing parentheses around macro parameters (thanks to Matthias Bauch for noticing this bug and providing a fix)
drath
2007-02-03 16:00:14 +0000
4102c78432- 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)
drath
2007-01-31 10:59:20 +0000
c7383a8bea- disabled use of single-step bit for EmbeddedICE version 6 cores
drath
2007-01-26 12:40:48 +0000
30ebf9fece- disabled JTAG debug output - fixed version information
drath
2007-01-25 10:32:02 +0000
81e8e44cf0- Added support for ARM926EJ-S based cores - Added contributors to AUTHORS file - Added link to Joern Kaipf's OOCD-Link
drath
2007-01-25 10:30:42 +0000
4fc97d3f27- 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
drath
2007-01-22 14:47:00 +0000
adaed4c1c7- added support for ST flashlink cable
ntfreak
2007-01-18 18:54:04 +0000
a4f2e1eaac- 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
drath
2007-01-09 17:19:41 +0000
e8947e0d13- checked in missing configure.in changes for GW16012 support
drath
2006-11-22 16:22:11 +0000
e9297b40b9- 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
drath
2006-11-22 13:03:10 +0000
83440065c0- correctly enter debug state on a "soft_reset_halt" command - several small fixes - retry reading from a FT2232 device on incomplete reads
drath
2006-11-05 17:38:35 +0000