S32DS S32K144_PT2001_EXAMPLE errors.

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

S32DS S32K144_PT2001_EXAMPLE errors.

1,411 Views
kstuart85
Contributor I

Hello, I'm trying to build the example "S32K144_PT2001_EXAMPLE" posted here https://www.nxp.com/webapp/sps/download/license.jsp?colCode=S32K144_PT2001_EXAMPLE
and I get a couple errors.  /bin/sh: gcc command not found, and  [makefile:83: S32K144_PT2001_EXAMPLE.elf] Error 127 S32K144_PT2001_EXAMPLE m

Ive tried searching for help with no luck.  I'm new to S32DS, how can I fix this?  thanks. 

I'm using S32DS for Arm 2.2

Tags (1)
0 Kudos
4 Replies

819 Views
Hwanmin
Contributor II

I also had a problem with the example code above, so it worked very well when I followed the measures described. However, when debugging, Error with command: gdb --version
Cannot run program "gdb": Launching failed
The phrase was printed out and faced a new problem. Can you tell me the solution for this? Thank you.

0 Kudos

810 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

please make sure, that you are using the correct gdb executable prefix/suffix and debug configuration for your debug probe. Settings bellow is for PE Micro:  

${S32DS_ARM32_TOOLCHAIN_DIR}/bin/${arm32_cross_prefix}gdb${arm32_cross_suffix}

jiri_kral_0-1679555439103.png

 

807 Views
Hwanmin
Contributor II
Thank you very much. Thanks to you, it's settled. Have a good day
0 Kudos

1,378 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

The project is for very old S32DS for ARM v1.2. To migrate it to S32DS ARM v2.2 you need to change some settings in project example -  please change gcc to ${cross_prefix}${cross_c}${cross_suffix}  in Project Properties -> Settings -> Standard S32DS C Linker :

jiri_kral_0-1617694443032.png

 

Add create record option: 

jiri_kral_1-1617694631635.png

 

And remove post build step for S-record generation: 

jiri_kral_2-1617694781821.png

 

Jiri

 

0 Kudos