driverpatch_1_12 bug (and support for 1.13?)

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.
Locked
User avatar
tvoverbeek
 
Posts: 21
Joined: Mon Feb 24, 2014 3:31 pm

driverpatch_1_12 bug (and support for 1.13?)

Post by tvoverbeek »

The driverpatch_1_12 sketch works fine, but both before and after the update the displayFirmwareVersion() function shows "Unable to retrieve the firmware version!".
Before the update it does not work because you initialise the CC3000 without patches (cc3000.begin(2)).
After the update you call cc3000.begin() to start with patches. However the internal cc3000 private variable _initialised is already true
since the first call to begin(), hence begin() returns immediately without initialising the cc3000 with patches.
Suggest to replace the "if (!cc3000.begin()) { .... }" with "cc3000.reboot()" which calls wlan_init() correctly.

Also note that TI just released 1.13 (Firmware 1.28).

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

Re: driverpatch_1_12 bug (and support for 1.13?)

Post by adafruit_support_rick »

Thanks! There was just another thread where the user ran into this exact problem:
viewtopic.php?f=22&t=50649#p274424

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: driverpatch_1_12 bug (and support for 1.13?)

Post by adafruit2 »

hey there - just tweaked the loader, try re-grabbing the code and trying now. it will print out the firmware version. we'll check out 1.13 (no ETA)!

User avatar
tvoverbeek
 
Posts: 21
Joined: Mon Feb 24, 2014 3:31 pm

Re: driverpatch_1_12 bug (and support for 1.13?)

Post by tvoverbeek »

Tried the modified code already before posting about the bug.
Thanks for the quick github update.

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

Return to “Other Arduino products from Adafruit”