ok, so following @Hypnopompia 's post on setting up the Spark toolchain on Ubuntu 14.04, I managed to install dfu-util ver 0.7
The only one step I couldn't follow was :
Edit core-firmware/src/application.cpp and change it to your own code.
I'm not sure what that means.
I flashed the new firmware from the core-firmware/build directory, and this was the result :
dfu-util 0.7
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
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1d50:607f
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08005000, size = 73744
Download [=========================] 100% 74752 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state
I was still getting stuck at the flashing green stage, so I followed @kennethlimcp 's suggestion to use the patch from : https://github.com/spark/cc3000-patch-programmer/tree/nobuttons/build and ran :
dfu-util -d 1d50:607f -a 0 -s 0x08005000 -D cc3000-patch-programmer.bin
which resulted in this :
dfu-util 0.7
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
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1d50:607f
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08005000, size = 51548
Download [=========================] 100% 52224 bytes
Download done.
File downloaded successfully
The LED was flashing Yellow.
Pressing RESET caused the RGB LED to go OFF, and the small blue LED near the RST button to be ON.
Pressed MODE for a few seconds, and the rgb LED was flashing Magenta for a while, and then Solid Magenta (and small blue LED still ON)
I don't see Solid Magenta as being listed under the list of LED colors :
Flashing blue: Listening for Wi-Fi credentials
Flashing green: Connecting to the Wi-Fi network
Flashing cyan: Connecting to the Spark Cloud
Flashing magenta: Updating to the newest firmware
Breathing cyan: Connected!
So I went back and re-flashed from the core-firmware/build folder :
sudo dfu-util -d 1d50:607f -a 0 -s 0x08005000:leave -D core-firmware.bin
which returned me back to the flashing Green LED. Pressed mode for >3 seconds to get the Blue Flashing LED, and then ran :
spark setup
and entered my SSID, Security (WPA2) and Password. This resulted in :
Done! Your core should now restart.
Please wait until your core is breathing cyan and then press ENTER
but it's back again to flashing Green LED.
I'm about 8 feet from my WiFi router, whee my PC as well as mobile phone are able to receive the WiFi signal.
Using the Android app also results in "No Cores Found. Try Again"