CC3000 - Timeout on all wifi networks

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
sanwin
 
Posts: 7
Joined: Tue Jan 14, 2014 1:26 pm

CC3000 - Timeout on all wifi networks

Post by sanwin »

I receive "Adafruit CC3000 WiFi Breakout", http://www.adafruit.com/products/1469 but have Wifi connectivity problems.

It works "once" and after few hours just stops.
They cannot connect to any wifi network, just say Timed out!

Serial printings when using "buldtest", http://learn.adafruit.com/adafruit-cc30 ... /buildtest:

Hello, CC3000!

RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1229

Initialising the CC3000 ...
Firmware V. : 1.24
MAC Address : 0x08 0x00 0x28 0x57 0xAD 0x4B
Started AP/SSID scan

Networks found: 2
================================================
SSID Name : WinterNetwork
RSSI : 39
Security Mode: 2

SSID Name : SandiPoint
RSSI : 74
Security Mode: 3

================================================

Deleting old connection profiles

Attempting to connect to WinterNetwork
Started AP/SSID scan
Connecting to WinterNetwork...Waiting to connect...Timed out!
Started AP/SSID scan
Connecting to WinterNetwork...Waiting to connect...Timed out!
Started AP/SSID scan
Connecting to WinterNetwork...Waiting to connect...Timed out!
Started AP/SSID scan
I tried:
  • Change wires
    Change Arduino UNO boards
    Try SmartConfig
    Try connect arduino to power adapter
    Try on 3.3V and 5V pin
    try on other networks, security options, routers with changeing configuration (Siemens, Thompson, TP-Link, Android prone hotspot)
    Check soldering
    Change #define WLAN_CONNECT_TIMEOUT 30000
In attachment you can find my boards, solderings and connections.

Please can you help, is there anything more to try?
Attachments
IMG_7030.jpg
IMG_7030.jpg (217.5 KiB) Viewed 1206 times
IMG_7032.jpg
IMG_7032.jpg (206.35 KiB) Viewed 1206 times
IMG_7031.jpg
IMG_7031.jpg (190.11 KiB) Viewed 1206 times

sanwin
 
Posts: 7
Joined: Tue Jan 14, 2014 1:26 pm

Re: CC3000 - Timeout on all wifi networks

Post by sanwin »

2 more images
Attachments
IMG_7033.jpg
IMG_7033.jpg (224.38 KiB) Viewed 1205 times
IMG_7034.jpg
IMG_7034.jpg (245.7 KiB) Viewed 1205 times

sanwin
 
Posts: 7
Joined: Tue Jan 14, 2014 1:26 pm

Re: CC3000 - Timeout on all wifi networks

Post by sanwin »

Any help?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: CC3000 - Timeout on all wifi networks

Post by adafruit_support_mike »

I apologize for the late reply..

Your soldering looks good, and as best I can trace the connections, you seem to have all the data signals connected properly. It looks like you're using the Arduino's 3.3v output to bypass the CC3000's regulator though, so try moving the supply power to 5v on the CC3000 breakout and the Arduino.

Also go into the CC3000 library and find the file utility/debug.h. Change this line:

Code: Select all

#define DEBUG_MODE                      (0)
to this:

Code: Select all

#define DEBUG_MODE                      (1)
then recompile your code and open the Serial Monitor to see what the diagnostic text says.

sanwin
 
Posts: 7
Joined: Tue Jan 14, 2014 1:26 pm

Re: CC3000 - Timeout on all wifi networks

Post by sanwin »

Tried with 5V, but same problem.

With debug enable, with buildtest i get:

For first time just:

Code: Select all

Hello, CC3000!

RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1233

Initialising the CC3000 ...
	CC3000: init_spi
	CC3000: Finished init_sp
Second time:

Code: Select all

Hello, CC3000!

RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1233

Initialising the CC3000 ...
	CC3000: init_spi
	CC3000: Finished init_spi
init

start
	CC3000: SpiOpen	CC3000: WlanInterruptEnable.
	CC3000: Finished SpiOpen
	CC3000: ReadWlanInterruptPin - 001
	CC3000: WriteWlanPin - 001
Do you see something useful from this output?

Thanks

User avatar
frank26080115
 
Posts: 126
Joined: Fri Jun 15, 2007 1:04 am

Re: CC3000 - Timeout on all wifi networks

Post by frank26080115 »

Hmm this is the second forum post that shows behaviour that indicates the interrupt never arrives.

Try something out, when it enters the frozen state, touch a wire from ground to the interrupt pin very quickly, and look at the debug output

This should trick the Arduino into thinking that the interrupt has arrived. If nothing happens at all, then we can start to suspect that something is wrong with the code or with the Arduino. If something does happen, we can suspect that something is wrong with the CC3000.

Of course, it'll be much simpler to use an oscilloscope or logic analyzer to check if the interrupt pin is low or not, but those are expensive tools and I'm assuming you don't have one.

sanwin
 
Posts: 7
Joined: Tue Jan 14, 2014 1:26 pm

Re: CC3000 - Timeout on all wifi networks

Post by sanwin »

Maybe this can be in relationship with this?
http://processors.wiki.ti.com/index.php ... ease_Notes
At end of page: "When connecting to an AP using WPA2 security, "Connected” event may arrive before the connection process is completed"
I see that saying WPA2, but it is possible that the same is true for other types?

Maybe "Connected” event is this interrupt that never arrives?

Does Adafruit CC3000 library support this problem?

I check with touch iterrupt from GND to IRQ Pin, after frozzen on:
"CC3000: Finished init_sp",
but nothing happens...

sanwin
 
Posts: 7
Joined: Tue Jan 14, 2014 1:26 pm

Re: CC3000 - Timeout on all wifi networks

Post by sanwin »

CC3000 is still not working for me normally (lsot connection, never connect again and problems like this...). Does anybody able to run CC3000 to work for example one month without any problems?

User avatar
pocketmoon
 
Posts: 78
Joined: Fri Dec 27, 2013 8:21 pm

Re: CC3000 - Timeout on all wifi networks

Post by pocketmoon »

Hi,

Which channel is your wifi on ? There's a bug in the code that prevent channels above 11 being scanned. which caused me a similar issue. But that wouldn't explain why it worked once :/ but worth an ask.

Rob

User avatar
waltermixxx
 
Posts: 16
Joined: Sat Apr 10, 2010 2:36 am

Re: CC3000 - Timeout on all wifi networks

Post by waltermixxx »

Have you tried rebooting the router?
I had the same problem, and rebooted my router and have a stable connection now...

Odd I know but give it a shot.

sanwin
 
Posts: 7
Joined: Tue Jan 14, 2014 1:26 pm

Re: CC3000 - Timeout on all wifi networks

Post by sanwin »

waltermixxx wrote:Have you tried rebooting the router?
I had the same problem, and rebooted my router and have a stable connection now...

Odd I know but give it a shot.
hundred times, many routers, channels 7, 8.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: CC3000 - Timeout on all wifi networks

Post by adafruit_support_mike »

At this point, let's try a new device.

Send a note to [email protected] with a link to this thread and the folks there will get you a new CC3000.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”