2414748_en-US

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

2414748_en-US

2414748_en-US

IPCF setup between R52_0_0 and R52_0_1

Trying to set up IPCF project between 2 R52 RTU0 cores. Facing issues with core sync and MRU IRQ not being hit. I am attaching my .mex file for reference. Can you please help me resolving the issues. currently I have 2 issues:

1. Core 0 and Core 1 sync issues , race issues.

2. IRQ firing is not proper, unsure if I have used the right MRU channels. 

Re: IPCF setup between R52_0_0 and R52_0_1

Hi,PrabhanjanKopp

Thank you for contacting us.

1.Before sending, the function ipc_shm_is_remote_ready() should be called to confirm that the remote end is ready.

2.It is necessary to refer to the S32Z2 manual to confirm the respective MRU instance and channel for core 0 and core 1 of the RTU0.

Could you tell me the version of S32DS/RTD/IPCF you are using? If possible, could you send your IPCF project to me? It is better help to check it and handle this issue.

BR

Joey

Re: IPCF setup between R52_0_0 and R52_0_1

PrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.pngPrabhanjanKopp_0-1789991578266.png


I use the S32E2 controller eval board. I suspect I am missing some configuration. It seemed to work on SMU-R52 but not here, Please have a look and get back if you see something wrong. Some transport code has been added on top of IPCF framework.

Re: IPCF setup between R52_0_0 and R52_0_1

Any update on this? @Joey_z 

Re: IPCF setup between R52_0_0 and R52_0_1

Hi,PrabhanjanKopp

I have preliminarily inspected your project and noticed that there is a conflict in the address allocation of your two projects. The .intc_vector is at the same address, and running two cores simultaneously would cause a conflict.

BR

Joey

Re: IPCF setup between R52_0_0 and R52_0_1

Hi,PrabhanjanKopp

I'm currently assisting you in checking the issues. This will raise the priority of this case.

I'll get back to you once there's any progress!

BR

Joey

Re: IPCF setup between R52_0_0 and R52_0_1

Hi,PrabhanjanKopp

I am helping you to check and reproduce the problem, and I can reply to you when there is progress!

BR

Joey

Re: IPCF setup between R52_0_0 and R52_0_1

Hi Joey,
can you point me to the code where this repeated initialization of interrupt resource? Can you also verify if the MRU channels I have used for the communication are actually correct? If you can give me a pseudocode to do a proper initialization of interrupt resource, it would be most helpful. 


Thanks,

Prabhanjan

Re: IPCF setup between R52_0_0 and R52_0_1

Hi,PrabhanjanKopp

I'm very sorry for the late reply.

After checking your project, both projects have undergone resource initialization, which can easily lead to resource conflicts, including the repeated initialization of interrupted resources. Please check the relevant resource settings.

Another way to test the IPCF project is to use the clipped GreenVIP program to avoid the synchronization of resource initialization.

Hope this information can help you.

BR

Joey

Re: IPCF setup between R52_0_0 and R52_0_1

Hi,PrabhanjanKopp

Thank you for your reply.

Sorry, we did not provide the pseudo code you mentioned. And not was an existing demo for IPCF setup between R52_0_0 and R52_0_1 provided. Please try to set the required interrupts in the Platform interrupt configuration for the two projects. The MRU channels settings did not reveal obvious issues; However, further testing is also necessary. 

Recently, I will be on vacation. If you need my continued support, I will be back on October 8th. If you are in a hurry, you can create a new ticket.  My colleagues who are currently working normally will assist you with your new ticket.

I apologize for the inconvenience caused.

BR

Joey

タグ(1)
評価なし
バージョン履歴
最終更新日:
金曜日
更新者: