PT2001

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决
2,901 次查看
danielcorrea
Contributor II

Hello everybody,

I have been struggling with the example code for the S32K144 to operate the PT2001. The example from your webpage seems to be outdated for the new version of S32 Design Studio.

This is the current version:

S32 Design Studio for ARM

Version: 2.2
Build id: 200116

These are the error codes shown:

make: *** No rule to make target 'S32K144_PT2001_EXAMPLE', needed by 'all'. Stop. S32K144_PT2001_EXAMPLE C/C++ Problem


Program "gcc" not found in PATH S32K144_PT2001_EXAMPLE [Discovery Options] page in project properties C/C++ Problem

Could someone help me with the right path or the right configuration for this product?

Thank you so much!

标签 (1)
0 项奖励
回复
1 解答
2,886 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@danielcorrea

1.orginal command path

C:\Freescale\S32_ARM_v1.2\Cross_Tools\gcc-arm-none-eabi-4_9\bin\arm-none-eabi-objcopy -O srec ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.srec

 

2.Change the path.(below is mine,you should replace it )

C:\NXP\S32DS_ARM_v2018.R1\Cross_Tools\gcc-arm-none-eabi-4_9\bin\arm-none-eabi-objcopy -O srec ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.srec

Senlent_0-1637203130128.png

BR!

     Jim,

----------------------------------------------------------------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
----------------------------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,887 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@danielcorrea

1.orginal command path

C:\Freescale\S32_ARM_v1.2\Cross_Tools\gcc-arm-none-eabi-4_9\bin\arm-none-eabi-objcopy -O srec ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.srec

 

2.Change the path.(below is mine,you should replace it )

C:\NXP\S32DS_ARM_v2018.R1\Cross_Tools\gcc-arm-none-eabi-4_9\bin\arm-none-eabi-objcopy -O srec ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.srec

Senlent_0-1637203130128.png

BR!

     Jim,

----------------------------------------------------------------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
----------------------------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,883 次查看
danielcorrea
Contributor II

Hello @Senlent thanks for your answer!

The example works now.

But I have an additional question. How could I modify the output for the Injectors and the Fuel Pump?

I have tried substituting the files generated by PT2001 Studio (*.c,*.h) in the respective folders (src,include) but that doesn't work either. I have several errors and warnings. Is the new version of PT2001 Studio compatible with the example?

Thanks.

0 项奖励
回复
2,875 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@danielcorrea

Sorry for the inconvenience that this might cause.     

I’m very sorry, I’m not familiar with PT2001.If you have S32K related questions, you can ask me.

     You can describe your problem clearly, and then post a new problem again. Experts in this area will help you.

      Regarding your first question, if it has been resolved, can I close it? 

BR!

     Jim,

 

----------------------------------------------------------------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
----------------------------------------------------------------------------------------------------------------------------------------

    

0 项奖励
回复