Deal all,
in order to connect to S32K116 board via J-Link using S32DS , it failed and report error:
"Could not determine GDB version after sending: C:\NXP\S32DS_ARM_v2.2\eclipse\../S32DS/build_tools/gcc_v6.3/gcc-6.3-arm32-eabi/bin/arm-none-eabi-gdb --version, response: "
I use
- OS:Windows10 Pro
- Debugger: J-Link Base
- IDE: S32DS 3.5
I alread read https://community.nxp.com/t5/S32-Design-Studio/Could-not-determine-GDB-version-when-i-try-to-connect...
and to remove
warning: Couldn't determine a path for the index cache directory.
as in https://github.com/Marus/cortex-debug/issues/199 by system variable 'XDG_CACHE_HOME' as 'c:\Users\[myName]\.cache', and a result:
To verify H/W, I made a sample F/W with IAR IDE and programmed via same J-Link Base and it had no problem to do.
Please let me know how to solve this issue.
Thanks
Solved! Go to Solution.
The path displayed in the error message does not match the path to the command. The correct path is:
"C:\NXP\S32DS_ARM_v2.2\S32DS\build_tools\gcc_v6.3\gcc-6.3-arm32-eabi\bin\arm-none-eabi-gdb.exe"
Notice, the 'eclipse' folder is not in the path. Probably this is a clue to your issue.
Best Regards,
Mike
Thank you, Mr. Mike! You're the only one who helps my issue.
Frankly speaking, this issue cause from the security program at my company.
Sorry for my late response,
and have a nice day Mr. Mike!
Hello @JunchanKwon,
The information you have provided is confusing. The error message text you shared indicates you are using S32DS Arm v2.2, but the error message image shows S32DS 3.5. The error message text indicates you used GDB from GCC 6.3, however, there is no GCC 6.3 in S32DS 3.5. Please clarify the exact details of what version of GCC was used to compile the project and which version of GCC is the GDB you are using coming from. Perhaps your issue is due to some incompatible mix of GCC 6.3 and some other version of GDB?
Best Regards,
Mike
Thank you for your reply, and you are right (sorry for confusion, it's my mistake).
I tried two IDE, S32DS 3.5 and S32DS Arm 2.2. First I tried S32DS 3.5 and later I installed S32DS Arm 2.2 and tried. (I formatted my notebook pc for these trials and reinstall Windows 10...)
However I got same results as below:
and the result of gdb version command lines:
Best regards,
Junchan
The path displayed in the error message does not match the path to the command. The correct path is:
"C:\NXP\S32DS_ARM_v2.2\S32DS\build_tools\gcc_v6.3\gcc-6.3-arm32-eabi\bin\arm-none-eabi-gdb.exe"
Notice, the 'eclipse' folder is not in the path. Probably this is a clue to your issue.
Best Regards,
Mike