S32DS S32K144_PT2001_EXAMPLE errors.

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

S32DS S32K144_PT2001_EXAMPLE errors.

3,673 次查看
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

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

3,081 次查看
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 项奖励
回复

3,072 次查看
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

 

3,069 次查看
Hwanmin
Contributor II
Thank you very much. Thanks to you, it's settled. Have a good day
0 项奖励
回复

3,640 次查看
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 项奖励
回复