adafruit / Adafruit_CC3000_Library

Library code for Adafruit's CC3000 WiFi breakouts &c
http://www.adafruit.com/products/1469
Other
270 stars 153 forks source link

Problem with new versions of the Arduino IDE (1.0.6 & 1.5.8) #109

Closed marcoschwartz closed 10 years ago

marcoschwartz commented 10 years ago

Hello, I am having issues with the latest versions of the Arduino IDE, versions 1.0.6 & 1.5.8. I can't make any of my projects work with these versions. For example, the webClient examples works fine with 1.0.5 and 1.5.7, whereas it doesn't work at all with the latest versions. Any idea of what changed & how to fix it? Thanks!

microbuilder commented 10 years ago

Please post support questions in the support forum, not here on github, thanks.

tdicola commented 10 years ago

Just gave buildtest and webclient a quick test on 1.0.6 and didn't see any issues. One thing to be careful of, did you upgrade the CC3000 firmware using 1.5.8? If so some folks have reported issues with the CC3000 not initializing after doing so, even with buildtest, etc. The fix is to go back to the 1.0.6/1.0.5 version and run the CC3000 firmware upgrade sketch again. Right now the upgrade sketch doesn't compile on 1.5.8 so it's not really supported just yet (need to investigate what causes the flash to not work correctly on 1.5.8's later toolchain).

marcoschwartz commented 10 years ago

It seems to be linked to the toolchain indeed, and also seems to depends on the OS I am using. Under Linux the webClient test with IDE 1.0.6 works, whereas under OS X Yosemite it doesn't work. However in my case 1.5.8 never works, whatever the OS I use. I can run some basic Arduino sketches but nothing based on the CC3000. I have the latest version of the patch on the CC3000, and I did it using the 1.5.7 IDE.

tdicola commented 10 years ago

Can you describe what fails in the sketches, like how far webclient gets?

Just gave buildtest & webclient a shot on Mavericks with 1.0.5 and 1.0.6. I did actually notice 1.0.6 webclient was sometimes getting stuck at the connecting to server part (after it resolves the IP address). However I also saw it intermittently succeed which makes me think it might be a server thing. I changed the server and page to hit google's page instead of the test wifi page:

#define WEBSITE      "www.google.com"
#define WEBPAGE      "/"

And it seems to be consistently working without any failures. I'm curious can you try that page too in webclient?

marcoschwartz commented 10 years ago

Same here actually, it always get stuck with 1.5.8 right after it resolves the IP address. I tried with google.com & with the Adafruit.com test page which is by default in the sketch.