1. 03 Apr, 2008 1 commit
    • oharboe's avatar
      · d3f0549f
      oharboe authored
      - Work on fixing erase check. Many implementations are plain broken.
      Wrote a default flash erase check fn which uses CFI's target algorithm
      w/fallback to memory reads. 
      - "flash info" no longer prints erase status as it is stale. 
      - "flash erase_check" now prints erase status. erase check can take a 
      *long* time. Work in progress
      - arm7/9 with seperate srst & trst now supports reset init/halt
      after a power outage. arm7/9 no longer makes any assumptions
      about state of target when reset is asserted.
      - fixes for srst & trst capable arm7/9 with reset init/halt
      - prepare_reset_halt retired. This code needs to be inside
      assert_reset anyway
      - haven't been able to get stm32 write algorithm to work. Fallback
      flash write does work. Haven't found a version of openocd trunk
      where this works.
      - added target_free_all_working_areas_restore() which can
      let be of restoring backups. This is needed when asserting
      reset as the target must be assumed to be an unknown state.
      Added some comments to working areas API
      - str9 reset script fixes
      - some guidelines
      - fixed dangling callbacks upon reset timeout 
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@536 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      d3f0549f
  2. 31 Mar, 2008 1 commit
  3. 26 Mar, 2008 1 commit
  4. 25 Mar, 2008 1 commit
  5. 22 Mar, 2008 1 commit
  6. 13 Mar, 2008 1 commit
  7. 07 Mar, 2008 1 commit
    • oharboe's avatar
      · c78b4fe4
      oharboe authored
      - Improves error handling upon GDB connect
      - switch to synchronous halt during connect. This fixes the bug
        where poll() was not invoked between halt() and servicing the
        'g' register packet
      - halt() no longer returns error code when target is already halted, just
        logs a warning. Only the halt() implementation can say anything
        meaningful about why a halt() failed, so error messages are pushed
        up to halt()
      - fixed soft_reset_halt infinite loop bug in arm7_9_common.c. The rest
        of the implementations are still busted.
      - by using USER() instead of command_print() the log gets the 
        source + line #. Nice.
      - no longer invoke exit() if soft_reset_halt fails. A reset can often 
        fix the problem.
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@475 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      c78b4fe4
  8. 06 Mar, 2008 1 commit
  9. 05 Mar, 2008 1 commit
  10. 01 Mar, 2008 2 commits
  11. 29 Feb, 2008 1 commit
  12. 26 Feb, 2008 1 commit
  13. 25 Feb, 2008 1 commit
  14. 24 Feb, 2008 1 commit
    • oharboe's avatar
      - fixed target->type->poll() return value · 1aa85468
      oharboe authored
      - added arch_state to show status of currently selected target
      - simplified target->type->arch_state() api.
      - clean up telnet output a bit
      - fixed GDB output for arch_state
      - removed a couple of unecessary exit()'s
      - cleaned up error propagation a bit in a few places
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@332 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      1aa85468
  15. 22 Feb, 2008 1 commit
  16. 19 Feb, 2008 1 commit
    • ntfreak's avatar
      - Fixed bug in pathmove for XScale · 5c0e8efa
      ntfreak authored
      - added virtual address to working_area.
      - Improved error messages in a number of places
      - Added ERROR_COMMAND_SYNTAX_ERROR that commands can return to have syntax printed
      - Added help for some config commands
      - Added verification of sw breakpoints with ERROR() message
      - Removed a couple of exit()'s and replaced with error message
      - cosmetic fix to armv4_5.c, easier to read
      - added polymorphic(with default) virt2phys and mmu enable query function to target.h
      - added virt2phys command that uses target->type->virt2phys() fn
      Thanks to Øyvind Harboe
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@310 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      5c0e8efa
  17. 06 Feb, 2008 1 commit
  18. 17 Jan, 2008 1 commit
  19. 07 Jan, 2008 1 commit
  20. 04 Dec, 2007 1 commit
  21. 22 Oct, 2007 1 commit
  22. 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
  23. 21 Jun, 2007 1 commit
  24. 29 May, 2007 1 commit
    • drath's avatar
      - split fileio handling into fileio part and image handling · 237e8948
      drath authored
      - 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
      237e8948
  25. 10 May, 2007 1 commit
  26. 05 May, 2007 1 commit
  27. 26 Apr, 2007 1 commit
  28. 25 Apr, 2007 1 commit
  29. 16 Apr, 2007 1 commit
  30. 26 Mar, 2007 1 commit
  31. 15 Mar, 2007 1 commit
    • drath's avatar
      - reworked file i/o. every fileaccess (target, flash, nand, in future... · cb582796
      drath authored
      - 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
      cb582796
  32. 22 Jan, 2007 1 commit
    • drath's avatar
      - fix incorrect parsing of whitespace in command.c (thanks to Magnus Lundin) · 4fc97d3f
      drath authored
      - 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
      4fc97d3f
  33. 07 Nov, 2006 1 commit
  34. 05 Nov, 2006 1 commit
  35. 23 Oct, 2006 1 commit
  36. 19 Oct, 2006 1 commit
  37. 12 Oct, 2006 1 commit
  38. 09 Sep, 2006 1 commit
  39. 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