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 Launchpad Exosite Cloud Demo trouble making it work

Other Parts Discussed in Thread: UNIFLASH, CC3200

Hi,

   Anyone here have made the Exosite Cloud Demo work for CC3200 Launchpad? I am following the steps from the link below and seem that I failed download of binary file as I have an error message at the end of the Uniflash log.

https://support.exosite.com/hc/en-us/articles/202271424--CC3200-Wi-Fi-Launchpad

Uniflash Log:

[19:39:01] INFO: > Executing Operation: Disconnect
[19:39:01] Operation Program returned.
[19:39:14] Begin Program operation.
[19:39:14] INFO: > Executing Operation: Connect
[19:39:16] INFO: setting break signal
[19:39:16] INFO: --- please restart the device ---
[19:39:20] INFO: connection succeeded
[19:39:20] INFO: getting storage list
[19:39:20] INFO: > Executing Operation: Init
[19:39:20] INFO: reading version info
[19:39:20] INFO: DEVICE CC3200 ES1.32
[19:39:20] INFO: reading version info
[19:39:22] INFO: reading version info
[19:39:22] INFO: reading version info
[19:39:24] INFO: > Executing Operation: Program
[19:39:24] INFO: > File name: /sys/mcuimg.bin, Update: true, Erase: true
[19:39:24] INFO: > Erase File: /sys/mcuimg.bin
[19:39:24] INFO: erasing file "/sys/mcuimg.bin"
[19:39:24] INFO: deleting file "/sys/mcuimg.bin"
[19:39:24] INFO: erase file completed
[19:39:24] INFO: > Size of file = 177624
[19:39:24] INFO: > Update File: /sys/mcuimg.bin
[19:39:24] INFO: Downloading file "/sys/mcuimg.bin" with size 177624
[19:39:24] ERROR: Open operation failed
[19:39:24] INFO: > Executing Operation: Disconnect
[19:39:24] Operation Program returned.

After this I removed the SOP2 Jumper, I followed the instruction below from the link. But, I can't seem to do that using my Iphone4s. Anyone here know what part I am doing wrong.

Using a smartphone, tablet or other wifi device, connect to the mysimplelink-XXXXXX access point. Then open a browser, navigate to http://mysimplelink.net. On the home page, take note of the MAC Address, you'll need it to link the device to your Exosite account. Then, go to the profiles page and select the SSID of the network you'd like to connect to, select the security type, enter the security key if needed, and push "Add".

Your device should now connect to your network and begin communicating with Exosite.

If you do not see the mysimplelink-XXXXXX access point, your device may already have a valid network saved. It force it into AP mode, hold SW3 and tap RESET and wait about 5 seconds, you should now see the access point.

- kel

  • Hello , 

    Try  to   format  the flash without  the  box checked ( Secure and Alert.)

    and for  each item in the list check the Erase , Update , Verify.

    Thanks

  • Hi Petru,

         Thanks for your reply.

         Based from what I have read in the docs, It is not recommended to format my CC3200 launchpad as my CC3200 is pre-production. I will seek other advice regarding formatting CC3200 launchpad.

         As recommended at the link, I only selected Erase to do a complete erase on all items on the list. But, still got the same results. I will try Erase, Update, Verify.

    - kel

  • Hi Kel,

    I have formatted my pre-production CC3200 LaunchPad without issue. Using just erase can be tricky if you have been doing a lot with your LaunchPad, as it would be difficult to keep track of all the different file that have been placed on the serial flash, and hence you may have run out of space.

    Also, with version 1 of the firmware now available, it would be good to clean up the serial flash, by formatting, then updating with the latest firmware.

    Glenn.

  • Hi Glenn,

         I will format my CC3200 launchpad with Secure, and Alert check boxes "unchecked" and selecting "1 MB" as capacity.

         From the datasheet the serial flash size is 8 Mega bits so that is equivalent to 1 Mega Byte.

    - kel

  • Yes, all sounds good....those are the settings I select to format.

    Glenn.

  • Hi All,

         After formatting the Serial Flash, I was able to connect to the Exosite Cloud Server and test the connections by toggling the LED and testing the accelerometer.

         But, after that I am unable to see my CC3200 launchpad at my smartphone. Anyway, at least I have connected to the Exosite Cloud Server.

    - kel

  • Markel Robregado said:
    But, after that I am unable to see my CC3200 launchpad at my smartphone. Anyway, at least I have connected to the Exosite Cloud Server.

    This would be likely due to the registering/unregistering of a mDNS service. Perhaps this is not included with the Exosite example.

    Glenn.

  • There are total 60 CC3200 launchpad currently connected at Exosite Cloud Server. I will be testing this connection for long hours and see if it fails. That is me at Makati City, Philippines.

    - kel

  • Hello again,

    When you install  exosite on  your CC3200  the   device is in  the STATION MODE  and is not  visible on  your  phone.

    The  CC3200  must  be in  ACCESS POINT MODE   then connect  your phone  to the  device  and  point your browser phone to CC3200 http://mysimplelink.net  if  you  don't  change the  address form the  interface

    It force it into AP mode, hold SW3 and tap RESET and wait about 5 seconds, you should now see the access point.  

    Thank you 

  • Petru and Glenn are correct that that demo does not do any mDNS setup and in fact doesn't serve anything at all when it's in STA mode, only when in AP mode.

    Also, for your long term test, I can promise that it will fail, probably somewhere around 24 hours. There are still a few bugs in that code. We're not actually sure what's causing it, but we think it has something to do with the i2c code.

    If anyone does some investigating into the issues, we do accept pull requests. :) https://github.com/exosite-garage/CC3200CloudDemo/ At this point, I'm not sure when I'll have more time to look at that code again.

    -- Patrick @ Exosite

  • Hi All,

        I wanted to try the Exosite Cloud Demo Program again. But, I got the same error again and unable to load Exosite Cloud Demo program. See, bleow.

    [12:14:36] INFO: erase file completed
    [12:14:36] INFO: > Size of file = 177624
    [12:14:36] INFO: > Update File: /sys/mcuimg.bin
    [12:14:36] INFO: Downloading file "/sys/mcuimg.bin" with size 177624
    [12:14:36] ERROR: Open operation failed
    [12:14:36] INFO: > Executing Operation: Disconnect
    [12:14:36] Operation Program returned.

       I have been using the CC3200 launchpad before this error with other example programs. What could be causing this error? I don't think it is right to format the serial flash again to make the Exosite Cloud Demo Progam to work for CC3200 Launchpad. As mentioned by a TI Engineer there is only the need to format the serial flash once.

    - kel

  • Hi,

       After formatting again, I got an error message at Tera Term and at Exosite Dashboard the CC3200 Launchpad is "OFFLINE".

       "Exosite: Failed to Activate (Re-Enable or Add to Account)"

       I followed again the Exosite Guide., am I doing something wrong? So, I guess I need to make a new device

    @Patrick

        As you have mentioned that the long time test will fail, this also happens at the Exosite Cloud Demo Program for Tiva Connected Launchpad. Here are the posts below. Maybe this bugs mentioned in the posts below is related to the bugs at Exosite Cloud Demo for CC3200 Launchpad.

    http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/358842.aspx

    http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/332931.aspx

    - kel

  • Hi,

        After re-enabling account for CC3200 Launchpad at Exosite, I was able to connect my CC3200 Launchpad to Exosite. 

    - kel

  • If anyone else is seeing this error, it means that the device is trying to provision itself in our provisioning system, but the system isn't expecting it to, either it doesn't know about that device (you haven't added it to your ti.exosite.com account or you used to the wrong MAC address) or it's already been activated (you probably formatted the flash and deleted the cik, in that case you need to click on the device from the devices page and do a "re-enable").

    I know about the CLP issues, I've actually posted there a few times. These two demos actually use two completely different code bases so it's doubtful that the issues are related. TI did all the FW development on the CLP so I think the fixes that they are working on will come with the next SDK release. (Don't quote me on that, I could be wrong, wait for an official answer from TI.)

    --Patrick@Exosite

  • Patrick Barrett said:
    (you probably formatted the flash and deleted the cik, in that case you need to click on the device from the devices page and do a "re-enable").

    I did format the serial flash several days ago.

    But this error below, is another issue, as I would need to format the serial flash again to load the Exosite Cloud Demo Program. As mentioned by a TI engineer, there is no need to format the serial flash more than once.

    [12:14:36] INFO: Downloading file "/sys/mcuimg.bin" with size 177624
    [12:14:36] ERROR: Open operation failed

    - kel

  • Yep, you're correct. I was only talking about the "Failed to Activate" error.

  • @Patrick,

        I tried the Exosite Cloud Demo Example Program again and got the same error. I format the Serial Flash and tried to load the Cloud Demo Example Program again and got the same errors. I tied the same steps several times and I get the same error. I give up now trying. This does not happen to other example programs that I have tried.

        This problem does not affect me as I am not working with any IOT product development using CC3200 launchpad. But, other people must be disapointed about this, if they want to use the Exosite Cloud Demo Example Program as base for their product development.

    - kel

  • @Patrick,

        I take back what I just replied earlier. I got confused with error message at Uniflash. I am always getting this error message. Even with this error message the Exosite Cloud Demo Example Program was loaded successfully at CC3200 Launchpad. I just thought the binary was not loaded.

    Binary still loaded Uniflash log:

    [18:53:33] INFO: > Updated Token value: 0x0
    [18:53:33] INFO: > File name: /cert/ca.pem, Update: true, Erase: true
    [18:53:33] INFO: > Erase File: /cert/ca.pem
    [18:53:33] INFO: erasing file "/cert/ca.pem"
    [18:53:33] INFO: deleting file "/cert/ca.pem"
    [18:53:34] INFO: erase file completed
    [18:53:34] FATAL: > File "location on local machine" does not exist on local File System
    [18:53:34] INFO: > Executing Operation: Disconnect
    [18:53:34] Operation Program returned.

    Failed Binary Uniflash Error: (with this error need to format Serial Flash)

    [19:39:24] INFO: erase file completed
    [19:39:24] INFO: > Size of file = 177624
    [19:39:24] INFO: > Update File: /sys/mcuimg.bin
    [19:39:24] INFO: Downloading file "/sys/mcuimg.bin" with size 177624
    [19:39:24] ERROR: Open operation failed
    [19:39:24] INFO: > Executing Operation: Disconnect
    [19:39:24] Operation Program returned.

    - kel

  • I was getting all sorts of UniFlash errors, sometimes it took me quite a few goes to make things work. 

    That was until today....when I tried using a different USB cable, now it is twice as quick and no errors. It was actually the identical cable, which I just have been using for a while, possible the contacts were compromised from me pulling in and out of the socket. 

    So my advise regarding the UniFlash errors, is to look at USB first. Change the cable, check the hub, try connecting directly to the machine, try a different port on the machine etc.

    Glenn.

  • Markel Robregado said:
    [18:53:33] INFO: erasing file "/cert/ca.pem"
    [18:53:33] INFO: deleting file "/cert/ca.pem"
    [18:53:34] INFO: erase file completed
    [18:53:34] FATAL: > File "location on local machine" does not exist on local File System
    [18:53:34] INFO: > Executing Operation: Disconnect
    [18:53:34] Operation Program returned.

    @Glenn.

        Regarding this error above, as recommended by Shlomi from the post below, is to leave the "update" and "erase" option unchecked for that file.

    Uniflash Error Messages Guide?

    - kel

  • Hi,

    I am working on cc3200 for one application. I have successfully completed my application that involves a temperature sensor and a GPS. Now I can able to see the temperature data and GPS location in mobile using cc3200 wifi.

    But now I want to connect the cc3200 device to internet, so that I can directly see the data through internet. I found TI has got an Exosite cloud. So can anyone please suggest me how to connect cc3200 to exosite.

    I have added my cc3200 device in exosite. Only thing left is I couldn't understand how to transfer the data from cc3200 to exosite. If anyone has already worked on similar applications, please give your valuable idea, so that it will be very helpful to me.

    Thanks in advance

  • Hi Subash,

    This post is more than a year ago. Much better if you make a new post regarding your problem. See, my blog for example project. Also, Exosite has very good documentation how to send and retrieve data to Exosite, which you can learn from.

    - kel