1. 31 Mar, 2008 1 commit
  2. 25 Mar, 2008 1 commit
  3. 21 Mar, 2008 1 commit
  4. 14 Mar, 2008 1 commit
  5. 13 Mar, 2008 1 commit
  6. 10 Mar, 2008 1 commit
    • oharboe's avatar
      - Fixed various error handling when looking for memory leaks · 0424155d
      oharboe authored
      - Fixed memory leak in gdb_server.c
      - pushed "Error:" statements up into fn's that know something about what went wrong
      - load_image now fails if target_write_memory() fails
      - only issue an asynchronous halt() upon connect of GDB. Synchronous halt/reset
        doesn't really work as what's required to initialize the target might involve a
        special monitor sequence for the target in question
      - syntax error handling improved(fewer exit()'s)
      git-svn-id: svn://svn.berlios.de/openocd/trunk@482 b42882b7-edfa-0310-969c-e2dbd0fdcd60
  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
  8. 05 Mar, 2008 2 commits
    • oharboe's avatar
      warnings & comments fixes. · 087ccf3b
      oharboe authored
      git-svn-id: svn://svn.berlios.de/openocd/trunk@449 b42882b7-edfa-0310-969c-e2dbd0fdcd60
    • 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
  9. 04 Mar, 2008 1 commit
  10. 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
    • 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
    • oharboe's avatar
      Michael Bruck: · 4febcd83
      oharboe authored
      --- 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
      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
  11. 25 Feb, 2008 3 commits
  12. 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
  13. 22 Feb, 2008 1 commit
  14. 21 Feb, 2008 1 commit
  15. 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
    • 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
  16. 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
  17. 09 Feb, 2008 1 commit
  18. 07 Feb, 2008 1 commit
  19. 02 Feb, 2008 1 commit
  20. 25 Jan, 2008 1 commit
  21. 24 Jan, 2008 1 commit
  22. 23 Jan, 2008 1 commit
  23. 21 Jan, 2008 1 commit
  24. 17 Jan, 2008 1 commit
  25. 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
  26. 20 Dec, 2007 1 commit
  27. 09 Dec, 2007 1 commit
  28. 22 Oct, 2007 1 commit
  29. 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
  30. 10 Sep, 2007 1 commit
  31. 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
  32. 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
  33. 31 Jul, 2007 1 commit
  34. 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