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.

How can I get camera image data in user space program on J5eco

Hello,

I try to write a program and do image process in user space on J5eco platform.

I refer the syslink example code on my program.

It is a virtual/physical memory address translate function as follow:

----------------------------------------------------------------------------------------

Int status = 0;
ProcMgr_Handle handle = NULL;
unsigned char *hardFrameOutput0;
status = ProcMgr_open (&handle, 0);

if (status < 0)
{
        printf("ProcMgr_open error, status=0x%x\n", status);
        while(1);
}

ProcMgr_translateAddr (handle,
                   (void**)&hardFrameOutput0,
                   ProcMgr_AddrType_MasterUsrVirt,
                   (void *)M3_FRAMEBUFFER_PA_0,
                   ProcMgr_AddrType_SlaveVirt);
------------------------------------------------------------------------------------------
It always got status as ProcMgr_E_MAP.
I think maybe some initial functions I haven't done.
Someone can give me idea?
Thanks.
Jerry.