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.