S32G2 IPCF debugging error

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

S32G2 IPCF debugging error

跳至解决方案
1,681 次查看
jack_huang1
Contributor III

Dear:

       The product adopts S32G274 platform, and the following problems occur when debugging IPCF:

       On the A53 core, when the system is up, it is normal to run the IPCF program manually, no error messages are printed, and data is always received. However, if the IPCF communication program is started by systemd, the write() function in IPc_send_uIO_cmd fails to be written, that is, the write operation of /dev/uio0 fails. However, the data of M can be received at this time, but the data will not be received after a while. Then A core also does not have any output, the attachment has my receive callback function and boot self-started service file and shell file.

         Screenshot of normal operation: After you log in to the A53 core using SSH, you can run it in./ipc_communication mode. Log errors are not printed, and data is normally received.

jack_huang1_0-1664348311558.jpeg

With Systemd Settings, IPCF initialization is normal, but at the beginning of the error will be reported, data can be normally received.The information is as follows:

jack_huang1_1-1664348338351.jpeg

 

After receiving it for A while, core A has no log output, and no data has been received. The M core will report the IPC_SHM_ACQUIRE_BUF failure. The information is as follows:

jack_huang1_2-1664348353343.jpeg

 

 

The ipC_SEND_UIO_cmd function returns an error in write, which prints the error log.The information is as follows:

jack_huang1_3-1664348386203.jpeg

 

The ipc_hw_irq_enalbe loop calls the ipc_send_uio_cmd function.The information is as follows:

jack_huang1_4-1664348396949.jpeg

What is the possible cause of this problem?

Attached is the relevant  information.

Thank you!

 

 

 

 

 

 

 

 

标记 (1)
0 项奖励
回复
1 解答
1,555 次查看
nxf92355
NXP Employee
NXP Employee

Hi Jack Huang

Thanks for using NXP portal. Hope that you are doing well

Are you using any example for IPCF from nxp site ? or how you run os in both Core A53 and M7. can you give steps to which help us to debugs issue ?

 

Thanks ,

Tushar

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,556 次查看
nxf92355
NXP Employee
NXP Employee

Hi Jack Huang

Thanks for using NXP portal. Hope that you are doing well

Are you using any example for IPCF from nxp site ? or how you run os in both Core A53 and M7. can you give steps to which help us to debugs issue ?

 

Thanks ,

Tushar

0 项奖励
回复
1,670 次查看
jack_huang1
Contributor III

Dear:

       ADD  Attach. Thank you!

0 项奖励
回复