This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AM5728: McASP audio example EDMA error

Part Number: AM5728

Tool/software: Code Composer Studio

Hi

mcasp_Audio_evmAm572x_c66Example is working  after stop in step  linux boot.

but not working after completed to linux kernel booting  completed.

step

1. linux kernel booting  completed. 

2. connected dsp1 in device of CCS 

 3. out file (MCASP_Audio_evmAM572x_c66ExampleProject.out) to run in menu of ccs.

 4. happened error in  


Void Audio_echo_Task()
{
volatile int32_t i32Count, status = 0;

hMcaspDev2 = NULL;

/* 1. EDMA Initializations */
EDMA3_DRV_Result edmaResult = 0;

/* Enable all McASP events */
sampleEdma3GblCfgParams[0].dmaChannelHwEvtMap[0] |= 0xFFFFu;


hEdma_0 = edma3init(0, &edmaResult);  <----- here error 

And the following error occurs.

root@am57xx-evm:/sys/bus/platform/drivers/omap-rproc#

[ 4974.578247] omap-iommu 40d01000.mmu: iommu fault: da 0x43302400 flags 0x0
[ 4974.585073] remoteproc2: crash detected in 40800000.dsp: type mmufault
[ 4974.591721] omap-iommu 40d01000.mmu: 40d01000.mmu: errs:0x00000002 da:0x43302400 pgd:0xd49b10cc *pgd:px00000000
[ 4974.602046] remoteproc2: handling crash #1 in 40800000.dsp
[ 4974.607743] remoteproc2: recovering 40800000.dsp
[ 4974.635833] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 4974.648674] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 4974.654658] remoteproc2: stopped remote processor 40800000.dsp
[ 4974.671415] remoteproc2: powering up 40800000.dsp
[ 4974.676276] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 7945952
[ 4974.690311] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 4974.696209] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 4974.702146] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 4974.762987] remoteproc2: remote processor 40800000.dsp is now up
[ 4974.769473] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 4974.775029] remoteproc2: registered virtio2 (type 7)
[ 4974.781355] omap-rproc 40800000.dsp: received echo reply from 40800000.dsp
[ 4974.788357] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x36
[ 4974.796312] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x37
[ 4974.804308] virtio_rpmsg_bus virtio2: creating channel rpmsg-rpc addr 0x65
[ 4974.811446] rpmsg_rpc rpmsg18: probing service rpmsg-dce-dsp with src 1024 dst 101
[ 4974.819768] rpmsg_rpc rpmsg18: published functions = 9

I used psdk ti-processor-sdk-rtos-am57xx-evm-03.01.00.06

Let me know about it 

Thank you 

JW