S32DS S32K144_PT2001_EXAMPLE errors.

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

S32DS S32K144_PT2001_EXAMPLE errors.

3,672件の閲覧回数
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,080件の閲覧回数
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,071件の閲覧回数
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,068件の閲覧回数
Hwanmin
Contributor II
Thank you very much. Thanks to you, it's settled. Have a good day
0 件の賞賛
返信

3,639件の閲覧回数
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 件の賞賛
返信