FX2LP USB dongle TS dump on windows platform

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

cross mob
KeWa_3813156
Level 2
Level 2
First like given

Dear Madam/Sir:

         We have a usb dongle application with FX2LP, we have verified our FW by VS2010 Hosts.

         But how can we dump TS file on windows platform? Does CyAPI support TS File dump ? which API should I call for TS File Dump?

         We appreciate your help/

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

We dont have any Cypress APIs for creating file dump but you can use the following Windows API which will create a dump file based on Process ID-

MiniDumpWriteDump function (minidumpapiset.h) | Microsoft Docs

You could also check the command line utility that creates a dump file for a running application-

ProcDump - Windows Sysinternals | Microsoft Docs

Best Regards,

Sananya

View solution in original post

0 Likes
3 Replies
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

We dont have any Cypress APIs for creating file dump but you can use the following Windows API which will create a dump file based on Process ID-

MiniDumpWriteDump function (minidumpapiset.h) | Microsoft Docs

You could also check the command line utility that creates a dump file for a running application-

ProcDump - Windows Sysinternals | Microsoft Docs

Best Regards,

Sananya

0 Likes

Hello:

        One more question, Does the windwos API can run with the same driver of CyAPI ?   I mean we only need to call MiniDumpWriteDump function on current CyAPI driver?

        Thank you very much

0 Likes

Hello,

The Windows API is being used on the host side and not to access the device so both libraries can be used. You can call the function with the driver and it is recommended that you used a parallel thread to call the MiniDumpWriteDump() function.

Best Regards,

Sananya