I am trying to build nfcDemoApp application to run on imx6 based target using PN7150 NFC Controller. I have followed NXP AN11697 document to build kernel driver and "nfcDemoApp" application as well as install the library. When I run the demo application on the target, it says "NfcService Init Failed Leaving...".
By checking the source code, I know it is due to API function call nativeNfcManager_doInitialize() returning non-zero value. But there is no further detailed explanation of the cause in the "Linux_NFC_API_Guide.html" file.
Can anybody tell me what might be causing non-zero return value of that API function call? How do I know whether the kernel driver or the library were correctly built and installed?
Thank you.
William