I'm trying to debug a project on Kinetis Design Studio with GDB PEMicro Interface Debugging but I get this error: 'Launching myProject' has encountered a problem. Could not determine GDB version after sending: arm-none-eabi-gdb --version, response:
I formatted my computer there is a few days. And a had other computer to the same settings and it worked well.
My settings:
Eclipse Preferences -> C/C++ -> Build -> Global Tools Paths
- Build tools folder: (empty)
- Default toolchain: GNU Tools for ARM Embedded
- Toolchain folder: /opt/Freescale/KDS_v3/toolchain/bin
Eclipse Preferences -> C/C++ -> Build -> Workspace Tools Paths
- Build tools folder: empty
- Default toolchain: Global default
- Toolchain folder: empty
Project properties -> C/C++ Build -> Tools Paths
- empty
Project properties -> C/C++ Build -> Settings -> Toolchains
- Name: GNU Tools for ARM Embedded
- Architecture: ARM
- Prefix: arm-none-eabi-
- Suffix: (empty)
- Toolchain path: /opt/Freescale/KDS_v3/toolchain/bin
Project properties -> C/C++ Build -> Environment -> PATH
- Origin: BUILD SYSTEM
Debug launch configuration -> Main tab
- Project: myProject
- C/C++ Application: myProject/myProject.elf
Debug launch configuration -> Debugger tab
- GDB Client Settings -> Executable: ${cross_prefix}gdb${cross_suffix}
- Commands:
set mem inaccessible-by-default off
set tcp auto-retry on
set tcp connect-timeout 240
How can I fix it?
arm-none-eabi-gdb --version
on a console to see what happens ? (you have to have the command in the path of course) – Champlainarm-none-eabi-gdb --version
is not recognized. – Harriet