CC3000 Shield can't connect to the AP

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
pingu
 
Posts: 3
Joined: Wed Apr 30, 2014 3:28 pm

CC3000 Shield can't connect to the AP

Post by pingu »

Hi
I'm new in this Forum and also a Arduino beginner :-). My first project is a simple temperatur monitor for a greenhouse in my garden.

Beside of other components I'm using a Arduino Uno with a CC3000 shield for communication. I'm just trying to get the buildtest running, but it won't work since last weekend and I have no idea whats wrong. I have searched this Forum but could not find an answer so I started a new post.

The program just hangs after "Attempting to connect to...". The SSID, PASS and SECURITY defines are set to the correct values.

Code: Select all

Hello, CC3000!

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

Initialising the CC3000 ...
Firmware V. : 1.24
MAC Address : 0x08 0x00 0x28 0x59 0x23 0x63
Networks found: 6
================================================
SSID Name    : 6762 4234
RSSI         : 46
Security Mode: 3

SSID Name    : Angelina
RSSI         : 38
Security Mode: 3

SSID Name    : NW_2.4GHZ
RSSI         : 53
Security Mode: 3

SSID Name    : UPC242800356
RSSI         : 36
Security Mode: 3

SSID Name    : UPC1939132
RSSI         : 37
Security Mode: 3

SSID Name    : prige112_2GEXT
RSSI         : 36
Security Mode: 3

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

Deleting old connection profiles

Attempting to connect to NW_2.4GHZ
With enabled debug option the output looks like:

Code: Select all

Hello, CC3000!

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

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

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanInterruptPin - 001

	CC3000: ReadWlanI	terruptPin - 000

SimpleLink start

	CC3000: SpiWrite

	CC3000: SpiWriteFirst

	CC3000: SpiWriteDataSynchronous Start

 01 00 05 00

	CC3000: SpiWriteDataSynchronous End

	CC3000: SpiWriteDataSynchronous Start

 00 01 00 40 01 00

	CC3000: SpiWriteDataSynchronous End

	CC3000: Entering SPI_IRQ

	CC3000: SpiReadHeader

	CC3000: SpiReadDataSynchronous

  02  00  00  00  05  04  00  40  01  00

	CC3000: SpiContReadOperation

	CC3000: SpiReadDataCont

	CC3000: SpiTriggerRxProcessing

	CC3000: SpiPauseSpi

	HCI_UNSOL_EVT: 0x4000	CC3000: Leaving SPI_IRQ

	HCI_UNSOL_EVT: 0x4000	CC3000: SpiResumeSpi

Read buffer

	CC3000: SpiWrite

	CC3000: WlanInterruptDisable

	CC3000: WlanInterruptEnable.

	CC3000: Entering SPI_IRQ

	CC3000: SpiWriteDataSynchronous Start

 01 00 05 00 00 01 0B 40 00 00

	CC3000: SpiWriteDataSynchronous End

	CC3000: Leaving SPI_IRQ

	CC3000: Entering SPI_IRQ

	CC3000: SpiReadHeader

	CC3000: SpiReadDataSynchronous

  02  00  00  00  09  04  0B  40  04  00

	CC3000: SpiContReadOperation

	CC3000: SpiReadDataCont

	CC3000: SpiReadDataSynchronous

  06  DC  05  00

	CC3000: SpiTriggerRxProcessing

	CC3000: SpiPauseSpi

	HCI_UNSOL_EVT: 0x400B	CC3000: Leaving SPI_IRQ

	CC3000: ReadWlanInterruptPin - 001

	HCI_UNSOL_EVT: 0x400B	CC3000: SpiResumeSpi

ioctl

	CC3000: SpiWrite

	CC3000: WlanInterruptDisable

	CC3000: WlanInterruptEnable.

	CC3000: Entering SPI_IRQ

	CC3000: SpiWriteDataSynchronous Start

 01 00 11 00 00 01 04 00 0C 00 00 00 00 00 00 00 00 00 00 00 00 00

	CC3000: SpiWriteDataSynchronous End

	CC3000: Leaving SPI_IRQ

	CC3000: ReadWlanInterruptPin - 001

	CC3000: Entering SPI_IRQ

	CC3000: SpiReadHeader

	CC3000: SpiReadDataSynchronous

  02  00  00  00  09  04  04  00  05  00

	CC3000: SpiContReadOperation

	CC3000: SpiReadDataCont

	CC3000: SpiReadDataSynchronous

  00  00  00  00

	CC3000: SpiTriggerRxProcessing

	CC3000: SpiPauseSpi

	HCI_UNSOL_EVT: 0x0004	CC3000: Leaving SPI_IRQ

	HCI_UNSOL_EVT: 0x0004	CC3000: SpiResumeSpi

	CC3000: SpiWrite

	CC3000: WlanInterruptDisable

	CC3000: WlanInterruptEnable.

	CC3000: Entering SPI_IRQ

	CC3000: SpiWriteDataSynchronous Start

 01 00 09 00 00 01 06 00 04 FF 00 00 00 00

	CC3000: SpiWriteDataSynchronous End

	CC3000: Leaving SPI_IRQ

	CC3000: ReadWlanInterruptPin - 001

	CC3000: Entering SPI_IRQ

	CC3000: SpiReadHeader

	CC3000: SpiReadDataSynchronous

  02  00  00  00  09  04  06  00  05  00

	CC3000: SpiContReadOperation

	CC3000: SpiReadDataCont

	CC3000: SpiReadDataSynchronous

  00  00  00  00

	CC3000: SpiTriggerRxProcessing

	CC3000: SpiPauseSpi

	HCI_UNSOL_EVT: 0x0006	CC3000: Leaving SPI_IRQ

	HCI_UNSOL_EVT: 0x0006	CC3000: SpiResumeSpi

	CC3000: SpiWrite

	CC3000: WlanInterruptDisable

	CC3000: WlanInterruptEnable.

	CC3000: Entering SPI_IRQ

	CC3000: SpiWriteDataSynchronous Start

 01 00 09 00 00 01 08 00 04 04 82 00 00 00

	CC3000: SpiWriteDataSynchronous End

	CC3000: Leaving SPI_IRQ

	CC3000: Entering SPI_IRQ

	CC3000: SpiReadHeader

	CC3000: SpiReadDataSynchronous

  02  00  00  00  09  04  08  00  05  00

	CC3000: SpiContReadOperation

	CC3000: SpiReadDataCont

	CC3000: SpiReadDataSynchronous

  00  00  00  00

	CC3000: SpiTriggerRxProcessing

	CC3000: SpiPauseSpi

	HCI_UNSOL_EVT: 0x0008	CC3000: Leaving SPI_IRQ

	CC3000: ReadWlanInterruptPin - 001

	HCI_UNSOL_EVT: 0x0008	CC3000: SpiResumeSpi

	CC3000: SpiWrite

	CC3000: WlanInterruptDisable

	CC3000: WlanInterruptEnable.

	CC3000: Entering SPI_IRQ

	CC3000: SpiWriteDataSynchronous Start

 01 00 05 00 00 01 07 02 00 04

	CC3000: SpiWriteDataSynchronous End

	CC3000: Leaving SPI_IRQ

	CC3000: Entering SPI_IRQ

	CC3000: SpiReadHeader

	CC3000: SpiReadDataSynchronous

  02  00  00  00  09  04  07  02  05  00

	CC3000: SpiContReadOperation

	CC3000: SpiReadDataCont

	CC3000: SpiReadDataSynchronous

  00  06  01  18

	CC3000: SpiTriggerRxProcessing

	CC3000: SpiPauseSpi

	HCI_UNSOL_EVT: 0x0207	CC3000: Leaving SPI_IRQ

	CC3000: ReadWlanInterruptPin - 001

	HCI_UNSOL_EVT: 0x0207	CC3000: SpiResumeSpi

Firmware V. : 1.24
	CC3000: SpiWrite

	CC3000: WlanInterruptDisable

	CC3000: WlanInterruptEnable.

	CC3000: Entering SPI_IRQ

	CC3000: SpiWriteDataSynchronous Start

 01 00 11 00 00 01 01 02 0C 06 00 00 00 06 00 00 00 00 00 00 00 00

	CC3000: SpiWriteDataSynchronous End

	CC3000: Leaving SPI_IRQ

	CC3000: Entering SPI_IRQ

	CC3000: SpiReadHeader

	CC3000: SpiReadDataSynchronous

  02  00  00  00  05  04  01  02  01  00

	CC3000: SpiContReadOperation

	CC3000: SpiReadDataCont

	CC3000: SpiTriggerRxProcessing

	CC3000: SpiPauseSpi

	HCI_UNSOL_EVT: 0x0201	CC3000: Leaving SPI_IRQ

	CC3000: ReadWlanInterruptPin - 000

	CC3000: SpiWriteDataSynchronous Start
I'm wondering what the HCI_UNSOL_EVT events are and why ends the last SpiWriteDataSynchronous without data transfered?

Hope someone can give me a hint?

Thanks, Roger

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

Re: CC3000 Shield can't connect to the AP

Post by adafruit_support_rick »

Please post clear, detailed pictures of both sides of the shield.

Do you have MAC address filtering turned on in your AP?

pingu
 
Posts: 3
Joined: Wed Apr 30, 2014 3:28 pm

Re: CC3000 Shield can't connect to the AP

Post by pingu »

I'm using a Asus RT-AC66 Router and MAC address filtering is turned off.
Here are the two pictures of the board:
topView.jpg
topView.jpg (671.21 KiB) Viewed 349 times
bottomView.jpg
bottomView.jpg (501.32 KiB) Viewed 349 times

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

Re: CC3000 Shield can't connect to the AP

Post by adafruit_support_rick »

pingu wrote:Beside of other components I'm using a Arduino Uno with a CC3000 shield for communication.
Do you have anything else connected to the Arduino while you're running buildtest?
I'm just trying to get the buildtest running, but it won't work since last weekend
Did it work before last weekend? Has it ever worked?

pingu
 
Posts: 3
Joined: Wed Apr 30, 2014 3:28 pm

Re: CC3000 Shield can't connect to the AP

Post by pingu »

Do you have anything else connected to the Arduino while you're running buildtest?
No, there is nothing else connected to the Arduino, only the CC3000 shield.
Did it work before last weekend? Has it ever worked?
It has never worked.

Both the Arduino and the shield are new, buyed from your company about three weeks ago.

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

Re: CC3000 Shield can't connect to the AP

Post by adafruit_support_rick »

OK. Let's replace the CC3000. Please email [email protected] with a link to this thread for a replacement

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

Return to “Arduino Shields from Adafruit”