This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430 FRAM Web Server Application problem

Other Parts Discussed in Thread: MSP430FR5739

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.

  • Hi,

    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:

    http://www.elprotronic.com/files/FET-Pro430-Lite-Setup.zip

    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.

    Regards,
    Gustavo

    0871.webserver.d43

  • Hi,

    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 :

    http://192.168.1.100:81

    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.

    Regards,
    Gustavo

  • 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 ?

  • D.,

    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.

    Regards,
    Gustavo

  • Gustavo -

    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 ?

    Thanks,

    Dave

  • Dave,

    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:


    http://supp.iar.com/Download/SW/?item=EW430-EVAL

    Regards,
    Gustavo

  • Gustavo,

    Is the CCS version CC3000 + MSP430 FRAM Webserver working yet? Thanks.

    Chun 

  • Hi Chun

    Which version of the Webserver application you are using?

    Regards

    Igor

  • Hi Igor,

    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.

    Chun

  • Hi Chun,

    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. 

  • Chun,

    Unfortunately, the FRAM WebServer App only supports IAR currently. We are working to add support on CCS.

    Regards,

    Miguel

  • Miguel,

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

    Thanks,

    Paul

  • Paul,

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

    Miguel

     

  • Miguel

    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)

    Thankyou


    Regards
    Peter Fenn  

  • 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

  • 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