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/CC3200: HTTP server example - Need support for TI RTOS

Part Number: CC3200


Tool/software: TI-RTOS

Hi,

I am using the HTTP server example from C:\ti\CC3200SDK_1.2.0\cc3200-sdk\netapps\http\server this example is based on free rtos.

I need to use the TI RTOS what are the changes I need to do in this example. 

If you have the example please send me the link. I stuck do this issues. I used TI RTOS in my project.

Thanks,

Pandurang

  • Hi Pandurang,

    I know we have documented this but I could not find it; so I took the liberty of migrating it myself & giving you a step-by-step.  Here is a list of the steps:

    1. Install TI-RTOS for CC32XX 2.15.00.17
    2. Import & build the ti_rtos_config project (it is part of the CC3200-SDK in: <cc3200 sdk>/cc3200-sdk/ti_rtos_ti_rtos_config/ccs).
    3. Import the httpserver example.
    4. Right-click the project & select 'Properties'.
    5. Expand to Build->Arm Compiler->Advanced Options->Predefined Symbols.  Replace 'USE_FREERTOS' with 'USE_TIRTOS'.
    6. Expand to Build->Arm Linker->File Search Path.  Replace 'freertos.a' with 'ti_rtos.a'.  Also, in the search path, replace '${CC3200_SDK_ROOT}/oslib/ccs/freertos' with '${CC3200_SDK_ROOT}/oslib/ccs/ti_rtos'.
    7. Click "Show advanced settings" on the bottom left of the properties window.
    8. Select Project References from the pane on the left.
    9. Finally, select the checkbox next to the "ti_rtos_config" project.

    I have attached my converted project to this post so you can use it as a reference.

    1884.httpserver_tirtos.zip

    Hope this helps,

    -- Emmanuel

  • Hi Pandurang,

    I found the link.  Please check this guide for reference as well.

    Regards,

    -- Emmanuel

  • Hi,

    Thanks for the information.

    I have downloaded the code from above link and imported the project into ccs. I am not able to complie it and getting some errors. These error are below. Please suggest. I could not able to locate folder "C:/Applications" (C:/Applications/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common/gpio_if.c"). Instead of this Can I use the "(C:/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common/gpio_if.c")
    and other files?


    Description Resource Path Location Type
    #1965 cannot open source file "hw_types.h" pinmux.c /httpserver line 45 C/C++ Problem
    #1965 cannot open source file "simplelink.h" main.c /httpserver line 62 C/C++ Problem
    #1965 cannot open source file "simplelink.h" smartconfig.c /httpserver line 39 C/C++ Problem
    gmake: *** [main.obj] Error 1 httpserver C/C++ Problem
    gmake: *** [pinmux.obj] Error 1 httpserver C/C++ Problem
    gmake: *** [smartconfig.obj] Error 1 httpserver C/C++ Problem
    gmake: *** No rule to make target 'C:/Applications/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common/gpio_if.c', needed by 'gpio_if.obj'. httpserver Unknown C/C++ Problem
    gmake: *** No rule to make target 'C:/Applications/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common/network_common.c', needed by 'network_common.obj'. httpserver Unknown C/C++ Problem
    gmake: *** No rule to make target 'C:/Applications/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common/startup_ccs.c', needed by 'startup_ccs.obj'. httpserver Unknown C/C++ Problem
    gmake: *** No rule to make target 'C:/Applications/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common/uart_if.c', needed by 'uart_if.obj'. httpserver Unknown C/C++ Problem
    gmake: Target 'all' not remade because of errors. httpserver C/C++ Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\driverlib). httpserver pathentry Path Entry Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\example\common). httpserver pathentry Path Entry Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\inc). httpserver pathentry Path Entry Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\oslib). httpserver pathentry Path Entry Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\simplelink_extlib\provisioninglib). httpserver pathentry Path Entry Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\simplelink). httpserver pathentry Path Entry Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\simplelink\include). httpserver pathentry Path Entry Problem
    Invalid project path: Include path not found (\Applications\ti\CC3200SDK_1.2.0\cc3200-sdk\simplelink\source). httpserver pathentry Path Entry Problem
    This project contains unresolved buildable linked resources. It might not build as expected. httpserver project Problems



    Thanks,
    Pandurang
  • Hi,

    I have changed the setting from (C:/Applications/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common") to "(C:/ti/CC3200SDK_1.2.0/cc3200-sdk/example/common") and project complied successfully.

    But when I run the project i found that the code stucked Permanently at lMode = sl_Start(0, 0, 0); in function static long ConfigureSimpleLinkToDefaultState(){}

    can you please suggest how to come out from this issue?


    Thanks,
    Pamdurang
  • Hi Pandurang,

    Unfortunately, I cannot reproduce your problem.  I ran the example project I had sent you & it worked just fine:

    Can you please erase & re-flash the latest network processor service pack (just to make sure you have the right version)?

    Regards,

    -- Emmanuel