CYAPI on Universal Windows Platform

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I want to use our SDK on UWP, CyAPI is compiled into our SDK, but I find that the calling of CreateFile in Cypress's SDK failed with error ERROR_ACCESS_DENIED, then I replace it with CreateFile2, but I get error ERROR_PATH_NOT_FOUND,do you have way to work around this and make your SDK work on UWP. 
Thanks for your help.

0 Likes
5 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

   

Can you refer to the msdn article in the following link where the error "ERROR_ACCESS_DENIED" is explained.

   

https://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx

   

​Can you check that and let us know if the error persists. If it still exists can you share the project?

   

Regards,

   

Hemanth

Hemanth
0 Likes
Anonymous
Not applicable

Thank you for your reply!

   

Finally I find it's device accessor problem, now I can open device in UWP program by edit registry as below article:

   

https://developer.microsoft.com/en-us/windows/iot/Samples/CustomDeviceAccessor

   

   

Now the problem is I want to port our device to Win10 IOT platform, but we only have x86/x64 driver in Cypress\EZ-USB FX3 SDK\1.3\driver\bin, can you provide driver for ARM platform's Windows?

   

Thanks in advance!

0 Likes

Hi Hemanth,

I have been having some problems compiling an app with CyAPI.lib,  as I described here:

Compiling apps with CyAPI for windows IOT Core ARM

Could you help me in any way?

Best Regards,

Bruno

0 Likes
lock attach
Attachments are accessible only for community members.
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Please find the attached cyusb3 driver for ARM platform. Password: cypress

   

This is not a tested driver. You need to test it.

   

 

   

Regards,

   

hemanth

Hemanth
Anonymous
Not applicable

Got it! Thank you very much!

0 Likes