Sunday, January 28, 2024

Termdebug does not show messaged back from openocd.

I am working with a microcontroller (stm32f4) and I am attempting to debug it by connecting Termdebug to openocd.

Everything works nicely with the exception that the messages sent back from openocd (server) to Termdebug (client) are not displayed in any Termdebug window (I expected them to be displayed in the gbd window).

For example, if I run (gdb) monitor reg I would expect to have the content of the microcontroller's registers displayed in the Termdebug's gdb window, but unfortunately that does not happen.

This is what is in my .vimrc

g:termdebug_config = {} var debugger_path = "/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.macos64_1.1.100.202310310803/tools/bin/" g:termdebug_config['command'] = debugger_path .. "arm-none-eabi-gdb"

If instead of using Termdebug I use another terminal window (I am using iTerm2) running as arm-none-eabi-gdb client connected to the same openocd server, then the messages sent back from the server are correctly displayed.

I am using MacVim 9.1.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/2c5d21df-d248-4e67-8d3a-bd07ffc057ean%40googlegroups.com.

No comments: