# Failed connecting to WiFi

**URL:** <https://community.particle.io/t/failed-connecting-to-wifi/648>\
**Category:** Troubleshooting\
**Created:** [December 11, 2013, 11:11am UTC](https://community.particle.io/t/failed-connecting-to-wifi/648 "2013-12-11T11:11:10Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![russel2512](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@russel2512](https://community.particle.io/u/russel2512)\
**Post date:** [December 12, 2013, 6:39pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/41 "2013-12-12T18:39:26Z")

</div>

Router is in mixed mode. Handing out 192.168.0.x addresses.  
Did the device reset (Both buttons, then hold mode for 10 seconds).  
Tried app on Samsung Galaxy 3 phone also.  
For the USB connection I did the above reset. Connected to the device. w SSID password (copied and pasted from the router screen - WEP)  
Device was slow blue pulse and flashes fast green.  
I’ve let it sit flashing green for 15+ minutes with no change.

---

<div class="post-metadata">

**Author:** ![Blocky82](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@Blocky82](https://community.particle.io/u/Blocky82)\
**Post date:** [December 12, 2013, 6:47pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/42 "2013-12-12T18:47:25Z")

</div>

@zach GitHub username is Blocky82  
Cheers

---

<div class="post-metadata">

**Author:** ![zach](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/zach/32/20714_2.png) [@zach](https://community.particle.io/u/zach)\
**Post date:** [December 12, 2013, 6:52pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/43 "2013-12-12T18:52:03Z")

</div>

Interesting that both @nigle and @russel2512 have WEP security. That might not be a coincidence… can everyone else in the thread please share the security type? Also those reports are extremely helpful, thanks guys!

---

<div class="post-metadata">

**Author:** ![Blocky82](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@Blocky82](https://community.particle.io/u/Blocky82)\
**Post date:** [December 12, 2013, 7:05pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/44 "2013-12-12T19:05:40Z")

</div>

Security setting on my home WiFi is WPA & WPA2, tried at work as well with same results for both cores (one stuck at flashing green, one connecting with no probs) but not sure what security is there

---

<div class="post-metadata">

**Author:** ![topfunky](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/topfunky/32/20953_2.png) [@topfunky](https://community.particle.io/u/topfunky)\
**Post date:** [December 12, 2013, 7:07pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/45 "2013-12-12T19:07:19Z")

</div>

At the risk of stating the obvious, I’ve found that the u.FL Core without an antenna plugged in only gets about 6-8ft of reception. So you need to literally be sitting right next to your Wifi router to get a good connection (or use an antenna).

If you do that, it works for me (sample size of 1).

---

<div class="post-metadata">

**Author:** ![russel2512](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@russel2512](https://community.particle.io/u/russel2512)\
**Post date:** [December 12, 2013, 7:22pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/46 "2013-12-12T19:22:25Z")

</div>

Mine is without an antenna. The device is 2’ from the router.

I checked my router IP list. What should the device name show up as? I seem to be seeing only my household devices.

---

<div class="post-metadata">

**Author:** ![markj](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/markj/32/346_2.png) [@markj](https://community.particle.io/u/markj)\
**Post date:** [December 12, 2013, 8:44pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/47 "2013-12-12T20:44:52Z")

</div>

Appears to be in mixed mode;

(tried attaching screen shot but not allowed, tried url to .png, also not allowed)

Also just tried switching to b/g mixed, no dice.

Thoughts?

---

<div class="post-metadata">

**Author:** ![will](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/will/32/23374_2.png) [@will](https://community.particle.io/u/will)\
**Post date:** [December 12, 2013, 9:12pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/48 "2013-12-12T21:12:54Z")

</div>

Hello everyone! Just wanted to let you all know that we’ve found at least one possible solution to those Cores that flash green when all other settings and network conditions are correct. We were able to get a Core to connect by re-running the patch programmer which updates the firmware of the CC3000, and are going to make that patch available to everyone in the next few hours. We’ll be posting a new topic in the community with full instructions, so hold tight a little longer. Hoping that this fix helps out a bunch of people that are seeing this issue 😃

---

<div class="post-metadata">

**Author:** ![russel2512](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@russel2512](https://community.particle.io/u/russel2512)\
**Post date:** [December 12, 2013, 9:19pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/49 "2013-12-12T21:19:11Z")

</div>

Thanks for the fast response. My poor Core has been in the house less than 24 hours and he wants to get to work (or fun).

---

<div class="post-metadata">

**Author:** ![aarphacker](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/aarphacker/32/120_2.png) [@aarphacker](https://community.particle.io/u/aarphacker)\
**Post date:** [December 12, 2013, 9:40pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/50 "2013-12-12T21:40:47Z")

</div>

it was in listening mode and it indicated it was connected but it would np take either command - nothing happened

---

<div class="post-metadata">

**Author:** ![will](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/will/32/23374_2.png) [@will](https://community.particle.io/u/will)\
**Post date:** [December 12, 2013, 9:47pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/51 "2013-12-12T21:47:39Z")

</div>

I’ve seen some issues where the Core isn’t responding over serial that are resolved by shutting down the serial connection but leaving the program open, unplugging the Core from USB, plugging it back in, and re-scanning serial ports, and giving it another try. If your Core is still unresponsive to both “i” and “w” commands, it doesn’t resolve the issue, or you’ve already done this, then I would suggest holding tight until we’re able to provide the patch programmer fix to everyone later today.

---

<div class="post-metadata">

**Author:** ![visualdensity](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/visualdensity/32/21007_2.png) [@visualdensity](https://community.particle.io/u/visualdensity)\
**Post date:** [December 12, 2013, 11:20pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/52 "2013-12-12T23:20:59Z")

</div>

Just want to drop a note to say thanks to the Spark team for being so great at keeping the communication responsive and the feedback loop tight. I feel assured that you guys are not running away but actively seeking and working hard to help us resolve these issues.

It’s really appreciated. At least by me. 😊

Again thanks and please keep the awesome comms going! Look forward to the patches soon.

---

<div class="post-metadata">

**Author:** ![zach](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/zach/32/20714_2.png) [@zach](https://community.particle.io/u/zach)\
**Post date:** [December 13, 2013, 3:36pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/53 "2013-12-13T15:36:03Z")

</div>

Thanks @visualdensity, appreciate the kind words!

Ok everyone, we believe we’ve got a fix. We had a Core in the office that was misbehaving in the same way that some of you have described (flashing green despite all intervention), and we fixed it by applying the CC3000 firmware patch.

This firmware patch was supposed to be applied during manufacturing, but it seems that it might not have been successful on a small number of Cores. In the future we will revise our testing/programming process to ensure the patch is applied successfully.

Before I share the patch, keep in mind - there are lots of reasons why your Core would be flashing green, and most of them are simply due to an inability to reach the Wi-Fi access point (no antenna, too far away, not enough power, wrong password, etc.). Before applying this patch, _please_ complete all steps in the troubleshooting documentation first:

[http://docs.spark.io/#/connect/troubleshooting](http://docs.spark.io/#/connect/troubleshooting)

Ok with all that said, here’s the patch!

> **[particle-iot-archived/cc3000-patch-programmer](https://github.com/particle-iot-archived/cc3000-patch-programmer)**
>
> TI Patch Programmer, ported to STM32. Contribute to particle-iot-archived/cc3000-patch-programmer development by creating an account on GitHub.

Follow the **Quick Deploy** instructions in the README to apply the patch to your Core:

> **[particle-iot-archived/cc3000-patch-programmer](https://github.com/particle-iot-archived/cc3000-patch-programmer#quick-deploy)**
>
> TI Patch Programmer, ported to STM32. Contribute to particle-iot-archived/cc3000-patch-programmer development by creating an account on GitHub.

Over the next couple of weeks, we’ll wrap this and all of the other command-line nasties in a prettier tool so they’re not such a pain. However if you’re eager to get started, try this, and let us know how it goes!

---

<div class="post-metadata">

**Author:** ![developer\_bt](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/developer_bt/32/1311_2.png) [@developer\_bt](https://community.particle.io/u/developer_bt)\
**Post date:** [December 13, 2013, 6:57pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/54 "2013-12-13T18:57:47Z")

</div>

Hello,

I still have not received my Spark and I do not have problem but I want to help on this issue.  
I found this tool for windows (DfuSe) so I want to ask whether it can be used for update?  
If working with Spark this would be a good solution for users of Windows!  
The software has a tool for converting HEX and Bin files in DFU format.

More details on the following link : [http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916](http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916)

---

<div class="post-metadata">

**Author:** ![wdj](https://avatars.discourse-cdn.com/v4/letter/w/a3d4f5/32.png) [@wdj](https://community.particle.io/u/wdj)\
**Post date:** [December 13, 2013, 9:54pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/55 "2013-12-13T21:54:16Z")

</div>

I’m having this same problem, with a Cisco Aironet 1130AG access point on a Mikrotik 750G Router. Every other WiFi device in my house connects ok. I’ve tried re-flashing too.  
Also doesn’t connect to a Hauwei 5331 MiFi 3G router. Just stuck on the green flashing LED.

---

<div class="post-metadata">

**Author:** ![will](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/will/32/23374_2.png) [@will](https://community.particle.io/u/will)\
**Post date:** [December 13, 2013, 10:19pm UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/56 "2013-12-13T22:19:06Z")

</div>

Hey @wdj. Sorry to hear your having problems. When you say you’ve tried re-flashing too, do you mean you followed the instructions for applying the patch programmer?

As people have discussed, another likely fix to get your Core to connect is the make sure it’s being powered by a power supply capable of providing 500mA. We suggest using the little wall wart adapters that are commonly used for charging cell phones.

A full list of known solutions for this and all other issues with the Core can be found [here](https://community.spark.io/t/spark-core-troubleshooting-guide-spark-team/696).  
Send us a PM at [hello@spark.io](mailto:hello@spark.io) if you’re still having issues.

---

<div class="post-metadata">

**Author:** ![visualdensity](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/visualdensity/32/21007_2.png) [@visualdensity](https://community.particle.io/u/visualdensity)\
**Post date:** [December 14, 2013, 2:43am UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/57 "2013-12-14T02:43:28Z")

</div>

Woo hoo!!! @zach I’ve just patched applied the patch and boom! All working now. Woo hooo!!!

Thanks so much for following this through. Really really appreciate it!

---

<div class="post-metadata">

**Author:** ![visualdensity](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/visualdensity/32/21007_2.png) [@visualdensity](https://community.particle.io/u/visualdensity)\
**Post date:** [December 14, 2013, 2:53am UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/58 "2013-12-14T02:53:55Z")

</div>

Actually, should I apply this same patch to my other core which was fine?

Or should it just be left as is?

---

<div class="post-metadata">

**Author:** ![heghead](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/heghead/32/21012_2.png) [@heghead](https://community.particle.io/u/heghead)\
**Post date:** [December 14, 2013, 2:55am UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/59 "2013-12-14T02:55:07Z")

</div>

Hi @zach,

After applying the patch, my spark core still wasn’t working. I decided to experiment further with my wifi settings.

It turns out that my network was set on **channel 12** , changing to **channel 10** solved the issue for me!! YAY! You should consider placing info regarding the wifi channel settings on the “Checking the basics” documentation.

Thanks again!!

---

<div class="post-metadata">

**Author:** ![Ratsark](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@Ratsark](https://community.particle.io/u/Ratsark)\
**Post date:** [December 14, 2013, 4:52am UTC](https://community.particle.io/t/failed-connecting-to-wifi/648/60 "2013-12-14T04:52:23Z")

</div>

Re-flashing the spark core fixed the problem for me, and I’ve now got the blue LED flashing with a basic sketch from the web IDE. Thanks for the help!

[Previous page](https://community.particle.io/t/failed-connecting-to-wifi/648.md?page=2)

[Next page](https://community.particle.io/t/failed-connecting-to-wifi/648.md?page=4)
