gdb --version Cannot run program "gdb"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gdb --version Cannot run program "gdb"

2,499件の閲覧回数
Sally_Wang
Contributor II

Hi:

   在S32DS中编译烧录程序时,总是出现了如下的内容:Error with command: gdb --version
Cannot run program "gdb": Launching failed。参考了https://community.nxp.com/t5/S32-Design-Studio/Cannot-run-program-quot-gdb-quot-Launching-failed/m-p...

仍然解决,在S32DS Extensions and Updates上下载的软件没有解决问题,使用J-LINK的下载软件,软件中的工程文件也无法下载。麻烦给出指导建议。

0 件の賞賛
返信
1 返信

2,491件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Sally_Wang,

请问你是否尝试过直接编译并调试S32K SDK RTM3.0.3里的ftm_pwm_s32k118例程?我这边使用板载OpenSDA装在J-Link firmware后可以正确编译并调试。以下是默认的J-Link调试配置:

GDB SEGGER J-Link Debugging Main.pngGDB SEGGER J-Link Debugging Debugger.pngGDB SEGGER J-Link Debugging Startup.png

顺便说一句,“S32K118掉电后不能启动”有没查过startup文件里是否初忘记始化RAM导致了ECC错误:Debug_Flash won't remain working after restart the board

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信