Spark core cannot get wifi credentials!

Hi there! I would highly appreicate if you could help me out of my situation

I was testing a program and inbetween spark core hung up and never connected to wifi again.

I tried to clear the memory and set wifi credential through serial interface and it starts to blink blue and it blinks green continously after that .

I also tried to update the update firmware but there is no change!

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 = 25248
Download        [=========================] 100%        25600 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state

To get a clean slate, could you do a factory reset, put in your credentials (make sure you do get asked for the WiFi security options open/WEP/WPA/WPA2) and if the problem persists continue with the points outlined here
http://docs.spark.io/troubleshooting/

Even if it worked before, start from scratch re-checking your WiFi network settings, maybe an automatic router update took place, or some interfering WiFi network was set up in proximity to your own, degrading your signal quality.
The list of possible - unexpected - changes may be continued :wink:

Thanks for your reply.
I tried to do a factory reset and tired with more than one wifi routers.
Also , in every case, once I try to connect the spark core with wifi , it blinks blue and then it blinks green continously.

When entering the credentials via USB serial, do you get asked for your WiFi security setting after SSID, or does it immediately ask for the password?

Yes , there was a security selection after SSID…This is how it looked…

SSID: XXXXX
Security 0=unsecured, 1=WEP, 2=WPA, 3=WPA2: 3
Password: XXXX
Thanks! Wait about 7 seconds while I save those credentials...

Awesome. Now we'll connect!

If you see a pulsing cyan light, your Spark Core
has connected to the Cloud and is ready to go!

If your LED flashes red or you encounter any other problems,
visit https://www.spark.io/support to debug.

Spark <3 you!

I had also tried to update the CC3000’s firmware over USB but it doesn’t help aswell

D:\cc3000-patch-programmer-master\build>dfu-util -d 1d50:607f -a 0 -s 0x08005000
:leave -D cc3000-patch-programmer.bin
dfu-util 0.7-msvc

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

Invalid DFU suffix signature
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 = 25248
Download        [=========================] 100%        25600 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state

That’s very frustrating, I guess, so I don’t want to frustrate you even more, but could you just try some other things, like

  • just temporarily disable your WiFi password and enter unsecured credentials
  • shorten your SSID (if it’s more than 30char)
  • if you have MAC filtering on your router, disable that (deep update used to alter your Core’s MAC)
  • if you have a uFL Core, check if the antenna is plugged in propperly
  • check your power supply
  • When doing the factory reset it went through all the colors (yellow -> white -> rapid white -> … -> blinking blue)?
  • perform three consecutive factory resets (start to finish) without entering any credentials (this sometimes helped others)

I have a spark core with chip antenna and I had tried with unsecured wifi connections and short SSID .
Also I have connected to 1A USB supply and during factory reset it went through all the colors yellow ->white-> rapid white ->blinking blue. I tried to perform three consecutive factory resets and doesnt help too.

It looks fishy when I tried to connect the core with app, the spark core does not respond to anything.
With USB serial , it turns blinking blue->continous blinking green

Maybe it’s time to call for reinforcement :wink:

@Dave, I’m somewhat stumped, have you got any further suggestions?
I thought GFOD was a thing of the past :weary:

After updating the cc3000 firmware, did you hold mode for a second until the LED turned magenta? Just asking in case that was a step that was overlooked.

3 Likes

Apparently , I was using patch program from-> https://github.com/spark/cc3000-patch-programmer and when I used https://github.com/spark/spark-cli/blob/master/binaries/cc3000-patch-programmer.bin followed by spark_tinker , it works like a charm .

Now, I got my core breathing in cyan. Thanks a lot for your amazing support guys!!!

2 Likes