1. Aug 22, 2020
    • Tim Newsome's avatar
      Add header to debug_defines.h (#539) · 6e90a60e
      Tim Newsome authored
      * Add header to debug_defines.h
      
      Also cleaned up the Makefile so `make debug_defines.h` actually works
      right, and mentioned this make target in README.md.
      
      * Include hash in debug_defines header.
      
      * Remove end of line whitespace.
      6e90a60e
    • Tim Newsome's avatar
      Improve formatting of autogenerated C header files (#537) · 0200b271
      Tim Newsome authored
      1. Add more whitespace around << and - to satisfy OpenOCD style guides.
      2. Don't define register addresses that we don't have (e.g. in abstract
      commands).
      3. Make comments look right, with a leading space before the star.
      0200b271
  2. Aug 12, 2020
  3. Aug 06, 2020
    • Paul Donahue's avatar
      Add abstractcs.relaxedpriv (#536) · 0570f14c
      Paul Donahue authored
      * Add dmcontrol.relaxedpriv
      
      * Restore accidental whitespace changes
      
      * Build draft PDF
      
      * Point to relaxedpriv in section 4.1
      
      * Revert PDF since it didn't build nicely.
      
      * Add abstractcs.relaxedpriv
      0570f14c
  4. Jul 08, 2020
  5. Jul 01, 2020
  6. Jun 19, 2020
  7. Jun 10, 2020
  8. May 22, 2020
  9. Apr 11, 2020
  10. Apr 08, 2020
  11. Mar 24, 2020
  12. Mar 12, 2020
  13. Mar 11, 2020
  14. Feb 14, 2020
  15. Feb 12, 2020
  16. Jan 17, 2020
  17. Jan 14, 2020
  18. Jan 07, 2020
    • Tim Newsome's avatar
      Rebuild PDF. · d10d8d00
      Tim Newsome authored
      d10d8d00
    • Tim Newsome's avatar
      Clarify action=1 (enter Debug Mode) with dmode=0 (#501) · efc01438
      Tim Newsome authored
      * Recommend clearing action when dmode is cleared.
      
      Otherwise you might end up in a situation where regular software can
      control when to enter debug mode.
      
      * Recommend hardware ignore illegal triggers.
      
      * Change to use WARL.
      
      Hopefully I found some language that makes sense when csrci is used to
      clear just dmode, as well as writing a brand new value, and only changes
      action if it's actually necessary.
      efc01438
    • Tim Newsome's avatar
      Fix conflict in sbdata0/sbautoincrement definition. (#507) · 439fb93f
      Tim Newsome authored
      * Fix conflict in sbdata0/sbautoincrement definition.
      
      Autoincrement only happens if an access actually takes place.
      
      On the list, see subject:"sbaccess ambiguity".
      
      * Only increment on successful reads.
      
      This mirrors the write case, and allows debuggers to batch a large
      number of reads and only check the error bits once, at the end.
      439fb93f
  19. Dec 11, 2019
    • Tim Newsome's avatar
      Add resume groups. (#506) · d35ce106
      Tim Newsome authored
      * Add resume groups.
      
      Mostly inspired by e-mail discussion with Subject:"resume groups in
      addition to halt groups".
      
      * Clarifications requested by review.
      d35ce106
  20. Dec 07, 2019
  21. Dec 05, 2019
    • Tim Newsome's avatar
      Make haltsum0 optional if there is only one hart. (#505) · a310a37b
      Tim Newsome authored
      * Make haltsum0 optional if there is only one hart.
      
      This is not forwards compatible. Debuggers that rely on haltsum0 would
      break with this change. But it makes the debug interface on tiny 1-hart
      systems smaller, especially because it allows the number of address bits
      in the DMI to be 1 less. (Haltsum0 at 0x40 due to other efforts to
      maintain backwards compatibility.)
      
      Fixes #389.
      
      * Make language more precise.
      a310a37b
  22. Nov 27, 2019
  23. Nov 23, 2019
    • Tim Newsome's avatar
      Time may pass before dmactive becomes high. (#500) · c9c286be
      Tim Newsome authored
      * Time may pass before dmactive becomes high.
      
      This addresses a concern of how the debugger can know when hardware is
      ready to be debugged, discussed on the mailing list. subject:"Email
      discussion: how can a debugger know when a target is ready for it?"
      
      * Rephrase.
      c9c286be
  24. Nov 22, 2019
  25. Oct 09, 2019
  26. Oct 05, 2019
  27. Oct 03, 2019
    • Tim Newsome's avatar
      Rewrite/clarify DM Reset Control (#494) · d933becb
      Tim Newsome authored
      * Rewrite/clarify DM Reset Control
      
      Hopefully fixes #480.
      
      * Clarifications from review.
      
      * Another clarification.
      
      * There's no way to tell when reset has started.
      
      I don't think that's very important. If it is, we'll probably have to
      add a status bit that indicates a hart is held in reset.
      d933becb
  28. Sep 24, 2019
    • Philipp Wagner's avatar
      Fix wrong table reference (#484) · 039bd5a6
      Philipp Wagner authored
      * Fix wrong table reference
      
      The label is named dtmTable:jtagregisters, not table:jtag_registers.
      
      * Remove reference to non-existent table
      
      The referenced table was removed in
      b0420b3a.
      039bd5a6
  29. Sep 17, 2019
  30. Sep 14, 2019
  31. Sep 13, 2019
    • Philipp Wagner's avatar
      dmcontrol.hartreset is WARL, not R/W (#490) · 448de850
      Philipp Wagner authored
      The spec says about the dmcontrol.hartreset field:
       "If this feature is not implemented, the bit always
      stays 0, so after writing 1 the debugger can read
      the register back to see if the feature is supported."
      
      That makes it a WARL field not a R/W field. Changing the annotation to
      make it more obvious to the reader.
      448de850