Hi Is any body is having idea how to can interrupts in VDK for using LinkPort DMA. I did test data communication using DMA in the LinkPorts,
referenced by example code "Producer_Consumer_MP" except for Multicore process & message.
when I sarted this code it did not enter the ISR function and driver open funtion.
I don't know What is problem.
Thank you for your attend to the my linkport problem.
I am Testing this code on the EZ-KIT
According to the following Producer_Consumer_MP example
ret_val = Init(inUnion);
ret_val = Activate(inUnion);
ret_val = Open(inUnion);
int LinkPort::Init (const VDK::DispatchUnion &inUnion)
// Clear the flag bits
m_readFlags = 0;
m_writeFlags = 0;
// Create the deviceflags
m_DevFlagRead = VDK::CreateDeviceFlag();
m_DevFlagWrite = VDK::CreateDeviceFlag();
// Get the link number from the boot I/O object initializer
m_linkNo = *((long *)inUnion.Init_t.pInitInfo);
so I think This Part is Initiation of Linkport .
and procedure of Linport Driver in VDK is VDK::kIO_Init -> VDK::kIO_Open
Where do i mistake about it?
If I do not use VDK, I can use Link port in DMA mode. but I want to use LinkPort With VDK Based.
Where Can i get useful Example Code about VDK?