)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"a7591f187767759d3ad7c441cbb32ebfef22960a","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":2,"id":"d97fc54d_da5933e3","updated":"2026-11-25 14:46:56.000000000","message":"Marc, please rebase","commit_id":"ffd82a7862a491461024d58499e43b447a8f6c6e"},{"author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"tomas.vanek.oocd@gmail.com","username":"vanekt"},"change_message_id":"32311eed676d67e4619e69b705f26ccdff2d9b42","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"ccdf0ded_e48805e8","in_reply_to":"d97fc54d_da5933e3","updated":"2026-11-26 07:51:54.000000000","message":"Done","commit_id":"ffd82a7862a491461024d58499e43b447a8f6c6e"}],"doc/openocd.texi":[{"author":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},"change_message_id":"0d2bb377e32aee0e43a4e172df8fa9df93f40be6","unresolved":true,"context_lines":[{"line_number":10152,"context_line":"methods."},{"line_number":10153,"context_line":"Because RTT requires background memory access, the RISC-V target must support"},{"line_number":10154,"context_line":"and use the @code{sysbus} memory access method."},{"line_number":10155,"context_line":"@xref{riscv_mem_access,,riscv mem_access} for further details."},{"line_number":10156,"context_line":"@end quotation"},{"line_number":10157,"context_line":""},{"line_number":10158,"context_line":"The data transfer between host and target device is organized through"}],"source_content_type":"text/x-texinfo","patch_set":1,"id":"bd5c0c8c_770b3542","line":10155,"updated":"2026-09-22 10:49:02.000000000","message":"Unfortunately, RISC-V specification allows for the memory to be accessible on a running target through other methods as well. I\u0027m not aware of any implementation that does this (e.g. abstract memory command access on a running target), and I\u0027m pretty sure it will stay this way. However, it\u0027s allowed, so it seems like we should not require the system bus access.\n\nBy default, the RISC-V targets try all the available access methods by default and we are working on improving the diagnostics for memory access failure.\n\nThis makes me question whether this documentation clarification is necessary. It feels like the sufficiently well-written error message on the memory access will be better.","commit_id":"8e8b8f778848ec93999eeff4914cd3fd9ce7fa5c"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"cea09246a7fa2345f4711699ad9145a9e4876086","unresolved":false,"context_lines":[{"line_number":10152,"context_line":"methods."},{"line_number":10153,"context_line":"Because RTT requires background memory access, the RISC-V target must support"},{"line_number":10154,"context_line":"and use the @code{sysbus} memory access method."},{"line_number":10155,"context_line":"@xref{riscv_mem_access,,riscv mem_access} for further details."},{"line_number":10156,"context_line":"@end quotation"},{"line_number":10157,"context_line":""},{"line_number":10158,"context_line":"The data transfer between host and target device is organized through"}],"source_content_type":"text/x-texinfo","patch_set":1,"id":"8b1687b8_10ae9db8","line":10155,"in_reply_to":"3c43566e_3030fb69","updated":"2026-10-19 09:53:17.000000000","message":"Okay, simplified the text. I think a small hint about potential issues / relation between RTT and memory access is still helpful. The documentation is not only for end users but also for contributors.","commit_id":"8e8b8f778848ec93999eeff4914cd3fd9ce7fa5c"},{"author":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},"change_message_id":"f9a1e577b106f6b9b36bf6cf0d7be49c9ffea727","unresolved":true,"context_lines":[{"line_number":10152,"context_line":"methods."},{"line_number":10153,"context_line":"Because RTT requires background memory access, the RISC-V target must support"},{"line_number":10154,"context_line":"and use the @code{sysbus} memory access method."},{"line_number":10155,"context_line":"@xref{riscv_mem_access,,riscv mem_access} for further details."},{"line_number":10156,"context_line":"@end quotation"},{"line_number":10157,"context_line":""},{"line_number":10158,"context_line":"The data transfer between host and target device is organized through"}],"source_content_type":"text/x-texinfo","patch_set":1,"id":"3c43566e_3030fb69","line":10155,"in_reply_to":"4483366d_a7e579b1","updated":"2026-10-05 10:29:14.000000000","message":"The thing is, by default all the access methods are enabled, so if a target supports memory access on a running target everything works out of the box, regardless of which exact access method is the one that enables this.\n\nWhen writing a config file for a target, some unsupported access methods can be removed from the list to speed-up and improve robustness.\n\nI see the following UX scenarios:\n1. Attempts RTT on RISC-V -\u003e gets an error message that memory access on a running target is not supported.\n2. Disables system bus access (or the other that provides the ability) and accidentally breaks the RTT.\n\nAFAIU, you are trying to guard against the (2). The thing is I don\u0027t think it\u0027s necessary:\n- It\u0027s an opt-in, not opt-out.\n- Memory access methods is not something a user is likely to change from session to session.","commit_id":"8e8b8f778848ec93999eeff4914cd3fd9ce7fa5c"},{"author":{"_account_id":1000853,"name":"zapb","display_name":"Marc Schink","email":"dev@zapb.de","username":"zapb"},"change_message_id":"d5f2e577ca48b1a4b89f40ceb95f02eb622b8278","unresolved":true,"context_lines":[{"line_number":10152,"context_line":"methods."},{"line_number":10153,"context_line":"Because RTT requires background memory access, the RISC-V target must support"},{"line_number":10154,"context_line":"and use the @code{sysbus} memory access method."},{"line_number":10155,"context_line":"@xref{riscv_mem_access,,riscv mem_access} for further details."},{"line_number":10156,"context_line":"@end quotation"},{"line_number":10157,"context_line":""},{"line_number":10158,"context_line":"The data transfer between host and target device is organized through"}],"source_content_type":"text/x-texinfo","patch_set":1,"id":"4483366d_a7e579b1","line":10155,"in_reply_to":"bd5c0c8c_770b3542","updated":"2026-09-30 11:21:04.000000000","message":"\u003e Unfortunately, RISC-V specification allows for the memory to be accessible on a running target through other methods as well. I\u0027m not aware of any implementation that does this (e.g. abstract memory command access on a running target), and I\u0027m pretty sure it will stay this way. However, it\u0027s allowed, so it seems like we should not require the system bus access.\n\nOkay, good to know but in practice `sysbus` is the way to go, right?\n\n\u003e This makes me question whether this documentation clarification is necessary. It feels like the sufficiently well-written error message on the memory access will be better.\n\nI think it\u0027s worth noting that `sysbus` or other methods that support background memory access are necessary.\nKeep in mind the documentation is also for end users and not RISC-V experts only.","commit_id":"8e8b8f778848ec93999eeff4914cd3fd9ce7fa5c"}]}
