summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* The changes allows the "script" command to be used from withinmifi2007-12-171-1/+1
| | | | | | | | | | | 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
* - removed some compiler warningsmifi2007-12-161-23/+30
| | | | | | | | - 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
* - change error message for image_open errormifi2007-12-161-5/+6
| | | | | | | - 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
* - initialize num_sectors and sectors in handle_flash_bank_command.mifi2007-12-161-1/+3
| | | | | | (thanks to oyvind Harboe for this hint) git-svn-id: svn://svn.berlios.de/openocd/trunk@233 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fixed ETM configuration register decodingdrath2007-12-161-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@232 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added the patch CFI-BE-Fixes-Blockwrite-Support.diffmifi2007-12-141-82/+302
| | | | | | (thanks to Carsten Schlote for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@231 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Corrected typo (to many brackets)mifi2007-12-141-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@230 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Sorry, I have forgotten to add a description for the last version, wheremifi2007-12-141-0/+1
| | | | | | | | | 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
* git-svn-id: svn://svn.berlios.de/openocd/trunk@228 ↵mifi2007-12-142-2/+68
| | | | b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added patch from Dominic to unlock the ATMEL flash in cfi_read_atmel_pri_extmifi2007-12-141-1/+7
| | | | | | | - 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
* - Fixing two compiler warningsmifi2007-12-104-12/+24
| | | | | | | | | - 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
* - Stripped trailing spaces (patch preparation)bodylove2007-12-102-258/+258
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@225 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Enabled URL keyword expansion for enhanced version bodylove2007-12-101-1/+1
| | | | | | | tracking of binary openocd images git-svn-id: svn://svn.berlios.de/openocd/trunk@224 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Added PKGLIBDIR define to C options. Allows to storebodylove2007-12-101-0/+1
| | | | | | | native code fragments at a central place git-svn-id: svn://svn.berlios.de/openocd/trunk@223 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - XScale DebugHandler code is now installed intobodylove2007-12-102-493/+498
| | | | | | pkglibdir and loaded from there git-svn-id: svn://svn.berlios.de/openocd/trunk@222 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Changed openocd version info creation to be more useful.bodylove2007-12-105-2/+19
| | | | | | | | | - Now displays subversion revision and svn URL git-svn-id: svn://svn.berlios.de/openocd/trunk@220 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added patch to display device information as INFO toomifi2007-12-093-9/+36
| | | | | | | | | | - 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
* Merged rev 215 changes from /branches/xscale-ixp-be into trunk:bodylove2007-12-051-3/+4
| | | | | | | | - 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
* Do not overwrite code when removing software breakpoint if it no longer ↵vpalatin2007-12-041-2/+10
| | | | | | | | | 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
* - added support for Hitex STM32 Performance Stickntfreak2007-11-232-0/+164
| | | | | | - added str9 and stm32 scripts to docs git-svn-id: svn://svn.berlios.de/openocd/trunk@213 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - reset_run now works as expected on cortex-m3ntfreak2007-11-2111-123/+2329
| | | | | | | | | - 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
* - corrected str91x bank1 programming issuesntfreak2007-10-263-61/+65
| | | | | | | | - 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
* - add verify_image commandntfreak2007-10-2218-11/+392
| | | | | | - add support for gdb qCRC packet (compare-sections command) git-svn-id: svn://svn.berlios.de/openocd/trunk@210 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - cleaned up str7, str9 and stm32 flash driversntfreak2007-10-0810-72/+236
| | | | | | | | | | | - 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
* - flash autoerase <on|off> cmd added, default is off - flash banks are ↵ntfreak2007-10-019-116/+153
| | | | | | | | | | | 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
* - Fixed display of sector sizes in flash.cmlu2007-09-107-107/+127
| | | | | | | | | - 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
* - added ft2232_latency commandmlu2007-09-101-2/+21
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@205 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Patch by Michael Schwingen thatdrath2007-09-058-39/+72
| | | | | | | | | | | | | | - 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
* - added support for setting JTAG frequency on ASIX PRESTO (thanks to Pavel ↵drath2007-08-256-221/+445
| | | | | | | | | | | | 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
* - correctly initialize start address for XScale trace buffer decodes in ↵drath2007-08-212-1/+14
| | | | | | fill-once mode git-svn-id: svn://svn.berlios.de/openocd/trunk@202 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Support for AT91SAM7xx512 chipsmlu2007-08-201-134/+231
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@201 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Support for AT91SAM7xx512 chipsmlu2007-08-201-5/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@200 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - update file size when writing to a fileiodrath2007-08-201-2/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@199 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - renamed "xscale dump_trace_buffer" to "xscale dump_trace" and added code ↵drath2007-08-173-7/+52
| | | | | | for it git-svn-id: svn://svn.berlios.de/openocd/trunk@198 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - update jtag_speed setting when changing it during runtime with a FT2232 ↵drath2007-08-166-10/+49
| | | | | | | | | | | 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
* - fixed several bugs in flash writing code (thanks to Pavel Chromy)drath2007-08-163-121/+149
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@196 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - corrected automake scriptdrath2007-08-143-3/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@195 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - reworked presto.c to allow use of either FTD2XX or libftdi (libftdi not ↵drath2007-08-1414-221/+645
| | | | | | | | | | | | | | | | 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
* - fix build issues when not using autoconf/automake to buildntfreak2007-08-131-1/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@193 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - bumped version informationdrath2007-08-101-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@192 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - changed mingw host detection to *-mingw instead of *-*-mingw to work with ↵drath2007-08-102-2/+3
| | | | | | | | | 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
* - renamed M5960 USB JTAG to "flyswatter"drath2007-08-1058-642/+1624
| | | | | | | | | | | | | | | | | | | | - 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
* - trying to remove a breakpoint with target running should not exit(-1) from ↵mlu2007-08-091-2/+11
| | | | | | OpenOCD git-svn-id: svn://svn.berlios.de/openocd/trunk@189 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - cleaned up cycle counting in ETM analysisdrath2007-07-312-12/+9
| | | | | | | | - fixed broken OpenOCD version string git-svn-id: svn://svn.berlios.de/openocd/trunk@188 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - add missing configure.in change from last checkindrath2007-07-313-1/+38
| | | | | | | | - add usbprog example config file - update version string git-svn-id: svn://svn.berlios.de/openocd/trunk@187 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - calculate cycles since last executed instruction when cycle-accurate ↵drath2007-07-317-38/+716
| | | | | | | | | | | 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
* - motorola s19 file loader addedntfreak2007-07-314-9/+276
| | | | | | | | - 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
* - corrected stm32x_handle_options_write_command, incorrect options printedntfreak2007-07-266-48/+66
| | | | | | - added prepare_reset_halt handler for cortex_m3 git-svn-id: svn://svn.berlios.de/openocd/trunk@184 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - restrict direct parallel port access to x86 platforms (thanks to Vincent ↵drath2007-07-264-12/+25
| | | | | | Palatin) git-svn-id: svn://svn.berlios.de/openocd/trunk@183 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - documentation fixes (thanks to Uwe Hermann)drath2007-07-264-17/+54
| | | | | | | - bootstrapping changes to accomodate packaging (thanks to Uwe Hermann) git-svn-id: svn://svn.berlios.de/openocd/trunk@182 b42882b7-edfa-0310-969c-e2dbd0fdcd60