IPCF sample build error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IPCF sample build error

ソリューションへジャンプ
3,573件の閲覧回数
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,485件の閲覧回数
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,752件の閲覧回数
MohamedAbdelslam
Contributor III
Hi Quentin
How did you solve the compilation errors?
0 件の賞賛
返信
3,553件の閲覧回数
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,548件の閲覧回数
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,537件の閲覧回数
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,518件の閲覧回数
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,515件の閲覧回数
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,497件の閲覧回数
Quentin2022
Contributor III

Hi,

I've solved it.

 

Thanks

0 件の賞賛
返信
3,493件の閲覧回数
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,486件の閲覧回数
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,477件の閲覧回数
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 件の賞賛
返信