trice icon indicating copy to clipboard operation
trice copied to clipboard

Improve RTT support

Open rokath opened this issue 2 years ago • 10 comments

  • Check this: https://github.com/Marus/cortex-debug/issues/456#issuecomment-887949413
  • Make an OpenOCD example
  • Update RTT doc
  • See https://interrupt.memfault.com/blog/a-deep-dive-into-arm-cortex-m-debug-interfaces

rokath avatar Mar 31 '23 12:03 rokath

The trice tool could try to connect to the GDB Server to read the RTT data directly. It may need to implement the RTT protocol then, what seems possible.

rokath avatar Mar 31 '23 14:03 rokath

A simpler way could be https://wiki.segger.com/RTT#TELNET_channel_of_J-Link_software. By directly connecting from trice, the RTT channel n is selectable within 100ms. The FF n control sequences expected to be not a problem then.

rokath avatar Apr 02 '23 03:04 rokath

https://modm.io/reference/module/modm-platform-rtt/

rokath avatar Apr 02 '23 19:04 rokath

Point 15.6 in https://openocd.org/doc/html/General-Commands.html

rokath avatar Apr 02 '23 20:04 rokath

  • Download and extract https://github.com/openocd-org/openocd/releases/tag/v0.12.0
  • Extract & add ./bin to PATH

rokath avatar Apr 04 '23 14:04 rokath

Add an ST-Link RTT example

rokath avatar Aug 06 '23 10:08 rokath

#401

rokath avatar Aug 06 '23 10:08 rokath

#415

rokath avatar Aug 06 '23 10:08 rokath

Add Linux issues doc

rokath avatar Mar 07 '24 16:03 rokath