This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: [6.2.00.21-SDK] About Vision-APP IPC question

Part Number: TDA4VM
Other Parts Discussed in Thread: SYSBIOS

Hello there,

Recently i am using 6.2.00.21-SDK, and meets following questions:

After compiled vision app, created SD card; and run the vision-app, found:

1. in dmesg: It shows all firmware are works in IPC-only mode; seems it enables ipc echo test automatically.

 what's the ipc-only mode?

2. Use my own C71 IPC test firmware replace the one in /lib/firmware/j7-c71_0-fw. and found only 8bytes can be received in C71 via ipc; it there any limitation code/macro in it?

3. is there any loop count setting for the ipc echo test, or it just a infinite test?

4. I also tracked HWI No.5 and No.6 in C71 are enabled. what's HWI No5,6 stands for? 

Best Regards

Samuel

  • Hi Samuel,

    lei fu1 said:

    1. in dmesg: It shows all firmware are works in IPC-only mode; seems it enables ipc echo test automatically.

     what's the ipc-only mode?

    "IPC-only" mode means that the firmware that is using IPC was not loaded by remoteproc.

    lei fu1 said:

    2. Use my own C71 IPC test firmware replace the one in /lib/firmware/j7-c71_0-fw. and found only 8bytes can be received in C71 via ipc; it there any limitation code/macro in it?

    The size of the message that can be sent is up to 512 bytes. Where are you seeing the limitation of 8 bytes in your firmware?

    lei fu1 said:

    3. is there any loop count setting for the ipc echo test, or it just a infinite test?

    You can change the number of echos that are performed between remote cores by modifying the value of NUMMSGS in the example code in examples/common/src/ipc_testsetup.c

    If you are referring to the rpmsg_client_sample, you can change the number by specifying the count value while insmoding the sample:

        modprobe rpmsg_client_sample count=5

    lei fu1 said:

    4. I also tracked HWI No.5 and No.6 in C71 are enabled. what's HWI No5,6 stands for? 

    If you are asking what interrupts IPC is using, IPC will register interrupt handlers for interrupts from mailboxes that it uses for IPC communication. This is done using the SYSBIOS HWI module.

    Thanks,

    Angela

  • HI Angela,

    Thanks a lot for the reply!

    Best Regards,

    Samuel

  • Hi Angela,

    I just free from other affairs, Now we still face the No2 issue, C71 only can receive 8bytes ipc msg form A72 in vision app test environment.  I already provided example code and test steps to TI-FAE: Zhong Ming, I believe he will contact you soon.

    Hope you can help me figure it out soon!

    Thanks a lot!

    Best Regards,

    Samuel.