I'm working with TWR-VF65GS10 and trying to run an M4 MQX application while my main application runs on A5 core.
If I run them separately, they go fine.
When I try to run them together, the A5 application stops when the M4 is started.
I went setp to step and found out that A5 crashes when M4 DMA is started:
routine: static int edma_reset_module(int edma_module)
line of the M4 initialization that crashes the other core (A5):
|/* Halt, cancel transfer and wait until transfer is canceled */|
|DMA_CR_REG(edma_base) = DMA_CR_CX_MASK | DMA_CR_HALT_MASK;|
I'm using MQX in both cores; IAR with I-Jet or J-Link.