AnsweredAssumed Answered

i.MX6 freeze on IDMAC transfers

Question asked by Albrecht Uhlmann on Jan 26, 2018
Latest reply on Jan 30, 2018 by igorpadykov

Hello all,

we have implemented a camera driver for the i.MX6 CSI parallel interface. Pictures are transferred from IPU to System RAM by IDMAC double-buffer scheme. Software gets notified whenever a buffer is full. It then activates the other buffer for the next picture while it harvests the latest picture from the buffer being notified.

Now, we have a situation where the IPU seems to freeze, it doesn't generate any interrupts anymore, or even worse the whole processor gets locked up and freezes until the watchdog resets it.


Our question is: We have the assumption that the double-buffer scheme can come out of sync, and in that case the software would read the same buffer that the IDMAC is writing to at the same time. Can this lead to a system lockup (e.g. issues with AXI bus being accessed from two peripherals at once)?


Thank you and best regards,