1. 28 Jul, 2008 1 commit
  2. 25 Jul, 2008 1 commit
  3. 21 Jul, 2008 1 commit
    • oharboe's avatar
      · dfbb9f3e
      oharboe authored
      - jtag_khz/speed are now single parameter only. These are used
      from pre/post_reset event scripts. Adding the second parameter was
      a mistake seen in retrospect. this gives precise control in post_reset
      for *when* the post reset speed is set. The pre_reset event was
      added *after* the second parameter to jtag_khz/speed
      - the target implementations no longer gets involved in the reset mode
      scheme. Either they reset a target into a halted mode or not.
      target_process_reset()
      detects if the reset halt failed or not.
      - tcl target event names are now target_N_name.  Mainly internal
      at this early stage, but best to get the naming right now.
      - added hardcoded reset modes from gdb_server.c. I don't know precisely what
      these defaults should be or if it should be made configurable. Perhaps some
      hardcoded defaults will do for now and it can be made configurable later.
      - bugfix in cortex_m3.c for reset_run_and_xxx?
      - issue syntax error upon obsolete argument in target command instead of
      printing message that will surely drown in the log
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@849 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      dfbb9f3e
  4. 19 Jul, 2008 1 commit
  5. 25 Jun, 2008 1 commit
  6. 18 Jun, 2008 1 commit
  7. 06 Jun, 2008 1 commit
  8. 27 May, 2008 1 commit
  9. 21 May, 2008 1 commit
  10. 20 May, 2008 1 commit
  11. 19 May, 2008 1 commit
  12. 07 May, 2008 1 commit
  13. 25 Apr, 2008 1 commit
  14. 23 Apr, 2008 1 commit
  15. 16 Apr, 2008 1 commit
  16. 15 Apr, 2008 1 commit
  17. 13 Apr, 2008 1 commit
  18. 11 Apr, 2008 1 commit
  19. 09 Apr, 2008 1 commit
  20. 07 Apr, 2008 1 commit
    • oharboe's avatar
      · 2b7504c2
      oharboe authored
      - only if "reset halt" or "reset init" are issued will the reset vector be set up
      - If communication fails during assert between assert/deassert and during
      assert, warnings are printed. The warning suggests using srst_only if the
      clock locks up as that would allow the reset vector to be set up before
      asserting reset.
      
      git-svn-id: svn://svn.berlios.de/openocd/trunk@544 b42882b7-edfa-0310-969c-e2dbd0fdcd60
      2b7504c2
  21. 04 Apr, 2008 1 commit
  22. 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
  23. 31 Mar, 2008 1 commit
  24. 26 Mar, 2008 1 commit
  25. 25 Mar, 2008 1 commit
  26. 22 Mar, 2008 1 commit
  27. 13 Mar, 2008 1 commit
  28. 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
  29. 06 Mar, 2008 1 commit
  30. 05 Mar, 2008 1 commit
  31. 01 Mar, 2008 2 commits
  32. 29 Feb, 2008 1 commit
  33. 26 Feb, 2008 1 commit
  34. 25 Feb, 2008 1 commit
  35. 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
  36. 22 Feb, 2008 1 commit
  37. 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
  38. 06 Feb, 2008 1 commit
  39. 17 Jan, 2008 1 commit