I'm trying to debug an nRF52832 chip, but it is not really going as planned. In the Embedded GDB server, I have filled in all settngs:
My custom target looks like this:
-iex "mon speed 10000"
-iex "mon flash download=1"
-iex "break main"
-iex "mon reset 0"
The Segger GDBServerCL starts very nicely, except I get the following error:
I have followed this https://www.jetbrains.com/help/clion/embedded-gdb-server.html link and my cmake lists looks like this https://github.com/elmot/clion-embedded-arm/blob/master/resources/xyz/elmot/clion/cubemx/tmpl_CMakeLists.txt
Target interface speed set to 2000 kHz
Flash download enabled
Cannot configure GDB defaults: cannot change this setting while the inferior is running
Error during pretty printers setup: Undefined info command: "pretty-printer". Try "help info".
Some features and performance optimizations will not be available.
com.intellij.execution.ExecutionException: Cannot determine architecture of the target: elf32-littlearm
Remote doesn't know how to detach
Process finished with exit code 0
GDB Server stopped, exit code -1073741510