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.

Compiler/CC3200-LAUNCHXL: RTOS-10

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: CC3200, CC3200SDK

Tool/software: TI C/C++ Compiler

Hi,

I have developed the code earlier in RTOS 8 , Now I want to migrate the code to RTOS 10 , I want to know the steps involved in achieving so, I have downloaded and kept latest SDK version 1.4.0 the Free RTOS DEMo with RTOS 10 Demo has built successfully. Question is how to port RTOS 10 to my code. Please  help me in this manner.

  • shrijith,

    The latest CC3200 SDK, v.1.4, has RTOS 10 integrated.

    BR,

    Seong

  • Hi ,

    I want your help in migrating an existing project built with RTOS 8 to RTOS 10

    what I am trying to do?

    I am trying to migrate my existing project with RTOS 8 to RTOS 10 to use notify API's, Event Groups

    How I have started it?

    (1) I have installed SDK v1.4.0

    (2) I tried to link the files and change the location of SDK latest SDK but I failed

    (3)     I am getting error as

             #10234-D: unresolved symbols remain

    undefined first referenced
    symbol in file
    --------- ----------------
    vQueueWaitForMessageRestricted ./timers.obj

    Note : when I click on open decleration of  vQueueWaitForMessageRestricted  it goes to file queue.h but still facing error please help.

    What help I expect?

    Steps to change existing RTOS 8 to RTOS 10 in a project.

  • Hi, 

    you need to compile the FreeRTOS/Source/queue.c file and link its object.

  • Hi,

    I have done exactly as you have said but now I'm getting errors at port.c 

    which is as follows upon closely looking at my previous project I found that CC3200SDK 1.3.0 has different RTOS source files and CC3200 1.4.0 has different RTOS source files @ locations freertos/source

    i.e In RTOS 8 project under portable ARM_CM4 file is there but RTOS 10 has  ARM_CM3 file. What to do now? please help me

    I have attached that also for reference

  • Hello, 

    in case of v1.4.0 you show the CCS tools, however in case of v1.3.0 you point the GCC tools. 
    Please, tell which tools chain you use. 

  • Do you link CC3200SDK_1.4.0/cc3200-sdk/oslib/ccs/free_rtos/free_rtos.a or .../oslib/gcc/exe/FreeRTOS.a library?

  • Hi,

    I am using CCS only.

  • Which port.c file do you try to compile?
    There is no void xPortPendSVHandler( void ) function within C:\ti\CC3200SDK_1.4.0\cc3200-sdk\third_party\FreeRTOS\source\portable\CCS\ARM_CM3\port.c

    What do you try to compile and link?
    Why do not you try to link the precompled rtos library?

    Did you try to build the freertos_demo example provided by CC3200 v1.4.0 SDK?

  • Hi Tomasz Kocon,

     

    Did you try to build the freertos_demo example provided by CC3200 v1.4.0 SDK?

    YES Its running...

     

    Which port.c file do you try to compile?

    Its in this path

    C:\ti\CC3200SDK_1.4.0\cc3200-sdk\third_party\FreeRTOS\source\portable\CCS\ARM_CM3\port.c

     

    I was able to build my code without any issues thank you for your time..

    what made me achieve this?

    I linked 4 files to my project from RTOS Source files namely..port.c, que.c timer.c, task.c

    Issue I'm facing now is One of my task is not running, Which is a UART, Timer based Module, In this task I am polling a MODBUS device for  some second to read the data.

    My RTOS timer is running I have done LED toggling based on a timer task and confirmed it , My HTTP server task is also running.

     

    What might be the issue?? can you kindly  give me a hint do I need to resolve some API calls at RTOS side??

     

  • Hi, 
    your MODBUS issue is a separate topic.
    Please close this thread and start a new one strictly related to a MODBUS issue. 
    Please provide your findings to help others to help you.