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.

CC3200-LAUNCHXL: Built-in demos (LED, TEMP, Accelerometer, etc) on the HTTP Server example do not work

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200, UNIFLASH

Hello,

I have the HTTP server up and running in a STATION configuration. I am able to access the webpages through my router (ip_address/index.html) for example.

The issue I run into is using this interface the communicate with the CC3200.

1) changing the wifi configuration through these menus do nothing (not that important as I have it set up the way I want it to)

2) the demos (LED, TEMP, Accelerometer, etc) do not interface with the board.

- The LED does not blink

- the accelerometer doesn't set off the "alarm"

- no temperature data is presented on the webpage ("current temp: NaN")

I haven't altered the code for the HTTP server example so I am confused as to why these demos do not work.

Thanks,

Nick

  • Hello,

    I did some further digging. I found that the parameter for the onboard temp sensor is polled through the code seen in the second picture.

    If pulls the info from param_demos.html, but this .html file has the value as "Unknown Token" (see picture 1).

    Thanks,

    Nick

  • moving thread to SimpleLink CC3xxx forum
  • Hi Nicholas,

    That does not look like our HTTP Server demo: processors.wiki.ti.com/.../CC32xx_HTTP_Server. Can you verify what example you are running?

    Are you using CC3200 SDK v1.2? Please open in Uniflash cc3200-sdk/examples/httpserver/html/httpserver.ucf and be sure you are flashing all user files (main.html, led_demo.html, jpeg) to the device.

    Edit:


    It looks like the webpage you are seeing is from the Out of Box demo. Are you attempting to run the Out of Box? If not, that may be why the page is not working. You will need to format the device, program the latest service pack, and flash the httpserver .bin and user files as explained above.


    Best regards,
    Sarah

  • Hi Sarah,

    Okay, I didn't realize that the page I was seeing wasn't from the httpserver.ucf file that I flashed.

    I can load main.html but the led_demo.html page will not load, I will try to reflash it tomrrow.

    I would like to use the 4 demos that are part of the out of box demo, how can I reconfigure the CC3200 so that those demos do work properly?

    Thanks,
    Nick
  • Hi Nick,

    You can reflash the .ucf file in the Out of Box example folder as above. This will flash both the binary file the board shipped with as well as all of the necessary user files. In Uniflash, open configuration cc3200-sdk/example/out_of_box/html/out_of_box.ucf

    Best regards,
    Sarah