Announcements

Register now for the most anticipated Asia Pacific Power Seminar 2022

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

USB superspeed peripherals Forum Discussions

Shafi
Level 2
10 replies posted 10 sign-ins 5 questions asked
Level 2

Hi team,

I am using CX3 based custom board. To update the firmware I have developed a DFU host application in Windows using VS. I need to develop a host application which can update my device's firmware. I am trying replicate the windows logic in Linux but I haven't found some equivalent libraries in linux like setupapi.h etc. 

Could you please suggest me some tools to get an DFU application ?

Thank you,

Abdul.

 

0 Likes
1 Solution
Biren
Moderator
Moderator 50 solutions authored 10 likes received 100 replies posted
Moderator

Hello Abdul,

For USB DFU you can use dfu-util application which can be run in Linux and Windows both but you have to implement DFU support at CX3 Side also.

This thread may help in DFU development at CX3 Side FX3-firmware-update 

Other way you can use fwdownload_fx3 (C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\application\cpp\fwdownload_fx3) under FX3 SDK which support Windows and for Linux download_fx3.cpp (FX3_SDK_Linux\cyusb_linux_1.0.5\src\download_fx3.cpp), this can work when CX3 in USB bootloader mode using PMODE.

Regards,
Biren

View solution in original post

0 Likes
1 Reply
Biren
Moderator
Moderator 50 solutions authored 10 likes received 100 replies posted
Moderator

Hello Abdul,

For USB DFU you can use dfu-util application which can be run in Linux and Windows both but you have to implement DFU support at CX3 Side also.

This thread may help in DFU development at CX3 Side FX3-firmware-update 

Other way you can use fwdownload_fx3 (C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\application\cpp\fwdownload_fx3) under FX3 SDK which support Windows and for Linux download_fx3.cpp (FX3_SDK_Linux\cyusb_linux_1.0.5\src\download_fx3.cpp), this can work when CX3 in USB bootloader mode using PMODE.

Regards,
Biren

0 Likes