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.
Hi, I am compiling and deploying the CC3200 LaunchXL OOB example with TI’s Code Composer Studio (CCS6), but the OOB example doesn’t seem run the same as it did when it was truly “out of the box” where I'd get the dryer, water temp sensor, and sprinkler demos tab. When I run the ‘oob’ example from CCS, it isn’t using files in
“<Installation path>\CC3200SDK\cc3200-sdk\example\out_of_box\html”,
but some other html content that allows basic configuration of device mode and security, etc. Where is it getting these other web config files if not from my project directory?
For background, I did complete steps to format the serial flash (1MB, secure unchecked) and applied the Service Pack Update 0.5.2 using Uniflash, that completed successfully. I have Rev3.2, and chip is XCC3200HZ.
Is there some other step needed to compile and load all the web content files into flash apart from the project deployment with CCS and the SOP-2 jumper? For example, maybe I need to manually load all these files in the html directory one at a time using the "Add file" button in Uniflash? If so, what's the filepath need to be for each of these in the flash filesystem?
I tried Uniflash and using 'oob.bin' for the /sys/mcuimg.bin file, but that didn't change any of the web content files.
Also, as I'm sure we can get this above item sorted, and I'm learning about this TI platform for the first time, is there a tutorial somewhere explaining TI's approach for linking between the web variables, e.g. temperature sensor referenced as “__SL_G_UTP” and whatever TI javascript is fetching them, maybe the com.TI.tokenPoller.js?
Alex
Hi Alex,
The default web pages are loaded since you have not loaded the OOB pages.
You do not need to add it one after the other as this work is done for you as part of the SDK.
All you need to do is open a session and point to out_of_box.ucf (it is under cc3200-sdk\example\out_of_box\html).
Then, simply invoke the program button on Uniflash and verify all files are flashed (make sure SOP jumper is connected when flashing and don't forget to disconnect it after you are done).
Please note that the session file assumes you used the default installation directory for the SDK. Otherwise, it would not find the files on your dard drive. If this is the case, after openning the session file, you should see the list of files on the left side. You would need to modify each file for its URL location on your drive.
Next Uniflash release should have the option for relative path.
Regards,
Shlomi
Hi Alex,
As Shlomi mentioned, You need to flash web content(c3200-sdk\example\out_of_box\html) using uniflash.
To understand how to link dynamic variables into webcontent. you can refer section 12.2.4 of below document
http://www.ti.com/lit/ug/swru368/swru368.pdf
Regards,
Kaushal
That worked Shlomi, thanks. The "html/out_of_box.ucf" file has all the web content files listed for Uniflash and they go under the folder "/www/".
Alex
Hi Shlomi,
I have open a session and point to out_of_box.ucf and simply invoke the program button on Uniflash. What I saw is the red led flash 3 times but I did not find any corresponding SSID on my mobile phone.
What's the problem? I have worked on it for a long time. I really appreciate your help.
Best regards,
Guohui