Other Parts Discussed in Thread: OMAP3530
Hi , all
I am a newer to C6Accel. I have installed DVSDK and C6Accel, after that , I compile the test sample and run the c6accel_app file successfully.
But I still don't know how to call a c6accel API.
Such as , I just want to add two float number, or caculate the sin value of 30°.
when I try write code in the file appMain.c as follows:
float a = 1.55;
pInBuf1_16bpp = Memory_alloc(framesize, &memParams);
if(pInBuf1_16bpp == NULL) {
printf("alloc inbuf1 failed\n");
goto end;
}
else {
Memory_cacheWbInv(pInBuf1_16bpp, framesize);
}
C6accel_MATH_FTOIQN(hC6, &a, GLOBAL_Q, (int *)pInBuf1_16bpp, 1);
After I compile and run the code in OMAP3530,an error appear as follows:
DSP MMU Error Fault! MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated the interrupt = [0x80661be0].
I expect someone can help me ,thanks a lot!