Unable to debug S32K144 with OpenSDA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unable to debug S32K144 with OpenSDA

2,191 次查看
edgarJZ
Contributor I

Hello everyone, I hope you can help me to solve this problem, thanks in advance.

I'm using S32K144 board, s32ds 3.4 IDE in Windows 10 with the latest updates and the examples of SDK RTM 4.0.1 but I've unable to debbug any program.

I can program my board with the .srec file and runs perfectly, also tried debbuging with Keil and runs just fine.

This is my board information:

pemicro (2).PNG

 

This is how I lauch the debbugger, also tried with "emergency kinetis device recovery by full chip erase" but I got the same result:

debugger.PNG

But I got stuck here:

status_debugger.PNG

 

And this is how the process looks, which I think is weird:

task.PNG

 

I enable GDB logging and this is how it looks:

破坏者
=cmd-param-changed,param="mem inaccessible-by-default",value="off"
^done
(gdb)
~"Exception condition detected on fd -1\n"
&"set tcp auto-retry on\n"
^done
(gdb)
~"Exception condition detected on fd -1\n"
&"set tcp connect-timeout 240\n"
^done
(gdb)
~"Exception condition detected on fd -1\n"
&"source .gdbinit\n"
&".gdbinit: No such file or directory.\n"
12^error,msg=".gdbinit: No such file or directory."
(gdb)
~"Exception condition detected on fd -1\n"
13^done
(gdb)
~"Exception condition detected on fd -1\n"

 

标签 (1)
标记 (2)
0 项奖励
回复
2 回复数

2,153 次查看
edgarJZ
Contributor I

Thanks for the reply,

I've already tried that but it change nothing.

0 项奖励
回复

2,158 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

please try to use ${cross_prefix}gdb${cross_suffix} in GDB executable text box: 

jiri_kral_0-1615299802678.png

 

Jiri

 

 

0 项奖励
回复