Commit Graph

  • 4a070eb914 - Eleminated leading tabs/white space - Updated SVN property bodylove 2008-01-21 17:09:12 +00:00
  • 82e4477e47 - updated docs for cfi command, added missing ft2232_layout names ntfreak 2008-01-21 11:05:35 +00:00
  • 167ce32a7c - 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) mifi 2008-01-20 13:52:06 +00:00
  • 68b97e4b5c - add support for cortex_m3 target_request debugmsgs - target request handler disabled by default until a target has been registered ntfreak 2008-01-17 12:45:06 +00:00
  • 1796e1602e - add missing files from previous commit (tms470 flash driver) ntfreak 2008-01-17 08:02:02 +00:00
  • bc45295a40 - fixed 'make distcheck' (thanks to Theodore A. Roth for this patch drath 2008-01-17 07:24:05 +00:00
  • f53b986559 - added tms470 flash support (thanks to Chris Kilgour for this patch) drath 2008-01-17 07:21:09 +00:00
  • 3041bb26ed - 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) drath 2008-01-14 21:42:30 +00:00
  • 13eac429e1 - debug handler file not closed - (thanks to oyvind harboe for the patch) - arm_simulate_step called incorrect arm_evaluate_opcode when in thumb mode ntfreak 2008-01-11 20:38:43 +00:00
  • 5e9a5c0f28 - fix gdb packet retransmission omission ntfreak 2008-01-10 20:10:53 +00:00
  • 2511b52159 - _DEBUG_GDB_IO_ was left on by mistake ntfreak 2008-01-10 19:34:33 +00:00
  • 5eedf3e1ce - added faster gdb packet handling (thanks to oyvind harboe for the patch) - code reformat ntfreak 2008-01-10 19:29:52 +00:00
  • 64aac5f7e1 - added patch for faster start of OpenOCD (thanks to oyvind harboe for the patch) mifi 2008-01-10 19:10:55 +00:00
  • 0160320060 - 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 ntfreak 2008-01-09 15:58:01 +00:00
  • 2e01a1ad19 - 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 mifi 2008-01-07 17:11:11 +00:00
  • dfe1b3f314 - add support for extended gdb packet R (restart), requires gdb to be started with target extended-remote ntfreak 2007-12-29 17:41:43 +00:00
  • 6c9b804d61 - 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 ntfreak 2007-12-29 13:51:48 +00:00
  • 2ec5bd2864 - corrected working_area of LPC2129 script - added LPC2148 script - corrected size of the working_area of the LPC2294 script mifi 2007-12-21 16:21:05 +00:00
  • fe02401252 - fixed problem when write_image is called multiple times ntfreak 2007-12-20 22:20:45 +00:00
  • 55f2fe830a - 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 ntfreak 2007-12-20 16:19:10 +00:00
  • 79f25814fe - this patch allows OpenOCD running under eCos to access files via tftp (thanks to oyvind Harboe for this patch) mifi 2007-12-19 21:14:50 +00:00
  • 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 +00:00
  • 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 +00:00
  • ed1e9d6abd - only some cosmetic changes, convert \r\n to unix mifi 2007-12-17 22:12:57 +00:00
  • 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 +00:00
  • 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 +00:00
  • a66df4104e 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. mifi 2007-12-17 17:00:24 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • c8490c2099 - fixed ETM configuration register decoding drath 2007-12-16 11:52:50 +00:00
  • 55bdadcbcd - added the patch CFI-BE-Fixes-Blockwrite-Support.diff (thanks to Carsten Schlote for the patch) mifi 2007-12-14 21:32:55 +00:00
  • 7ff3a0d12e Corrected typo (to many brackets) mifi 2007-12-14 19:54:18 +00:00
  • a877c4b9f0 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. mifi 2007-12-14 19:15:32 +00:00
  • 05abd25ddc git-svn-id: svn://svn.berlios.de/openocd/trunk@228 b42882b7-edfa-0310-969c-e2dbd0fdcd60 mifi 2007-12-14 19:08:03 +00:00
  • 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 +00:00
  • 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 +00:00
  • 25ba5741f4 - Stripped trailing spaces (patch preparation) bodylove 2007-12-10 18:47:26 +00:00
  • cec738e651 - Enabled URL keyword expansion for enhanced version tracking of binary openocd images bodylove 2007-12-10 18:41:10 +00:00
  • 3fbdfeb82c - Added PKGLIBDIR define to C options. Allows to store native code fragments at a central place bodylove 2007-12-10 18:34:40 +00:00
  • 142a4a4b86 - XScale DebugHandler code is now installed into pkglibdir and loaded from there bodylove 2007-12-10 17:49:28 +00:00
  • 78d58dd16a Changed openocd version info creation to be more useful. - Now displays subversion revision and svn URL bodylove 2007-12-10 16:55:14 +00:00
  • 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 +00:00
  • 00bbf24c16 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 bodylove 2007-12-05 13:34:02 +00:00
  • ba379aa80e Do 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 +00:00
  • d6fae6fe02 - added support for Hitex STM32 Performance Stick - added str9 and stm32 scripts to docs ntfreak 2007-11-23 15:16:22 +00:00
  • 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 +00:00
  • 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 +00:00
  • e27696f6b0 - add verify_image command - add support for gdb qCRC packet (compare-sections command) ntfreak 2007-10-22 08:44:34 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • b3c593da0f - added ft2232_latency command mlu 2007-09-10 17:07:32 +00:00
  • 6ae83f5cf8 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 drath 2007-09-05 06:22:37 +00:00
  • 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 +00:00
  • ecfc1e39a2 - correctly initialize start address for XScale trace buffer decodes in fill-once mode drath 2007-08-21 16:21:05 +00:00
  • 580bb85201 - Support for AT91SAM7xx512 chips mlu 2007-08-20 11:51:12 +00:00
  • 7658f61ce7 - Support for AT91SAM7xx512 chips mlu 2007-08-20 11:43:07 +00:00
  • 222c05c924 - update file size when writing to a fileio drath 2007-08-20 10:08:08 +00:00
  • 0eb8621bf2 - renamed "xscale dump_trace_buffer" to "xscale dump_trace" and added code for it drath 2007-08-17 08:58:40 +00:00
  • 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 +00:00
  • c35cc0b8b7 - fixed several bugs in flash writing code (thanks to Pavel Chromy) drath 2007-08-16 09:09:44 +00:00
  • 708535960c - corrected automake script drath 2007-08-14 10:05:40 +00:00
  • 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 +00:00
  • abbd2b62ad - fix build issues when not using autoconf/automake to build ntfreak 2007-08-13 12:51:31 +00:00
  • 54b76e98af - bumped version information drath 2007-08-10 20:25:59 +00:00
  • 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 +00:00
  • 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 +00:00
  • 835e6440b8 - trying to remove a breakpoint with target running should not exit(-1) from OpenOCD mlu 2007-08-09 09:35:10 +00:00
  • 9061c08aa7 - cleaned up cycle counting in ETM analysis - fixed broken OpenOCD version string drath 2007-07-31 16:39:06 +00:00
  • 91d21d22ca - add missing configure.in change from last checkin - add usbprog example config file - update version string drath 2007-07-31 10:09:00 +00:00
  • 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 +00:00
  • 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 +00:00
  • eba4e394d8 - corrected stm32x_handle_options_write_command, incorrect options printed - added prepare_reset_halt handler for cortex_m3 ntfreak 2007-07-26 12:28:22 +00:00
  • 712be40f8d - restrict direct parallel port access to x86 platforms (thanks to Vincent Palatin) drath 2007-07-26 09:36:17 +00:00
  • df4b030df7 - documentation fixes (thanks to Uwe Hermann) - bootstrapping changes to accomodate packaging (thanks to Uwe Hermann) drath 2007-07-26 09:34:49 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • ee01d04908 - str9xpec driver was using stricmp, changed to strcmp for posix compatibility ntfreak 2007-06-16 17:35:38 +00:00
  • 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 +00:00
  • 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 +00:00
  • 972ca49d3a Added 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 +00:00
  • bc08425e6d - added stellaris.[ch] missing from Cortex-M3 merge drath 2007-06-14 14:49:08 +00:00
  • 09883194f8 - merged support for Cortex-M3 from cortex-m3 branch (thanks to Magnus Lundin) drath 2007-06-14 14:48:22 +00:00
  • 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 +00:00
  • 7087b66f19 - add support for ELF images (thanks to Vincent Palatin for this patch) drath 2007-05-31 11:17:54 +00:00
  • 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 +00:00
  • cf013d2e13 - add missing file src/target/trace.h drath 2007-05-29 12:29:30 +00:00
  • cbefac0be0 - add missing image handling files drath 2007-05-29 12:04:20 +00:00
  • 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 +00:00
  • e8af4de0a7 -- corrected embedded ice definitions -- changed arm966e to use standard arm9_7 reset handling ntfreak 2007-05-10 14:42:23 +00:00
  • 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 +00:00
  • a1562e8f56 - added support for Hitex comstick. ntfreak 2007-04-28 08:44:22 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00