- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Working on porting some windows code based on CyAPI for the FX3 to cyusb Linux library. Looking around the cyusb library I don't see a equivalent function to IsBootLoaderRunning(). Does one exist or is there a way I can use the existing cyusb functions to get the same information?
Thanks for any pointers
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can use the control IN transfer and A0 vendor command to check if the bootloader is running.
Do a control IN Transfer with:
length = 1.
reqCode = 0xA0;
If the transfer is success then the bootloader is running else no.
Please refer to the below code where the mentioned method is used in Windows Cpp using CyAPI.lib
Thanks,
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can use the control IN transfer and A0 vendor command to check if the bootloader is running.
Do a control IN Transfer with:
length = 1.
reqCode = 0xA0;
If the transfer is success then the bootloader is running else no.
Please refer to the below code where the mentioned method is used in Windows Cpp using CyAPI.lib
Thanks,
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Worked exactly as expected thanks!