Head scratching CC3000 hang-up issues.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- lax_ste
- Posts: 17
- Joined: Thu Oct 25, 2012 12:32 pm
Re: Head scratching CC3000 hang-up issues.
I will post them tomorrow when I get home from work.
- landont
- Posts: 2
- Joined: Mon Dec 02, 2013 11:18 am
Re: Head scratching CC3000 hang-up issues.
I have also been having issues with the Xively sketch. In my case the CC3000 consistently connects to my AP, and connects to Xively. The issue that I have is after some random number of connections to Xively (1 to 15) the client.print(data); line in the sketch will hang.
The quick hack to get around this issue could be to simply put a watchdog around the command, but I am using a MEGA2560, which has issues with the watchdog timer.
I have tried to check the status of client.connected() just prior to the client.print(data); and it still returns true but subsequently hangs on the print.
The quick hack to get around this issue could be to simply put a watchdog around the command, but I am using a MEGA2560, which has issues with the watchdog timer.
I have tried to check the status of client.connected() just prior to the client.print(data); and it still returns true but subsequently hangs on the print.
- lax_ste
- Posts: 17
- Joined: Thu Oct 25, 2012 12:32 pm
Re: Head scratching CC3000 hang-up issues.
Oops. Double post.
- pkourany
- Posts: 51
- Joined: Wed Nov 27, 2013 12:57 pm
Re: Head scratching CC3000 hang-up issues.
Lax.ste, can you at least post the hardware and firmware versions of your DIR-655?
Thanks!
Thanks!
- lax_ste
- Posts: 17
- Joined: Thu Oct 25, 2012 12:32 pm
- pkourany
- Posts: 51
- Joined: Wed Nov 27, 2013 12:57 pm
Re: Head scratching CC3000 hang-up issues.
You have a newer DIR-655 and I fear mine (V2) has issues. I will need to buy a new router but which one is the question! I posted a thread asking what routers others have successfully used but no one had replied yet.
Thanks!
Thanks!
- lax_ste
- Posts: 17
- Joined: Thu Oct 25, 2012 12:32 pm
Re: Head scratching CC3000 hang-up issues.
I've had surprisingly good luck the dir-655 that I have. I had an older d-link model that needed reset every few days but this new one usually runs a couple of months before needing any attention.
- pkourany
- Posts: 51
- Joined: Wed Nov 27, 2013 12:57 pm
Re: Head scratching CC3000 hang-up issues.
I just bought a really well rated Trendnet AC1750 router and will be testing it soon. I will post my results.
- pkourany
- Posts: 51
- Joined: Wed Nov 27, 2013 12:57 pm
Re: Head scratching CC3000 hang-up issues.
Well, I am happy to report that the DNS lookup problem went away as soon as I installed my new Trendnet router. There is obviously something weird about the Dlink DIR-655, hardware V2, firmware 1.37NA that is not working with the CC3000.
- lax_ste
- Posts: 17
- Joined: Thu Oct 25, 2012 12:32 pm
Re: Head scratching CC3000 hang-up issues.
Glad to hear it's working out for you. A bit worrysome that it won't work across all wifi connections.
-
- Posts: 1
- Joined: Thu Jun 19, 2014 4:14 pm
Re: Head scratching CC3000 hang-up issues.
I bought a CC3000 Breakout Board, when I tried the buildtest but it hangs at I tried different boards, but with no luck. I have attached the circuit and serial log, could someone help?
Serial Log
Hello, CC3000!
RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1261
Initialising the CC3000 ...
Firmware V. : 1.24
MAC Address : 0x08 0x00 0x28 0x57 0x96 0x7F
Started AP/SSID scan
After this there is no log and the sketch hangs.
Code: Select all
listSSIDResults()
Serial Log
Hello, CC3000!
RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 1261
Initialising the CC3000 ...
Firmware V. : 1.24
MAC Address : 0x08 0x00 0x28 0x57 0x96 0x7F
Started AP/SSID scan
After this there is no log and the sketch hangs.
- tdicola
- Posts: 1074
- Joined: Thu Oct 17, 2013 9:11 pm
Re: Head scratching CC3000 hang-up issues.
That's odd that you're not seeing the device scan for SSIDs. If you comment out this line in the buildtest setup:
So it skips the SSID scan, like:
Then run the sketch, does it get further? Just want to work back a bit to figure out exactly what's getting stuck.
Code: Select all
/* Optional: Get the SSID list (not available in 'tiny' mode) */
#ifndef CC3000_TINY_DRIVER
listSSIDResults();
#endif
Code: Select all
/* Optional: Get the SSID list (not available in 'tiny' mode) */
#ifndef CC3000_TINY_DRIVER
//listSSIDResults();
#endif
Please be positive and constructive with your questions and comments.