Tutorial: Installing DFU-Driver on Windows [24 Feb 2015]

I got to the point FW is loaded. But at the end, this show “error” messages. Is this normal ??

File downloaded successfully
Transitioning to dfuMANIFEST state
Error during download get_status

That’s a known issue with DFU but it doesn’t affect anything so simply ignore the error :slight_smile:

Yep that’s totally normal :slight_smile:

its possible to add some data to the bin file to get rid of the error, but its not really worth the hassle

1 Like

Just in case you are interested, this dfu command will add the bits to the firmware.bin file to get rid of the error. it adds some info about the dfu device, the vendor (1d50) and product (607f). this can be used to stop the wrong device being flashed if you have multiple dfu devices.

dfu-suffix -v 1d50 -p 607f -a firmware.bin

I get this:

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x1d50 product = 0x607f
Opening DFU capable USB device… ID 1d50:607f
Run-time device DFU version 011a
Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/20001Ka,108001Kg"
Claiming USB DFU Interface…
Setting Alternate Setting #0
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
error clear_status
Error writing firmware…

What are you attempting to do? Seems to ve working correctly but need to know more information of what you are doing to help you further.

I am trying to run the command:
spark flash --usb cc3000

  1. Is the core in DFU mode? (Yellowing flashing)

2.) What does dfu-util -l say?

3.) Did the firmware download when you sent the command?

I had the yellow blinking issue today. It suddenly happened for 2 of my 3 cores! Your tutorial helped me a lot though it took over 3 hours to sift through information in many pages.

Please add a line or two on installing dfu-util ( I did not use the hash for xp). Also my dfu-util -l did not print exactly the same print as yours which scared me a bit.
Also add the same info to this page: https://github.com/spark/spark-cli


Glad it helped! I have no control on what content goes on the official repo since Spark did not write this tutorial so I’ll leave it as it is :slight_smile:

1 Like

Hi I can’t find the CORE DFU driver in the Zadig when I select list all devices I have already installed the Spark CLI tool but can’t install the DFU tool. I am using Windows 8.1

Ken, thanks for this information. It worked for me. Especially checking the driver. I had a Yellow exclamation sign at the driver and deleted it. But then I came in a kind of twillight zone or chicken egg problem. I put the Spark in DFU mode and started Zadig. There I saw in the first place a combination driver for Spark and Arduino but not the driver you mentioned in this topic. I got also the message from Windows that it could not find the DFU Driver, I had deleted it. So I did a warm boot of Windows. Spark was still in DFU mode. After starting Zadig I saw the CORE DFU driver.

The big problem I had is who or which program delivers what? Who is delivering the CORE DFU. Who is delevering a Windows binary of the dfu-util.exe. Yes in the end I found it but I had problems with putting the steps and download places in the right order. I know this is not your fault, just my experience getting my Spark online. :smile:

Nevertheless your information helped me getting the driver back.

------------- edited some typos --------------

1 Like

I followed these instructions and am having problems flashing using dfu-util. I had this working at some point in the past but something has evidently changed.

Running dfu-util says
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Found DFU: [1d50:607f] ver=0200, devnum=13, cfg=1, intf=0, alt=1, name="@SPI Flash :SST25x/0x00000000/512*04Kg", serial="8D8C0F745153"
Found DFU: [1d50:607f] ver=0200, devnum=13, cfg=1, intf=0, alt=0, name="@Internal Flash  /0x08000000/20*001Ka,108*001Kg", serial="8D8C0F745153"

trying to flash spark flash --usb FIRMWARE gives

Apparently I didn't find a DFU device? util said
Error writing firmware... no dfu device found.

Device manager lists one COFE DFU device under “libusbK USB Devices” which is the CORE DFU



seems like everything installed correctly but Spark-cli didn’t seem to like it :stuck_out_tongue:

Can you try this just to be sure: dfu-util -a 0 -s 0x08005000:leave -D firmware.bin

I have a feeling that DFU-util is not in the PATH for your command prompt so when Spark-cli called for it, it’s not recognised.

Hi There;
I’ve just installed Windows 8.1 Enterprise 64 bits on my laptop, really a fresh install today, just installed Office 2013 then gone trough Windows Update, that’s all.
Then plugged my core with no effect and not seen in device manager. I put the core in smart config and same thing, not seen in device manager, So my last test was to put the core in DFU (blinking yellow) and launched Zadig 2.1.1 as administrator, no luck again, the listbox does not show me the USB Device CORE DFU (of course I checked list all devices) . I’m really stuck because did not had any problem on my Windows 7 64 bits.

Any idea, because I really don’t understand ?

Thanks for your help.

Answering to myself, problem solved, I’ve got a wrong USB cable, so make sense, with original Spark USB cable, everything is working file,

For some reason, on windows 10, even when not requiring signed drivers, the spark_core.inf driver was totally not working (exclamation point). So, I found this thread and followed it and it worked.

1 Like

@kennethlimcp. The cores we have been using got into a continuously-blinking-green mode. This tutorial has been immensely useful in getting the cores back to working mode.

My suggestion is to make this part of the standard documentation or FAQ so that it serves as a quick reference for anyone who comes across this problem. It will be nice to have a separate Troubleshooting section in the documentation part. Several such problems and solutions can be collectively presented in this. This can be very useful


1 Like

Added this recently - [Spark core] Common issues

@kennethlimcp Hi, I’m quite new to the community and have been trying to fix issues with the core for about 3 days now (it happens to be much harder than it seems!). I’ve gotten to dfu-util and have downloaded the file you’ve given, but I don’t know what I need to put into the path. I’ve put “C:\Program Files (x86)\dfu-util-0.8.tar.gz” into my path (yes, I did add the semicolon beforehand), but cmd still doesn’t recognize dfu-util. Is there anything that I’m doing wrong here? Please ask me if you need any other information. Thanks :v: