S32K144 UART callback.h:No such file or directory

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

S32K144 UART callback.h:No such file or directory

跳至解决方案
2,618 次查看
victor_song_171
Contributor III

I config the lpuart1 as serial port to communicate with PC terminal.The error like below:

1.png

problem description:

2.png

Any assistance with my thanks.

标记 (4)
1 解答
2,231 次查看
victor_song_171
Contributor III

I know what's wrong. My IDE is Version 2.0, not 2018R1.

Now the issue is solved.

Thanks for the assistance.

在原帖中查看解决方案

0 项奖励
回复
9 回复数
2,231 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

did you generate processor expert code prior building main project? Normally is calbacks.h present in devices: 

pastedImage_1.png

Jiri

0 项奖励
回复
2,231 次查看
victor_song_171
Contributor III

and if i build the debug one, the error disapear, but the RAM or FLASH one ,the error stand still.

0 项奖励
回复
2,231 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

it is strange. For  me is this example working without any issue for all targets. Can you please share your project? 

Jiri 

0 项奖励
回复
2,231 次查看
victor_song_171
Contributor III

How could i insert the project ?

pastedImage_2.png

there is no insert file.

0 项奖励
回复
2,231 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

you can attach files in advanced editor mode: 

pastedImage_1.png

Jiri

0 项奖励
回复
2,231 次查看
victor_song_171
Contributor III

In S32DS, I config clockMan1:clock_manager, pin_mux:PinSettings ,add and config the lpuart1:lpuart,like below:

微信截图_20190326105842.png

微信截图_20190326105727.png

微信截图_20190326105520.png

and then generate the code and build as FLASH ,the error apear.did i miss something to config?

0 项奖励
回复
2,231 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

you are doing it right. I went through the very same scenario: New S32DS application project, selected S32K144, selected SDK RTM 3.0.0, create project. Then I added LPUART component (requires osif and edma and confirmation of SDK version - SDK_S32K1xx_15 ), configured MUX pins and generate processor expert code. No issue for any of the available configurations (debug, debug RAM and release). 

So, can you please check if the callbacks.h file is present on your hard drive? By default it is located in c:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K1xx_RTM_3.0.0\platform\devices\ folder. If there is no such file - just uninstall SDK and install it again. 

Help -> Installation Details and select SDK RTM 3.0.0:

pastedImage_1.png

When done, Help -> Install new Software and select S32DS update site:

pastedImage_2.png

Hope it helps. 

Jiri

2,232 次查看
victor_song_171
Contributor III

I know what's wrong. My IDE is Version 2.0, not 2018R1.

Now the issue is solved.

Thanks for the assistance.

0 项奖励
回复
2,231 次查看
victor_song_171
Contributor III

Already generate the code,and the callback.h is not apeared in the devices,and the error stand still.

微信截图_20190325172858.png

Need Assistance.

0 项奖励
回复