Downloading program to device fails with "Error obtaining DFU functional descriptor"

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by vibe37 on Fri Apr 05 06:44:08 MST 2013

I cannot download my example binaries compiled with LPCXpresso to my LPC1769 device.  I'm using Debian 6.0.4. I think that the problem is related to dfu-util. When I do the download manually like this:

sudo dfu-util -d 0x471:df55 -c 0 t 2048 -R -D LPCX176x_cmsis2_systick_twinkle.axf
I get the following error:

dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x0471:0xdf55...
Claiming USB DFU Runtime Interface...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
WARNING: Runtime device already in DFU state ?!?
Found Runtime: [0x0471:0xdf55] devnum=6, cfg=0, intf=0, alt=0, name="UNDEFINED"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Error obtaining DFU functional descriptor: error sending control message: Broken pipe
Transfer Size = 0x1000
Starting download: [dfu_download error -32
Error during download
Any idea how to fix this?