CC3000 no reply on ping

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.
User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CC3000 no reply on ping

Post by adafruit_support_rick »

Thanks for the data point! It's pretty clear that the 10.0 network is the problem.
We'll get this worked out as soon as possible.

akupila
 
Posts: 4
Joined: Mon Aug 26, 2013 5:02 am

Re: CC3000 no reply on ping

Post by akupila »

Not sure where i see the model number? The firmware version is 7.6.4

akupila
 
Posts: 4
Joined: Mon Aug 26, 2013 5:02 am

Re: CC3000 no reply on ping

Post by akupila »

Found the model number on the bottom of the unit: A1301 (3rd gen). Looks like TI only tested with 4th and 5th gen airport extremes.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CC3000 no reply on ping

Post by adafruit_support_rick »

I wonder if they tested the 10.0 network at all.
We'll find out - we're already in contact with TI about this issue.

User avatar
larsi
 
Posts: 6
Joined: Sat Jan 22, 2011 9:45 am

Re: CC3000 no reply on ping

Post by larsi »

I have a Time Capsule (1st generation) with firmware v7.6.4. The CC3000 breakout did not work if the network is configured to 10.0. It worked right away after I changed it to 192.168. Not perfect, but a good workaround...

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CC3000 no reply on ping

Post by adafruit_support_rick »

Thanks for the report!

User avatar
sketchy
 
Posts: 285
Joined: Thu Jun 28, 2012 11:37 pm

Re: CC3000 no reply on ping

Post by sketchy »

Hello gyee,
You noted you connected to Xively with one of your boards.

Have you connected to Xively using the CC3000? (the examples use EthernetClient which is reliant on the W5100 chip...I assume the functions in W5100 could be "ported" to use Adafruit's cpp library).

Thank you very much.

User avatar
gyee
 
Posts: 18
Joined: Fri Mar 15, 2013 10:52 am

Re: CC3000 no reply on ping

Post by gyee »

Just to update on my new board. I also have a "guest" network on my "Time Capsule" that assigns IP addresses in the range of 172.16.XX.XX, but my previous board did not connected, my new board connected at my first try, tried the different sketches with success, let the board "burn in" for a couple of hours connected to see if the CC3000 was sensitive to temperature, but the board perform well. I would like to thank the Adafruit Tech Support and Community for great help and Customer Service.

User avatar
gyee
 
Posts: 18
Joined: Fri Mar 15, 2013 10:52 am

Re: CC3000 no reply on ping

Post by gyee »

sketchy,

Yes, I have a Boarduino connected to Xively, but right now I'm using an ENC28J60 board (not the official Arduino shield), but now that I have the CC3K connecting successfully, my next project is to replace the ENC28J60 with the CC3K, looking at the CC3K code seems like it's not that difficult, will probably work at it over the weekend

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CC3000 no reply on ping

Post by adafruit_support_rick »

Note that there have been some updates to the CC3000 library within the past few days, including a major speedup. Make sure you download a fresh copy!

User avatar
sketchy
 
Posts: 285
Joined: Thu Jun 28, 2012 11:37 pm

Re: CC3000 no reply on ping

Post by sketchy »

I downloaded the latest copy. Now I get this consistently when running buidtest.ino (i.e.: 0 replies from ping, 0 packets sent)? Here is output from my serial monitor:

Hello, CC3000!

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

Initialising the CC3000 ...
Firmware V. : 1.19
MAC Address : 0x08 0x00 0x28 0x57 0x35 0x8E
Started AP/SSID scan


Networks found: 6
================================================
SSID Name : XOLU2
RSSI : 36
Security Mode: 1

SSID Name :
RSSI : 38
Security Mode: 2

SSID Name : DAMIR_2GHz
RSSI : 37
Security Mode: 3

SSID Name : henry2
RSSI : 43
Security Mode: 3

SSID Name : henry1
RSSI : 78
Security Mode: 3

SSID Name : small
RSSI : 33
Security Mode: 0

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

Deleting old connection profiles

Attempting to connect to henry1
Started AP/SSID scan




Connecting to henry1...Waiting to connect...Connected!
Request DHCP

IP Addr: 192.168.1.218
Netmask: 255.255.255.0
Gateway: 192.168.1.1
DHCPsrv: 192.168.1.1
DNSserv: 192.168.1.1
www.adafruit.com -> 207.58.139.247

Pinging 207.58.139.247...Pinging 207.58.139.247 5 times
Req report
Reports: 2
Sent: 0
Recv: 0
MinT: 0
MaxT: 0
AvgT: 0
0 replies


Closing the connection

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CC3000 no reply on ping

Post by adafruit_support_rick »

Try running the WebClient example. Your router may be blocking pings.

User avatar
sketchy
 
Posts: 285
Joined: Thu Jun 28, 2012 11:37 pm

Re: CC3000 no reply on ping

Post by sketchy »

Hello Rick,
WebClient works fine.

YET....regarding ping....
--------------------
Ping WORKS from a (mac) terminal window. e.g.:
---------------------
$ ping www.adafruit.com
PING adafruit.com (207.58.139.247): 56 data bytes
64 bytes from 207.58.139.247: icmp_seq=0 ttl=48 time=98.579 ms
64 bytes from 207.58.139.247: icmp_seq=1 ttl=48 time=91.740 ms
64 bytes from 207.58.139.247: icmp_seq=2 ttl=48 time=88.520 ms
64 bytes from 207.58.139.247: icmp_seq=3 ttl=48 time=87.309 ms
64 bytes from 207.58.139.247: icmp_seq=4 ttl=48 time=88.096 ms
-----------------------
What CONFUSES me is WHY PING DOESN'T work on cc3000 when pinging my mac which is on the same (WiFi) intranet (i.e.: no router involved)?

Shouldn't ping to a machine on the same intranet work?

Thank you very much.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: CC3000 no reply on ping

Post by adafruit_support_rick »

Strange Mysteries Of Space And Time. :wink:
There's a very good reason why it doesn't work. I just have no idea what that reason might be. :roll:

What kind of router are you using? Is it an older Airport?

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

Re: CC3000 no reply on ping

Post by adafruit_support_mike »

There may be a problem with the CC3000's gateway settings..

The output for the CC3000 a few posts up shows that it has to be talking to the local network. The line:

Code: Select all

www.adafruit.com -> 207.58.139.247
can only exist if the CC3000 completes a successful transaction with the DNS server.

This line from the ping report looks funny though:

Code: Select all

Sent: 0
That says no packets were sent, which would be consistent with "not getting any output".

The most obvious reason for failure to emit packets is bad routing information.. the CC3000 can't decide where to send the packets. I'm not sure what would cause that, since your network information looks good.

Github seems to be cranky at the moment and I don't have a copy of the CC3000 library on hand, but I'll look at the code when I get a chance and see if there are any clues about how it could fail to ping.

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

Return to “Other Arduino products from Adafruit”