TI E2E Community
SimpleLink™ WiFi - CC3000 Forum
MSP430 FRAM Web Server Application problem
I am having difficulty getting this simple web server application to operate correctly. I downloaded the application from the TI wiki ( http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_Downloads ). Had a little difficulty with CCS V5 importing the project as there is a bad file pointer for the Sensor.C file. Managed to get through all that. Build and download was successful. Here is where I have some problems.
I was unable to get First-Time-Config to work properly. I would get led1, led2 and Led3 to light, but no led4. If I press the reset button (or restart my debug session) the process starts all over again. (works fine for default sensor app)
I modified Demo_Config.H by adding my SSID #define DEFAULT_OUT_OF_BOX_SSID "TP-LINK_2CDBE4"
Now when the board starts up, it connects to my router automatically - LEDS1-4 are lit. On to the next issue - serving up the web page. If I point my browser (firefox) to the correct IP address (http://192.168.1.100) I get nothing, it just times out. If I use port 81 (i saw something in the code) which is http://192.168.1.100:81 the FRAM board immediately drops the link and resets once or twice.
Can someone at TI please walk the E2E community through the process of getting this demo application example running on our hardware. If there is new code, please publish here or on the wiki.
Please verify that it will actually serve up some sort of web page.
I know this is an issue for more than one of us. Thanks.
1) I downloaded the webserver app from online, just as you have. SWRC246. You are correct, there is an error with the path to sensor.c which prevents it from being portable. We will address it immediately. The simply solution is to delete sensors.c from the project, then drag and drop sensors.c from the fram_sensors folder in the lib folder to the name of the project, while holding CTRL+SHIFT. A message will show up asking about whether to create a linked resource. Simply allow it to use "Project_loc" and it should be file to compile afterwards.
2) First time configuration on the Webserver and SMTP app have a known issue that has been resolved. It is strange, however, that the "process starts all over again". Do you mean to say that LED8 begins blinking as soon as you press the reset button. Please note that if you do a new debug session that redownloads the binary, the first time config information flag is erased from the flash of the MSP430 and you will have to do the First Time Config again. In reality, the CC3000 does have the profile internally, but the change in policy prevents it from using it (this can be changed depending on your application).
3) As for the issue with the board restarting, we have tested the release with CCS and did not experience the issue. However, we will test it and resolve the issue.In the meantime, I have attached a binary compiled version of the webserver. Please use the Elptronic software to download the binary to the MSP430:
In the main screen select the family to be MSP430FRxx, then select MSP430FR5739. Select the d43 file attached and then auto program. You might need to restart the board once the programming is done to enable it to run (either pressing the restart button in the GUI or on the board itself).
4) We have modified the port of the application in a new version we will release soon to be 80 to avoid having issues.
Please let us know how it goes wtih the binary. We will let you know as soon as the issues are resolved. Please note that if you have IAR Embedded workbench, that you may test it with that compiler.
---------------------------------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
Please note that the steps you took are correct. Once you use a browser to search for 192.168.1.100 (or whatever the IP is that is assigned to the CC3000), you should call it as :
You may also change the HTTP_PORT define in demo_config.h to be 80.
Instead of seeing the FRAM board reset, you should see a webpage that allows you to control an LED as well as a counter of the times the page has been seen.
I did as you suggested. No problems with reflashing program. First Time Config still fails. When board starts up, LED1 lites. Press S1 to start FTC LED8 lites, then starts to blink. So far so good.
I start the FTC SSID sequence from my laptop, LED2 lites, LED3 lites. That is all. Press reset button, back to just LED1 lit. Process is repeatable.
Next suggestions ?
The binary I have provided did not yet resolve the FTC issue since we are looking into it and will let you know as soon as possible about a fix so that you can use FTC.
Would it be possible for you to change the AP's name to TP-LINK? The CC3000 will then connect automatically and you can see the webpage.
I did as you suggested - Used your binary, Used TP-LINK as the ssid on my AP, Port 81 for browser web page. SUCCESS! I was able to see the web page.
Next Question - When will the updated project files be posted to the Wki or to this thread ?
We're releasing a new version of the Webserver application very soon. There seems to be an issue with the CCS version that we're currently investigating, which is why the binary I shared with you was generated by IAR.
In the meantime, you can get a 30-day evaluation version of IAR Embedded Workbench and use it to compile and run the code:
Is the CCS version CC3000 + MSP430 FRAM Webserver working yet? Thanks.
Which version of the Webserver application you are using?
I downloaded it from http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_Downloads a couple of days ago. It is version 2.15, swrc246a.zip. It only has an IAR project and does not have a CCS project. I was able to build a CCS project using the files in the IAR project, but I am not able to get the webpage working. Any suggestions are welcome.
Have you tried using the Binary? It works perfectly well for me. It was located at swrc246a\binary. I used Lite FETPro430 to program it.
Unfortunately, the FRAM WebServer App only supports IAR currently. We are working to add support on CCS.
Can you please provide a date when the CCS version of the CC3000 FRAM WebServer app will be available?
We are wrapping up the packages currently. I expect they will come out sometime early next week. Thank you for your patience.
We exchanged emails earlier at the start of this thread.As mentioned, our requirement for the updated code is urgent.
I look forward to soonest possible access to this material (any documentation available in this context before it's release would also be welcome)
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.
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.