Other Parts Discussed in Thread: SEGGER
Tool/software:
I’ve been working with CLion and OpenOCD/GDB-multiarch and there are a bunch of issues that I need help resolving.
I understand TI is not familiar with CLion, but I’m hoping you have the expertise to help point me in the right direction on these issues.
There are definitely several issues that need to be explained, but the one that did not have a workaround is the debugger generating errors whenever the ARM core “Registers” are updated.
Whenever the applications automatic “Registers” group of registers are updated it generates the following errors on the GDBserver. See the Clion video attached.
Error: data abort at 0xb0622de7, dfsr = 0x00000008 Error: data abort at 0x00008004, dfsr = 0x00000409 Error: data abort at 0xb0622de7, dfsr = 0x00000008 Error: data abort at 0x00008004, dfsr = 0x00000409
Looks like CLion is trying to access a couple of invalid address when the Registers is updated. I’m hoping the Registers list is something that can be found in OpenOCD .cfg or something like armv4_5.c, and it’s something that just needs to be fixed for the R5 core.
Thanks for any help.
PS. I will be contacting CLIon/Jetbrains as well. But they may say a generic function is called and it’s an MCU implementation issue. Please provide any information that may help.
Additional information that may help:
- When using OpenOCD and gdb-multiarch from WSL shell manually, running “info registers” does not generate these errors. See WSL video attached
- But not sure if this is the same command used in CLion when “Registers” is updated
- Here is a list of the registers updated in CLion