Previously, rtt start would always fail because the target (i.e. firmware) had not been started. ``` Info : rtt: Searching for control block 'SEGGER RTT' Info : rtt: No control block found ``` When the command is 'rtt', run the binary via gdb before calling 'rtt start'. Firmware calls `SEGGER_RTT_Init()` shortly after init which allows OpenOCD to find the RTT control block. Similarly, only start the 'rtt server' after calling 'rtt start' to avoid any potential race conditions internally within OpenOCD. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com> |
||
|---|---|---|
| .. | ||
| build | ||
| checkpatch | ||
| ci | ||
| coccinelle | ||
| coredump | ||
| dts | ||
| footprint | ||
| generate_usb_vif | ||
| gitlint | ||
| kconfig | ||
| logging/dictionary | ||
| native_simulator | ||
| net | ||
| profiling | ||
| pylib | ||
| pylint/checkers | ||
| release | ||
| ruff | ||
| schemas | ||
| support | ||
| tests | ||
| tracing | ||
| utils | ||
| west_commands | ||
| .gitignore | ||
| check_maintainers.py | ||
| checkpatch.pl | ||
| checkstack.pl | ||
| coccicheck | ||
| dump_bugs_pickle.py | ||
| gen_gcov_files.py | ||
| get_maintainer.py | ||
| github_helpers.py | ||
| list_boards.py | ||
| list_hardware.py | ||
| list_shields.py | ||
| make_bugs_pickle.py | ||
| requirements-base.txt | ||
| requirements-build-test.txt | ||
| requirements-compliance.txt | ||
| requirements-extras.txt | ||
| requirements-run-test.txt | ||
| requirements.txt | ||
| series-push-hook.sh | ||
| set_assignees.py | ||
| snippets.py | ||
| spelling.txt | ||
| tags.sh | ||
| twister | ||
| valgrind.supp | ||
| west-commands.yml | ||
| zephyr_module.py | ||