Unable to debug S32K144 with OpenSDA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to debug S32K144 with OpenSDA

1,327 Views
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:

Spoiler
=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"

 

Labels (1)
Tags (2)
0 Kudos
2 Replies

1,289 Views
edgarJZ
Contributor I

Thanks for the reply,

I've already tried that but it change nothing.

0 Kudos

1,294 Views
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 Kudos