jimmayhugh
Well-known member
I can help with that, I have two of the Adafruit boards.
Note, since the AVR uses a different processor the sizes between AVR and ARM won't be the same. I.e. 23k in an AVR may become 15k or 45k in the ARM. But having 4 times the memory is quite helpful.I feel a lot better using the Teensy 3 (131K) - IMHO
By running the CC3000 library examples on an Arudino clone, the resources needed by the examples really requires a Teensy 3 with a large amount of flash. 32K of flash, on the Arduino, won't cut it unless you are NOT running other user applications in the same sketch.
Can anyone give this update a quick run on a Teensy3 and also an Arduino Uno? I don't have either hooked up to a CC3000 right now....
https://github.com/PaulStoffregen/Adafruit_CC3000_Library
This fix is so very simple, so I'm almost certain it will work. Still, Adafruit usually wants actual confirmation on both boards before they'll accept a pull request.
Uno - compiles with no errors, 'buildtest' example runs with no issues.
Teensy3 - compiles with no errors, hangs on "Initialising the CC3000 ..." in buildtest.
I don't think the Teensy3 problem is related to your patch, it looks like it's hanging on init_spi(). This is the first time I've tried the Adafruit library with a Teensy3 -- has this worked for anyone? (my test code https://github.com/cmagagna/ArduinoCC3000Test runs so I know the wiring etc. is good).
Hello, CC3000!
Free RAM: 8044
Initializing...
Hello, CC3000!
RX Buffer : 131 bytes
TX Buffer : 131 bytes
Free RAM: 8148
Initialising the CC3000 ...
Firmware V. : 1.19
MAC Address : Networks found: 3
================================================
SSID Name :
RSSI : 83
Security Mode: 3
SSID Name : LinkME
RSSI : 43
Security Mode: 1
SSID Name : westell7517
RSSI : 33
Security Mode: 2
================================================
Deleting old connection profiles
Attempting to connect to GMJLinksys
Hello, CC3000!
Free RAM: 8164
Initialising the CC3000 ...
Firmware V. : 1.19
Deleting old connection profiles
Attempting to connect to GMJLinksys
#if defined(UDR0) || defined(UDR1)
CC3KPrinter = &Serial;
#else
CC3KPrinter = 0;
// no default serial port found
#endif
// #if defined(UDR0) || defined(UDR1)
CC3KPrinter = &Serial;
// #else
// CC3KPrinter = 0;
// // no default serial port found
// #endif
#define WLAN_SECURITY WLAN_SEC_WEP
//#define WLAN_PASS "526F62694E" // <--- this format will NOT work!
const char WLAN_PASS[6] = {0x52, 0x6F, 0x62, 0x69, 0x4E, 0}; // <--- this works :-)
I personally verified this works on Teensy 2.0, Teensy 3.0 and Arduino Uno
Everything is still failing with a Teensy3 + Adafruit board I upgraded to the new T.I. firmware version 1.24
Paul S said ... using 1.19 firmware
Potatotron said ...
Question - @ Potatotron does 1.19 work on the Teensy 3 and all of the examples?