- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My requirement is to download firmware to RAM every time my application starts up. I'm using CYUSB3KIT-003 and have my J4 always closed so that I can always get the boot loader running when restart my computer or re-plug-in USB cable. Then my application find the status of the board is programmable then download firmware to RAM and it becomes 'streamerexample' in control center and my application can talks to it successfully. It works fine in this use case.
The issue is after I close my application, restart it again but now the boot loader is not running. I can't download the firmware again. I tried either CCyUSBDevice::Reset() or CCyUSBDevice::ReConnect() works. Please advice ! Very Appreciated !
Solved! Go to Solution.
- Tags:
- dowload firmware
- fx3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
- The device falls back to boot-loader mode when there is a reset event happening. This can be invoked in the firmware using the CyU3PDeviceReset() API with the isWarmReset parameter as CyFalse. This API will cause the device to be reset and fall back to boot-loader and can be implemented as a vendor command in the firmware.
- The host application should issue the vendor command request upon start-up to invoke the vendor command handler present as part of the firmware.
Please let me know if you need further information.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
- The device falls back to boot-loader mode when there is a reset event happening. This can be invoked in the firmware using the CyU3PDeviceReset() API with the isWarmReset parameter as CyFalse. This API will cause the device to be reset and fall back to boot-loader and can be implemented as a vendor command in the firmware.
- The host application should issue the vendor command request upon start-up to invoke the vendor command handler present as part of the firmware.
Please let me know if you need further information.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!