1. 25 Feb, 2008 3 commits
    • oharboe's avatar
      dos2unix fix. · bcb0124b
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@339 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      bcb0124b
    • oharboe's avatar
      - using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of places · e4821181
      oharboe authored
      - some more flash cleanup of checking halted state
      - moved output handler into options.c
      - very slightly tweaked server.c to make it a bit more compatible with eCos
      - retired arch_state. Not quite sure how I managed to leave that out last time.
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@338 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      e4821181
    • oharboe's avatar
      · 815c3b35
      oharboe authored
      - "flash write_binary" is now "flash write_bank" to clarify the focus of the
       command and reduce confusion with "flash write_image".
      - retired deprecated "flash erase" & "flash write".
      - added flash_driver_protect/write/erase() that are wafer thin frontend
       functions to low level driver functions. They implement checks
       that were inconsistently handled by the drivers, e.g. check for
       target halted was done in a spotty fashion.
      - use return ERROR_COMMAND_SYNTAX_ERROR to print out
       syntax of command instead of having lots of inlined replicas of
       the command line syntax(some of which were wrong).
      - use logging instead of dubious translation of error values to
       human understandable explanations of why things failed.
       The lower levels log the precise reason and the higher
       levels can ammend context as the error propagates up
       the call stack.
      - simplified flash API slightly with logging instead of
       allocating and returning information that the caller then
       has to translate into print statements.
      
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@337 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      815c3b35
  2. 22 Feb, 2008 1 commit
  3. 27 Jan, 2008 1 commit
  4. 17 Jan, 2008 1 commit
  5. 10 Dec, 2007 1 commit
    • mifi's avatar
      - Fixing two compiler warnings · 9c999216
      mifi authored
      - 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
      9c999216
  6. 20 Aug, 2007 1 commit
  7. 14 Aug, 2007 1 commit
    • drath's avatar
      - reworked presto.c to allow use of either FTD2XX or libftdi (libftdi not... · 29000b20
      drath authored
      - 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
      29000b20
  8. 10 Aug, 2007 1 commit
    • drath's avatar
      - renamed M5960 USB JTAG to "flyswatter" · 20e4e77c
      drath authored
      - 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
      20e4e77c
  9. 25 Jul, 2007 1 commit
    • drath's avatar
      - reformat src/jtag/bitq.c (thanks to Pavel Chromy) · 290e01c6
      drath authored
      - 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
      290e01c6
  10. 14 Jun, 2007 1 commit
  11. 26 Mar, 2007 1 commit
  12. 09 Jan, 2007 1 commit
    • drath's avatar
      - disabled FT2232 debug output (that code should be fairly stable) · a4f2e1ea
      drath authored
      - 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
      a4f2e1ea
  13. 06 Oct, 2006 1 commit
  14. 07 Sep, 2006 1 commit
  15. 31 Aug, 2006 1 commit
    • drath's avatar
      - endianess fixes everywhere but in the flash code. flashing might still be... · 3acb107b
      drath authored
      - 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
      3acb107b
  16. 17 Jul, 2006 1 commit
  17. 23 Jun, 2006 1 commit
  18. 02 Jun, 2006 1 commit