IPCF sample build error

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

IPCF sample build error

Jump to solution
3,590 Views
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 Solution
3,502 Views
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.

View solution in original post

0 Kudos
Reply
10 Replies
1,769 Views
MohamedAbdelslam
Contributor III
Hi Quentin
How did you solve the compilation errors?
0 Kudos
Reply
3,570 Views
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?

Tags (1)
0 Kudos
Reply
3,565 Views
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 Kudos
Reply
3,554 Views
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 Kudos
Reply
3,535 Views
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 Kudos
Reply
3,532 Views
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 Kudos
Reply
3,514 Views
Quentin2022
Contributor III

Hi,

I've solved it.

 

Thanks

0 Kudos
Reply
3,510 Views
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 Kudos
Reply
3,503 Views
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 Kudos
Reply
3,494 Views
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 Kudos
Reply