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.

RTOS/CC3100MOD: Importing SDK1.3 into TI-RTOS project

Part Number: CC3100MOD
Other Parts Discussed in Thread: CC3100, CC3100SDK

Tool/software: TI-RTOS

Is there documentation on the proper/recommended procedure to update an existing TI-RTOS (2.16.01.14) project (TM4C) to use the current SDK in place of the one built into the RTOS?

I can not find anything. Thanks.

  • Hi William,

    I'm trying to understand what you are currently running. Did you take an example from tivaware, modify it to add TIRTOS, and are now thinking about updating the CC3100 SDK files to version 1.30?

    Regards,
    Michael
  • We have built an application using the TM4C & CC3100 (with stock firmware - WiFi Versions: CHIP 0x04000000 MAC 1.2.0.2 PHY 1.0.3.23 NWP 2.2.0.1 ROM 0x00003333 HOST 1.0.0.10) using the TI-RTOS (2.16.01.14), and it built in CC31xx SDK.
    We now wish to update the CC3100 firmware and the accompanying SDK.

    Was hoping to find a step by step document, but can only find tivaware or porting docs.
    Thanks
  • Gave up on rebuilding the rtos. And just updated the firmware.

    TLSv1.2 now works (main reason for update).

    Regression testing of connectivity, wpa2, https, etc is progressing fine.

    I may have time later to update the driver, but for now, the combo is looking stable.

    Anything to be watchful for when running with servicepack_1.0.1.11-2.10.0.0 & SL_DRIVER_VERSION   "1.0.0.10"?

    Thanks

  • Hi William,

    It is recommended that you also update the host driver to 1.01.11 from your current version, due bug fixes that you do not have in your current host driver version. Since the 1.0.1.11 servicepack was validated against the 1.01.11 host driver, there could potentially be compatibility problems.
    See the host driver release notes for a list of what changes + fixes were made. You can find those in root of the CC3100 SDK.

    Regards,
    Michael
  • Well I revisited adding the simplelink files into the rtos (C:\ti\CC3100SDK_1.3.0\cc3100-sdk\simplelink to C:\ti\tirtos_tivac_2_16_01_14\products\tidrivers_tivac_2_16_01_13\packages\ti\mw\wifi\cc3x00\simplelink).

    There was a few tweaks required to build. But had the aforementioned DMA errors on start.
    Luckily the DMA errors I encountered loading the firmware, ie:
    retVal = sl_FsOpen("/sys/servicepack.ucf",...
    trying to DMA from flash - generates dma error 1
    led me to find & fix line 406 in driver.c :
    /*static const*/ _SlSyncPattern_t g_H2NSyncPattern = H2N_SYNC_PATTERN; /* can NOT be in FLASH!!!*/
    So now its running.

    Someday I will update the http(s) files, but for now all is well.

    A gigantic leap of faith would be required to release this. I predict weeks of testing & abuse before feeling confident.
    Thanks again.