I am doing some initial software development on i.MX 6SoloX M4 core. In order to make software trials fast, I have simply used Lauterbach debugger to upload and run the code on M4 core. This works fine.
Now I am investigating the use of SDMA from M4 side. I am trying to run iMX6_Platform_SDK sdma test code which I have modified (mainly peripheral addresses from 0x02xx xxxx to 0x42xx xxxx) to be able to program the SDMA from M4 side. The problem is that when starting the first DMA transfer used for uploading the SDMA scripts, the SDMA code immediately enters in the Debug stage (indicated by SDMAARM_ONCE_STAT register) and stays there. Why is this happening?