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.

LAUNCHCC3220MODASF: Issue: Unable to Access OTA Demo Page using [CC32xx-IP]/ota.html Method

Part Number: LAUNCHCC3220MODASF
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

hi,

I am currently working with the local OTA sample code on my CC32xx device. I have successfully flashed the device using Uniflash, and it appears to be connected to the network as indicated by the LED status. However, I am encountering issues when trying to access the OTA Demo Page using the method [CC32xx-IP]/ota.html


C32xx sdk version : simplelink_cc32xx_sdk_4_10_00_07

My PC and C32xx device are on the same local network, but they appear like this.


  • hi,
    Any update today?

  • Hello, 

    I believe you have another thread with this issue open.

    Let me assign it to an engineer that can help you with this one.

  • Hi,

    This is an old version of the SDK, I would recommend using the newest sdk as the ota interface has changed between sdks and now use the OTA_IF files.

    Regarding the error your experiencing with the older sdk. Did you include the ota.html file in uniflash when you flashed the device?

    Best,

    Rogelio

  • Hi,

    Our project is currently using two SDKs: simplelink_cc32xx_sdk_4_10_00_07 and azure_cc32xx_4_10_01_01. It is nearly finished. Can I switch to the latest SDK for the same project? We are using the older SDK due to an Azure dependency. Will switching to the latest SDK affect my Azure SDK?



    We couldn't find ota.html file in this simplelink_cc32xx_sdk_4_10_00_07. Could you pls guide where can we find it?

  • Hi,

    I see, unfortunately you will have to stick to the older CC32xx sdk due to the azure limitation.

    The ota.html is included in the user files when you import the project from the ZIP found under the uniflash folder of the example

    If you want to include your AP ssid and password you will need to change the set values in the local_ota.h file

    Then build the new .bin in CCS. You can find this in the debug folder 

    You will then need to add this new .bin into the uniflash project

    Next create and flash the image.

    Once flashed you will need to open the terminal and confirm you are connected and have an IP address

    Once it prints "waiting for new ota upload"

    you can enter the url IP_address/ota.html and you will be greeted with this page

    Where you can start the ota update.

    Make sure the computer your accessing ota.html is also connected to the same network the CC32xx is connected to.

    Best,

    Rogelio

  • Greetings 

    Now I am trying to perform an OTA update using a GSM modem. Our SIM7600 modem provides 512-byte chunks of the OTA file via UART. Can I use these chunks instead of the HTTPS payload in the local OTA sample code?

    Here are my findings:

    1) Initially, I need to call:
       - OtaArchive_Init(&gOtaArchive);
       - OtaArchive_CheckVersion(&gOtaArchive, (uint8_t*) filename);

    2) When processing my OTA tar file chunks from GSM with OtaArchive_Process(), it returns the number of unprocessed bytes, which 
         should be added to the beginning of the next chunk fed to the function.

    3) After the upload is complete (when ARCHIVE_STATUS_DOWNLOAD_DONE is returned), a reboot is performed as you suggested.

    4) Upon reboot, my main() function calls OtaArchive_GetPendingCommit().



    Do you have any suggestions on the steps above? Am I on the right track?


    - Noushad

  • Hi,
    Any update today?

  • Hello
    Any update today?