My customer is using CY7C65211A as USB-SPI master on Linux.
They have some question like the following.
When isCypressDevice() is called thru printListOfDevices(), this seem to have a memory leak.
rStatus = CyOpen(0, 0, &handle);
if (rStatus == CY_SUCCESS)
printf("CyOpen Fail(%d)\n", rStatus);
[ERROR]CY:Kernel driver active on the interface number 0
if System board is connected with good device (as Cypress CY7C65211A) and called CyOpen(),
System board seems to be good working with CyClose() as rStatus == CY_SUCCESS.
but, if System board is called CyOpen() (as No device), it seems to have a memory leak.
if CY_ERROR_DRIVER_OPEN_FAILED as return value thru CyOpen() is repeated infinitely,
They would like to know if there can be happened a memory leak as symptom. also, if yes, could you please let me know method to solve memory leak?
Solved! Go to Solution.
Thank you so much for your comment.
I will ask it to them and will update if they have the issue still.