1. 05 Mar, 2008 1 commit
    • oharboe's avatar
      * fixed malloc corruption in target->debug_reason · 6d950146
      oharboe authored
      	* GDB remote server will now remain online even if the target
      	  is in a funny state, e.g. if it requires a reset, it is
      	  running while GDB is not in the continue or step packet,
      	  e.g. via monitor resume/halt commands in GDB script.
      	* Added some _DEBUG_GDB_IO_ debug tools
      	* Fixed a couple of GDB server lockups, e.g. when O packets
      	  detect a severed connection
      	* added ACK upon connection (send +).
      	* added keep-alive messages to reset so GDB protocol remains happy.
      	* fixed crash when timing out connection to GDB
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@445 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      6d950146
  2. 04 Mar, 2008 1 commit
  3. 29 Feb, 2008 3 commits
    • oharboe's avatar
      Tweaked logging output. · d3f09192
      oharboe authored
      TODO is retired(hopelessly out of date).
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@400 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      d3f09192
    • oharboe's avatar
      - clean up target output strings a bit · 3a3fc300
      oharboe authored
      - open_file_from_path() now uses logging feature
      - open_file_from_path() no longer uses paths for anything but "r" mode. Fixes 
        bug  waiting to happen.
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@389 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      3a3fc300
    • oharboe's avatar
      Michael Bruck: · 4febcd83
      oharboe authored
      arm11
      
      --- Added burst memory transfer mode
      
      This does not explicitly query command execution but rather uses a small
      delay produced by the FT2232 on certain TAP commands.
      
      A potential failure of this process is detected afterwards and the
      program terminates with an error.
      
      'arm11 memwrite burst disable'
        can be used to switch this feature off.
      
      'arm11 memwrite error_fatal disable'
        can be used to prevent the program to exit on an memory write error
      
      
      --- Added support for interrupt breaking via VCR register
      
      Use 'arm11 vcr' command to set.
      
      
      --- Cleaned up the handling of
      
      halt/resume/step/poll, target->state, target->debug_reason,
      target_call_event_callbacks() at least as far as I could guess the
      intended behaviour from other targets.
      
      Did some overall positive tests with GDB.
      
      
      --- Added support for breakpoints
      
      Hardware breakpoints only. All breakpoints will be treated as hardware
      breakpoints.
      
      All ARM11's seem to have at least 6 hardware breakpoints.
      
      --- Stepping over BKPT added
      
      Modification to PC without touching the target.
      
      --- Stepping over a B or BL to self will do nothing
      
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@385 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      4febcd83
  4. 25 Feb, 2008 3 commits
  5. 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
  6. 22 Feb, 2008 1 commit
  7. 21 Feb, 2008 1 commit
  8. 19 Feb, 2008 2 commits
    • ntfreak's avatar
      - add search paths via new arg -s (-search). Thanks Ted Roth · 95df797b
      ntfreak authored
      - updated docs for new command
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@312 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      95df797b
    • 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
  9. 18 Feb, 2008 1 commit
    • ntfreak's avatar
      - Added a "User:" debug level. These are messages that are intended for the... · a92d27af
      ntfreak authored
      - Added a "User:" debug level. These are messages that are intended for the user and are part of normal operation.
      - Faster DEBUG/INFO() when they are disabled
      - target_read/write_buffer() now uses 16 and 32 bit access for single word aligned requests. Other requests are serviced as quickly as possible.
      - *much* faster read/write GDB packets, removing timeout problems.
      - GDB read/write packets w/single word aligned 32/16 bit access now use 32/16 bit word access.
      - working area can now be changed on the fly. Provides a way to move working area about as MMU is enabled/disabled.
      - cleaned up error messages for verify_image.
      Thanks Øyvind Harboe
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@302 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      a92d27af
  10. 09 Feb, 2008 1 commit
  11. 07 Feb, 2008 1 commit
  12. 02 Feb, 2008 1 commit
  13. 25 Jan, 2008 1 commit
  14. 24 Jan, 2008 1 commit
  15. 23 Jan, 2008 1 commit
  16. 21 Jan, 2008 1 commit
  17. 17 Jan, 2008 1 commit
  18. 29 Dec, 2007 1 commit
    • ntfreak's avatar
      - minimum autoconf 2.59 is now required and verified - due to issues with AS_HELP_STRING · 6c9b804d
      ntfreak authored
      - 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
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@246 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      6c9b804d
  19. 20 Dec, 2007 1 commit
  20. 09 Dec, 2007 1 commit
  21. 22 Oct, 2007 1 commit
  22. 08 Oct, 2007 1 commit
    • ntfreak's avatar
      - cleaned up str7, str9 and stm32 flash drivers · ce8768f4
      ntfreak authored
      - 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
      ce8768f4
  23. 10 Sep, 2007 1 commit
  24. 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
  25. 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
  26. 31 Jul, 2007 1 commit
  27. 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
  28. 24 Jun, 2007 1 commit
  29. 16 Jun, 2007 1 commit
  30. 14 Jun, 2007 2 commits
  31. 31 May, 2007 1 commit
  32. 30 May, 2007 1 commit
  33. 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
  34. 16 Apr, 2007 1 commit