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.

EK-TM4C129EXL CC3100 module boost example IOT app

Other Parts Discussed in Thread: EK-TM4C129EXL, CC3100, EK-TM4C1294XL, UNIFLASH, CC3200

I am attempting to get the cc3100_http_server app running on the EK-TM4C129EXL demo board connected to a CC3100 module booster pack.

This example is located in the tivaware c 2.1.3.156 examples under the TM4C1294xl-boost-cc3100 board.

The example compiles, but an error is encountered when attempting  to write the new CC3100 image.

Press and hold USR_SW1 during reset to upload webpages to CC3100

Boosterpack's Serial Flash.
Webpages will be uploaded to CC3100 Boosterpack's Serial Flash.

CC3100 is configured in default state.

CC3100 is configured in AP mode

Uploading webpages to Serial Flash on CC3100 BP.
Opening file www/404.htm
Writing 303 bytes
Opening file www/about.htm
Writing 1834 bytes
Opening file www/block.htm
Writing 511 bytes
Opening file www/block.jpg
Writing 180251 bytes
Opening file www/ek-tm4c1294xl.jpg
Error in creating the file

  • Hello Doug,

    I have asked the SME to respond to your post.
  • Hello Doug,

    Thanks for bringing this to our notice. I will have to test it before I can tell you how this can be fixed.

    In the mean time, you could use the default webpage on CC3100, by not pressing the "USR_SW1" button. Once this is working, you could load the webpages that come with the "cc3100-http_server" example using UniFlash. The webpages are located in the "fs" directory inside the project folder. Instructions to program CC3100 can be found here: processors.wiki.ti.com/.../CC31xx_&_CC32xx_UniFlash

    Thanks,
    Sai
  • Sai,

    Flashing the image with uniflash is what initially tried. There is no uniflash usf or ucf file for the fs directory, and the uniflash wiki is not very clear on how to build one from scratch. Would you provide a usf or ucf or instructions on how to build the uniflash target configuration.

    Understanding how to update the cc3100 flash from a host microcontroller is important in my application.

    Thank you for your help with this.
  • Hello Doug,

    I was playing around with the CC3100 device and managed to get similar error to what you posted here. I formatted the CC3100's serial flash using Uniflash and then ran the program and it was able to load all the files.

    The application "cc3100_http_server" does not have the feature to format the serial flash on CC3100. I will have to look and see how we can add that feature.

    Can you try to format CC3100's serial flash using Uniflash and then put the board back on TM4C launchpad and run the application?

    To format the device I don't think you need an elaborate usf file. On launching Uniflash, choose "New Configuration". In the new window
    * For "Connection", choose "CC3x Serial(UART) Interface"
    * For "Board or Device", choose "SimpleLink Wifi CC3100/CC3200"

    You should be able to format the device by clicking on "Format" button.

    Thanks,
    Sai
  • Sai,

    Thank you for a workaround for this issue.  I will be interested in the added code to cc3100_http_server example that can erase the CC3100 flash.

    Regards,

    Doug