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.
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:
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:
The ipC_SEND_UIO_cmd function returns an error in write, which prints the error log.The information is as follows:
The ipc_hw_irq_enalbe loop calls the ipc_send_uio_cmd function.The information is as follows:
What is the possible cause of this problem?
Attached is the relevant information.
Thank you!
已解决! 转到解答。
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
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