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.
Hi,
I try to run on target precompiled image from installed package ....\biospsp_03_01_01\drivers\examples\evm6748\audio\bin\c6748-evm\evm6748_audio_sample_c6xdsp_debug.xe674
I get follow error:
EDMA driver initialization PASS.
ti.sysbios.knl.Semaphore: line 204: assertion failure: A_badContext: bad calling context. Must be called from a Task.
xdc.runtime.Error.raise: terminating execution
The same error appear when I build example sources with CCS V7 new created project.
it occurs during createStreams(); call from Void Audio_echo_Task()
why interrupt handler contain semaphore pending call ?
...\biospsp_03_01_01\platforms\edma_if\src\SwEdmaIf.c
/* Interrupt handlers */
static void SwEdma3_cc0_complHandler ()
{
SwEDMA3_semPend (semcc0, BIOS_WAIT_FOREVER);
}
Yuri,
We are unable to reproduce the issue that you are reporting here. I was able to load the executable on the DSP after initializing the DSP and ARM GEL files and run the audio loop back demo on the EVM. Can you confirm that you ran this on the EVM platform and not on the LCDK platform?
I think the Semaphore is used to ensure that no other task can call EDMA driver APIs and modify the state until the ISR is executed.
Regards,
Rahul