MediaTek-Labs / mt3620_m4_software

mt3620_m4_driver
Other
32 stars 29 forks source link

Problem with mbox communication #40

Closed renakim closed 3 years ago

renakim commented 3 years ago

We're developing and using an application including M4<->A7 communication based on the MT3620_RTApp_BareMetal_MBOX example. (M4<->M4 communication is not used)

However, an exceptional behavior occurred when communicating using mbox. The situation is as follows.

The problem is that this doesn't happen every time, it happens randomly during execution. When I repeated the test, the problem has also appeared after hundreds of runs.

When the mbox connection is established and data is sent from A7 through the send() function, is there a case where the transmission does not work? In this case, which part should I check?

LawranceLiu commented 3 years ago

Hi Rena, Did you modify anything of the sample code? I tried but could not reproduce this issue.

So, I tried to modify the sample code to be more aggressive. From:

Not sure if you modify anything of the sample code or do you have another board to do the same test?

LawranceLiu commented 3 years ago

Welcome to reopen it if any further discussion.