IPCF sample build error

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

IPCF sample build error

跳至解决方案
3,579 次查看
Quentin2022
Contributor III

HI:

I encountered the following error while compiling ipcf:

C:/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/Base_TS_T40D11M40I0R0/include/Platform_Types.h:56:10: fatal error: PlatformTypes.h: No such file or directory

arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/exceptions.d" -MT"Project_Settings/Startup_Code/exceptions.o" -o "Project_Settings/Startup_Code/exceptions.o" "../Project_Settings/Startup_Code/exceptions.c"
../src/sample.c:24:10: fatal error: ipcf_Ip_Cfg.h: No such file or directory

Can you tell me how to solve it

 

 

1 解答
3,491 次查看
Quentin2022
Contributor III

Hi, 

I found that the rx interrupt registered by Mcore sample is not the tx interrupt of Acore, so Acore cannot receive reply.

在原帖中查看解决方案

0 项奖励
回复
10 回复数
1,758 次查看
MohamedAbdelslam
Contributor III
Hi Quentin
How did you solve the compilation errors?
0 项奖励
回复
3,559 次查看
Quentin2022
Contributor III

Hi qnx:

This compilation issue has been resolved. But I have another problem when i send message.

root@s32g399ardb3:~# echo 10 >/sys/kernel/ipc-shm-sample/ping
root@s32g399ardb3:~# [ 384.905223] ipc-shm-sample: starting demo...
[ 384.905241] ipc-shm-sample: ch 0 >> 20 bytes: SENDING MESSAGES: 10
[ 384.905252] ipc-shm-samp
le: send_data_msg(): failed to get buffer for channel ID 1 and size 32

I can't acquire buf?

标记 (1)
0 项奖励
回复
3,554 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

What are the steps that you are following in order to run the application? Are you sending the application to the M7 core?

In the provided S32DS IPCF example, there is a "description.txt" that explains how the application is intended to be run.

Please, let us know.

0 项奖励
回复
3,543 次查看
Quentin2022
Contributor III

Hi,

I refer to the description.txt compilation and setup in uboot successfully run, but no communication success.No reply from M core

root@s32g399ardb3:~# echo 10 >/sys/kernel/ipc-shm-sample/ping
[ 225.893354] ipc-shm-sample: starting demo...
[ 225.893373] ipc-shm-sample: ch 0 >> 20 bytes: SENDING MESSAGES: 10
[ 225.893388] ipc-shm-sample: ch 1 >> 32 bytes: #0 HELLO WORLD! from KERNEL

Is there a problem with my M-core sample compilation setup?

 

0 项奖励
回复
3,524 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We are running the multi-instance project example and have the CORE 5 answering back.

Have you tried running the multi-instance example?

Please, let us know.

0 项奖励
回复
3,521 次查看
Quentin2022
Contributor III

Hi,

 multi-instance is ok.A53 can communicate with core4 core5.

What was the problem with the previous non-multi-channel?Is my version mismatched?

My linux kernel is Bsp32, linux ipcf sample is also bsp32, M core sample is IPCF_4.8.0_D2212

 

0 项奖励
回复
3,503 次查看
Quentin2022
Contributor III

Hi,

I've solved it.

 

Thanks

0 项奖励
回复
3,499 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Good to hear you got it working.

We suspect it was a problem with the versions, was this correct?

Please, let us know.

0 项奖励
回复
3,492 次查看
Quentin2022
Contributor III

Hi, 

I found that the rx interrupt registered by Mcore sample is not the tx interrupt of Acore, so Acore cannot receive reply.

0 项奖励
回复
3,483 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Thanks for your feedback.

We will provide this information to the team in charge, to verify why this is configured as it is.

Again, thanks for your feedback.

0 项奖励
回复