AnsweredAssumed Answered

Vybrid with MQX: A5 crashes when M4 is started.

Question asked by Sandro Bastos on Aug 15, 2014
Latest reply on Sep 15, 2014 by alejandrolozano

Hello everybody,

 

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:

 

module: C:\Freescale\Freescale_MQX_4_1\mqx\source\io\dma\edma.c

 

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.

 

thank you,

 

Karina Valencia Aguilar

David E Seymour

Bruno Castelucci

Jose Palazzi

Outcomes