I'am using the McBSP, EDMA and SIO data stream. This works. Now I want to create a new stream but get a error message SYS_error called: error id = 0x3
I'am using the LogicPD evm board with a OMAP L138 DSP/Bios.
For testing I have build a test project with only the SIO stream in there for error tracking. Below is the code for this.
I'am getting the error: SYS_error called: error id = 0x3
What is wrong??
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dio.h>
#include <sio.h>
#include "Bioscfg.h" //BIOS include file
void Writer_Thread();
void Reader_Thread();
void testStream();
SIO_Handle mcbspOutHandle;
SIO_Attrs sioAttrs;
int main ()
{
testStream();
return 0;
}
void testStream()
{
mcbspOutHandle = NULL;
sioAttrs = SIO_ATTRS;
sioAttrs.nbufs = 1;
sioAttrs.align = 128;
sioAttrs.model = SIO_ISSUERECLAIM;
/* Create a TX channel for the transmission */
mcbspOutHandle = SIO_create("/dioMcbspOUT", SIO_INPUT, 10, &sioAttrs);
if (NULL == mcbspOutHandle)
{
LOG_printf(&LOG_MBX,"Stream Creation Failed");
}
else {
LOG_printf(&LOG_MBX,"Stream Creation OK");
}
}