Replies: 1 comment
-
|
I am currently facing the same issue, did you happen to find a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have setup Openocd with arm-none-eabi-gdb to connect to my Cortex-M4 ti_ek-tm4c123gxl board.
Everything works fine when I run the two programs in the command line and can debug without issue.
However, when I tried setting it up in neo-dap I get the following error
However, looking at the logs I see the openocd is launching and connects to the board fine and is able to send commands like continue to start the program through gdb.
However, it dosnt look like any of the break points are being setup or that neo-dap can talk to gdb.
Looking at the logs everything looks normal other then the output from Openocd should just be normal "LOG" but are showing as "ERROR" for some reason.
Here is the output from dap.log
And here is my current dap config
{ "mfussenegger/nvim-dap", config = function() local dap = require("dap") -- Configure OpenOCD as the debug adapter dap.adapters.openocd = { type = "executable", command = "openocd", args = { "-f", "board/ti_ek-tm4c123gxl.cfg", -- "-c", "program target/thumbv7em-none-eabihf/debug/lets-try-again verify exit" }, gdb_path = "arm-none-eabi-gdb", } dap.configurations.rust = { { type = "openocd", request = "launch", name = "Debug with OpenOCD", executable = "target/thumbv7em-none-eabihf/debug/lets-try-again", target = ":3333", cwd = "${workspaceFolder}", stopAtBeginningOfMainSubprogram = true, command = "continue" }, } end, }Beta Was this translation helpful? Give feedback.
All reactions