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.

CC3200MOD: CC3200

Part Number: CC3200MOD
Other Parts Discussed in Thread: CC3200, UNIFLASH

Hello

I'm new to developing with CC3200, but I have been playing around with SDK examples and understood the flow upto an extent.

My colleague has embedded Xilinx FPGA board on to the CC3200 MCU. 

He has managed to generate an Image (JPEG) from FPGA board which is sent to MCU via SPI interface and that Image is displayed on to the http server.

Now my question is, how can I directly store the JPEG image on MCU'S memory and dispaly the same on http server without mounting an external camera.

Firstly, is it possible to proceed that way? If so how can I start.

Any leads would be much appreciated.

Thanks and Cheers :)

  • Hi Vignesh,

    If you have an individual image, you would want to store the image in the CC3200 serial flash, and you can use the internal HTTP server to access it. The httpserver example in the CC3200 SDK demonstrates this. The example folder provides HTML pages and images to flash to the file system before running the demo. In your case, you would save the JPEG to the file system during runtime using the SimpleLink file system APIs (like sl_FsWrite, etc.).

    Are you only storing one/a few images, or constantly refreshing the image?

    Best regards,

    Sarah

  • Hi Sarah,

    Thanks for your information, I was going through the same as you were talking about SimpleLink file system. (I should figure out where and how to use it).

    Pointing to your question, For time being I wanted to store a single image and display it on server. Later, we are planning to implement RTSP by H.264 Encoder which will be programmed inside FPGA board and through the assistance of MCU'S capability the image will be displayed on the server.

    I have read somewhere stating that JPEG files can't be stored instead VLC type should be considered. If you know something about this, please do share your knowledge. 

    Thanks and regards,

    Vignesh

  • Hi Vignesh,

    I think Sarah want to point to different thing. Serial flash chip have limited number of write cycles (100k write cycles per sector). If you will rewrite your jpag file too often, serial flash will be damaged soon.

    Jan

  • Hi Jan,

    Thanks for you info.

    I didnt't knew this. So, from where would you suggest me to start as i'm completely new to this. 

    BTW, you mean flashing too many times makes the processor damaged?

    It would be nicer if you can provide me with some head start regarding this task.

    Thanks and regards,

    Vignesh

  • Hi Vignesh,

    CC3200 QFN chip does not have internal flash memory. As storage is used external SPI flash chip. Inside module is a CC3200 QFN chip and 1MB SPI flash chip. This flash chip have limited number of write cycles as any other flash chip. For usage like programming (by Uniflash) during development this is not a big deal. Because 100k write cycles/sector is a big number. But if you create code which will continuously rewrite one file, you will get into troubles soon.

    Few of possible ways:

    • if your JPG data are not big, you can hold them inside RAM. Run at application processor http server and show this JPG data.
    • another option can be streaming of video like this reference desing

    Jan