• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » SimpleLink™ Wi-Fi® » Urgent! CC3000 based Web Server: Debug version ok but Release version will not connect to Wireless AP
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Urgent! CC3000 based Web Server: Debug version ok but Release version will not connect to Wireless AP

This question is answered
Peter Fenn
Posted by Peter Fenn
on May 09 2012 10:25 AM
Intellectual285 points

== Urgent! ==

Modified version of CC3000 FRAM Web Server Example has been ported to a 66 MHz, 32bit processor (Microblaze on Xilinx Spartan6 FPGA).
This is now fully functional on "Debug version", running on the FPGA

1) When executing "Release version" of the same code, the CC3000 no longer connects to the Wireless Access Point.
(This occurs even when the Release version is compiled with same GCC compiler Optimization and Debugger settings!)   

2) Operation of the functional "Debug version" is also not that robust.
ie. When subjected to successive mouse-clicks, occasional delays and errors are apparent in the browser user interface.

Question: 
I think the above 2 issues are possibly related and that the hard-coded delays within the code may be the problem area...
ie. in serverMain() [in httpserver.c] and main() [in webserver.c] 

Please advise what these delays need to be? (in time units not MSP430 clock cycles)
...and/or where else to look for resolution of this issue?

PS: The porting of CC3000 host driver software was done following the attached guidelines (received from- and discussed in detail with Gustavo Litovsky)

Thanks for your attention on this :-)
Peter Fenn 

2703.Notes from TI on porting CC3000 host driver software.pdf

cc3000 Web Server delays port
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Peter Fenn
    Posted by Peter Fenn
    on May 09 2012 17:19 PM
    Intellectual285 points

    It was the gcc compiler optimization setting that caused the “Release version” to fail.
    I’d set it to “Optimize for size” and this caused web server to fail and not connect to router.

    The 2nd issue remains:
    Please advise what delay-loops are needed and how long these should be for reliable webserver operation?

    Thankyou 

    CC3000 web server delays
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on May 09 2012 17:26 PM
    Genius11565 points

    Peter,

         There is a new version of this sample application coming out soon. I think it removes the delay-loops. I am checking with the team and come back to you.

    Regards,

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Peter Fenn
    Posted by Peter Fenn
    on May 09 2012 18:34 PM
    Intellectual285 points

    Miguel

    Can I please request early access to the mentioned new material?
    This is urgent, context is the the CC3000-based board being demo'd at Avnet's worldwide XFEST events right now

    Thankyou 

    Peter

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on May 09 2012 19:15 PM
    Suggested Answer
    Genius11565 points

    Peter,

         I confirmed and there is a new feature in the host driver that indicates when all thje packets have been transmitted and therefore you dont have to wait in a loop. The release is coming out in around a week. Would that work?

    Regards,

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Peter Fenn
    Posted by Peter Fenn
    on May 09 2012 23:34 PM
    Intellectual285 points

    Miguel

    Thanks for confirming that. Sooner than a week's time would be much better! :-)
    This board is being demo'd right now at XFEST events in Europe this week.

    Peter

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Thomas Boedker
    Posted by Thomas Boedker
    on May 12 2012 12:54 PM
    Prodigy250 points

    Hi Miguel

    The new release is that only a new version of the cc3000 host lib ?

    or is it also a new firmware in the CC3000 ? if, yes is it possible to firmware update my Murata EM Board ?

    Kind regards

    Thomas

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on May 13 2012 13:21 PM
    Genius11565 points

    Thomas,

         It will be a change in the host driver and the CC3000 EEPROM. A tool and instructions to update it will be provided.

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Paul Schrier
    Posted by Paul Schrier
    on May 17 2012 01:09 AM
    Prodigy70 points

    Miguel,

    Any update as to when this new version of the WebServer application will be available?

    I'm also waiting on Code Composer compatible source and project for the WebServer application.

    Please advise as to when this will be available.

    Thanks,

    Paul

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on May 17 2012 11:24 AM
    Genius11565 points

    Paul,

         We are wrapping up the packages currently. I expect they will come out sometime early next week. Thank you for your patience.

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Paul Schrier
    Posted by Paul Schrier
    on May 27 2012 02:35 AM
    Prodigy70 points

    Miguel,

    Has the Code Composer version of the CC3000 FRAM WebServer app been posted yet?  I don't see a new version yet on the downloads page.

    Can you please provide a date when the CCS version of the CC3000 FRAM WebServer app will be available?

    Thanks,

    Paul

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Peter Fenn
    Posted by Peter Fenn
    on May 31 2012 00:05 AM
    Intellectual285 points

    Miguel 

    Has that updated Webserver code been posted yet?

    Thanks

    Peter

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Miguel
    Posted by Miguel
    on May 31 2012 10:57 AM
    Genius11565 points

    All,

          We apologize for the delay. We are having some internal delays. Right now, estimated time line is late next week.

    Miguel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Paul Schrier
    Posted by Paul Schrier
    on Jun 18 2012 21:33 PM
    Prodigy70 points

    Miguel,

    It's been over two weeks since your last post.  Has the Code Composer version of the CC3000 FRAM WebServer app been posted yet?  I don't see a new version yet on the downloads page.

    Can you please provide a definite date when the CCS version of the CC3000 FRAM WebServer app will be available so that we can determine if we need to go with a different platform that has currently available support?

    Thanks,

    Paul

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pedro5084
    Posted by Pedro5084
    on Jun 20 2012 17:11 PM
    Intellectual2390 points

    Hi Paul, 

    We are pending finalization of the patch programmer license, the patch will improve the first time configuration, but is not required to run the attached package, which includes the new version of the web server. It has a new host driver, and one of the added features is to send the TX complete after all packets have been acknowledged. This feature is utilized in the web server and will wait for tx completion after sending all the html pages, before closing the socket. 

    2728.CC3000_FRAM_webserver_2_0_16.zip

    Pedro 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Pedro5084
    Posted by Pedro5084
    on Jun 26 2012 11:05 AM
    Intellectual2390 points

    Hi Paul, 

    Let us know if the package worked, we will post it in the wiki page shortly but will be nice to know if you have found any serious bugs.

    Pedro 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use