You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cortex-debug try to start RTT before RTT initialization, so OpenOCD unable to find RTT block. But there's no connect retry after that. Even with rtt_start_retry > 0
But I able to start RTT with telnet rtt start after SEGGER_RTT_ConfigUpBuffer() during debug session and this works.
Also I have similar project with same setup (board + stlink) and this works perfectly on same host with same launch.json. Can't say what difference between projects.
Expected behavior
cortex-debug should retry connect to RTT if rtt_start_retry > 0
I am having the same issue -- also with an ST-Link and OpenOCD. It can't find RTT at first and then never retries for some reason. A hacky workaround I added is to use
"postResetCommands": [
"monitor rtt start"
]
And then manually reset the device after flashing. This gives it enough time to initialize RTT but isn't a great solution.
Describe the bug
cortex-debug try to start RTT before RTT initialization, so OpenOCD unable to find RTT block. But there's no connect retry after that. Even with
rtt_start_retry > 0
But I able to start RTT with telnet
rtt start
afterSEGGER_RTT_ConfigUpBuffer()
during debug session and this works.Also I have similar project with same setup (board + stlink) and this works perfectly on same host with same
launch.json
. Can't say what difference between projects.Expected behavior
cortex-debug should retry connect to RTT if
rtt_start_retry > 0
Environment:
launch.json
Attach text from
Debug Console
The text was updated successfully, but these errors were encountered: