S32K144 UART callback.h:No such file or directory

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

S32K144 UART callback.h:No such file or directory

Jump to solution
2,288 Views
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.

1 Solution
1,901 Views
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.

View solution in original post

0 Kudos
9 Replies
1,901 Views
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 Kudos
1,901 Views
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 Kudos
1,901 Views
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 Kudos
1,901 Views
victor_song_171
Contributor III

How could i insert the project ?

pastedImage_2.png

there is no insert file.

0 Kudos
1,901 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

you can attach files in advanced editor mode: 

pastedImage_1.png

Jiri

0 Kudos
1,901 Views
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 Kudos
1,901 Views
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

1,902 Views
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 Kudos
1,901 Views
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 Kudos