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: AWS IoT Core sending OTA updates to MSP432 through a CC3200 connected to a GSM module, not WIFI

Part Number: CC3200

Below I have attempted to draw my system such that it is easier to understand what I am trying to do. 

******************* Web application and all data stored in AWS
*** AWS IOT CORE*** Utilizing AWS IoT core which has support for TI CC3200
******************* I want to use this service to update my MSP432 over GSM. 

   ^              |
   |data          |OTA Updates
   |              v

*******************
*** GSM MODULE ****All examples are only provided for WIFI, so this will need to be resolved
*******************

   ^              |
   |data          |Write Firmware Updates to CC3200 Memory
   |              v

******************* Running FreeRTOS from AWS, Acting as the storage for the new firmware update for the MSP432
****** CC3200 ***** Acting as the middleman for all data to be sent to the cloud
******************* 

   ^              |
   |data          |Firmware updates
   |              v

*******************
***** MSP432 ******
*******************

I need this system to remotely update as well as manage data effectively. I have not found any examples of a system working like this, which surprises me as this seems like a pretty standard way of working. IE using GSM to communicate with the cloud. 

My understanding is that any WIFI related code built into the CC3200 will need to be replaced with GSM code. An alternative to this is that I simply use a hotspot in an old phone nearby in the mean time. 

My questions are : 

Is there any existing examples of the code required for replacing the WIFI portions of the CC3200 with GSM code such that I have the same connectivity but using a GSM module?

Are there any examples of using the AWS IoT core in the resource explorer that are not provided directly by AWS?

Is it possible to connect purely using the MSP432 and having it store and manage its own update? (By possible I mean does TI provide anything to make it streamlined, not is it possible in general)

  • Hi,

    Sorry but I don't understand why you want to use WiFi SoC without using WiFi. This not make sense. Communication with GSM modem is commonly done via UART and you can do this directly from MSP432. Usage of CC3200 will add additional not necessary complexity only.

    There is available AWS plug-in for MSP432E4 device (intended of usage Ethernet PHY or WiFi with CC31xx device). But there is no support for using GSM modem. You will need write this by yourself.

    Maybe you think there is a standard way how do such things via GSM modem. But this is not correct. Each manufacturer of GSM modem have different AT commands sets related to TCP/IP networking. There are modems with TCP/IP stack via AT commands, there are modems with MQTT or HTTP via AT commands, there are modems with/without support SSL/TLS via AT commands. There are modems without internal TCP/IP stack via AT commands (you need to run own TCP/IP stack and LCP/PAP/CHAP protocols at MCU). From this reason cannot exist one "universal" solution, especially when TI is not manufacturer of GSM modems.

    Jan

  • I had not seen the AWS plug-in for the MSP432E4. That is extremely helpful and clears up a lot for me. 

    The reason for using the CC3200 was that AWS provides a FreeRTOS example for it, however seeing as TI have an example already existing here, this has simpliefied thing significantly for me. My aim is to utilize as much existing stuff as possible for this project. 

    Another question, the AWS plugin you linked uses Ethernet or WiFi and if I want to use GSM, I simply need to replace all of the Ethernet and WiFi lines with the correct AT commands for the GSM module I am using?

    Cheers

  • Hi,

    There is layer slnet which allow to use sokcet code regardless is used Ethernet PHY or WiFi. You will need to add support to GSM into this layer. Implementation will depend on your GSM modem.

    But I am not sure if TI AWS plug-in is suitable for downloading big data blobs from AWS. I never tested this.

    Jan

  • I would just add the the MSP432 AWS plugin is based on the AWS embedded C SDK and it doesn't include any OTA example.

    You were referring to the AWS FreeRTOS which only supports CC3220 (it can also support CC3235, but not cc3200). This FreeRTOS SDK does include an OTA example.

    Anyway, as Jan mentioned, if you are using GSM for downloading the OTA image - you will need to implement this part yourself. Then you will need to refer to the OTA examples and documentation specific to the device you use (MSP432 or CC3200) to see how to install the updated image on the device.

    Br,

    Kobi