DFU host application in Linux

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

cross mob
Shafi
Level 3
Level 3
50 sign-ins First solution authored 10 questions asked

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_R
Moderator
Moderator
Moderator
First question asked First like given 250 sign-ins

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_R
Moderator
Moderator
Moderator
First question asked First like given 250 sign-ins

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