- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
After firmware update, open fails.
What is the proper procedure?
char p[] = "a.img";
CCyFX3Device* Fx = new CCyFX3Device();
if (Fx->IsBootLoaderRunning())
{
cout << "IsBootLoaderRunning " << endl;
if ( Fx->DownloadFw(p, RAM) == 0)
cout << "FW Success !! \n" << endl;
}
CCyUSBDevice* USBDevice = new CCyUSBDevice(NULL);
int count = USBDevice->DeviceCount();
cout << hex << "Device Count = 0x" << count << endl;
if (USBDevice->Open(0) == false)
cout << "Open Fail \n" << endl; // <---------------fail....
cout << "Finished. \n" << endl;
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The object Fx of the CCyFX3Device can itself be used after the downloading of the firmware onto the RAM. CCyFX3Device is an extension of the CCyUsbDevice class.
Please provide some delay after downloading firmware onto RAM to allow FX3 to enumerate with the new firmware.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you try Opening the device before Downloading the firmware onto it and check if the issue is seen
if(Fx->Open(0)) { //Check if boot loader is running. status = Fx->IsBootLoaderRunning(); if(status) { // Download the file C:\Bulkloop.img file to FX3 device RAM dwld_status = Fx->DownloadFw(p,RAM) } } |
Best Regards, |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The object Fx of the CCyFX3Device can itself be used after the downloading of the firmware onto the RAM. CCyFX3Device is an extension of the CCyUsbDevice class.
Please provide some delay after downloading firmware onto RAM to allow FX3 to enumerate with the new firmware.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your support.