Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
apiRetStatus is set to 64. By numbering the error codes in the error enum in the api's error.h, 64 means CY_U3P_ERROR_INVALID_DEV. Well that doesn't make much sense, but it does seem that certain functions have different sets of errors associated with them.
You can find the error code definitions in cyu3error.h
I suppose the 64 value returned is in decimal (not in hex), please check the debug print function whether it prints %d or %x in your case. 64 in decimal is 0x40 in hex which corresponds to "CY_U3P_ERROR_BAD_ARGUMENT" /**< One or more parameters to a function are invalid. */