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.

CC3100: Use of external memory (flash/SD Card) for keeping the files of the web-server - Connect to router using the transceiver mode

Part Number: CC3100

Question1:

Is there any way to keep the files of the web-server (index.html etc) in an external flash memory or SD Card rather than the internal ROM or the embedded flash memory of CC3100? The external memory will be accessed by the host microcontroller which is connected with CC3100 over SPI protocol. If yes, could you suggest me any resource/example regarding this topic?

Question 2:

Is it possible to connect with a router using the transceiver mode and sending raw data? If yes, is it any relative example? The only available example I found about transceiver mode is the transceiver_mode which simply sends a raw pinging message but is not connected to the router.

Thank you in advance.

  • Hi,

    - External serial flash is mandatory for function of CC3100 device. At CC3100 chip is not embedded flash memory. External flash is intended to store html files, user files, ServicePack, etc. Acces to this flash is done via sl_ file-system API from host MCU. See: processors.wiki.ti.com/.../CC3100_&_CC3200_Serial_Flash_Guide and www.ti.com/.../swru368 chapter 14.

    - Via router you cannot send raw data. WiFi access points/routers are not designed for this purpose.

    Jan
  • Hi Jan,

    thanks for your answer. I am sorry but I placed my question incorrectly since it was related to CC3100MODBOOST and not
    to CC3100. So, let me ask you again:

    I use an STM32F401RE and the CC3100MODBOOST in order to build a WiFi Access Point/Webserver. I have already successfully
    ported some examples of Texas cc3100-sdk (spi_debug_tool, getting_started_with_wlan_ap, http_server etc).

    What I need to change is to store the webserver's files (html etc) in an SD Card instead of the external serial flash memory
    of CC3100, which is embedded in the CC3100MODBOOST. So the read/write of the SD Card will be implemented by the microcontroller and any other file which is is mandatory for the function of CC3100 device will stay as it is in the external flash memory.

    Is it that possible?
  • Hi,

    No this is not possible.

    There is only one option. You can disable http server in CC3100 and create your own http server at your STM32. In you code you will use TCP sockets API and all server logic will be inside your MCU. But I think this is achievable, cause create own simple http server is not hard.

    Jan
  • Hi Jan,

    I will give it a try since I have already developed a similar solution for Ethernet. 

    Have a good day.