There are a number of threads where the base address switching error problem has come up for the mx8mq.
Here is the one with the most similar problem to my own: https://community.nxp.com/thread/502102
In each of the threads I've found, the end solution has never been posted. Only suggestions that one might contract with nxp custom porting solutions. It seems this is a common enough occurring problem that perhaps someone who has had the problem can suggest what the solution was?
For our product, we have the same problem as mentioned in the other thread. When streaming works, it works every time we start the camera. Between camera sessions, we reset and power off our camera sensor then power it back on when it is needed. The camera streams successfully every time. When it doesn't work however, we get the 'base address switching error' and it will never work unless we reboot the device again.
It seems the device is in some state during some boot up sequences that is not correct and other times it is correct for streaming. I've compared all csi2 and mipi-csi2 registers however and see no difference. There are no errors reported for any of the mipi status registers. The meaning of the error is that an address switch occurred before the DMA transfer was completed. Does this suggest one of the clocks isn't fast enough? If so, why does it work reliably on some boot cycles and not at all on other cycles?
Any insight into what one might reset between camera runs to ensure a correct state without having to reboot would be much appreciated.
Thanks!