S32G2 IPCF debugging error

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

S32G2 IPCF debugging error

Jump to solution
1,680 Views
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!

 

 

 

 

 

 

 

 

Tags (1)
0 Kudos
Reply
1 Solution
1,554 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,555 Views
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 Kudos
Reply
1,669 Views
jack_huang1
Contributor III

Dear:

       ADD  Attach. Thank you!

0 Kudos
Reply