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.

TMS320F28379D: FreeRTOS Integration

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hi, 

I imported the Demo project from this path Kernel > FreeRTOS > Demo > C2000F2838x_C28x_CCS, and used the syscfg tool to switch the processor to F28379D LaunchPad by following these steps: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1013265/tms320f28379d-cannot-change-the-device-value-to-28379d-in-ccs-project-with-project-properties-and-sysconfig. However, the project still doesn't run correctly.

Example Project Imported: freertos_ex2_c28x_led_blinky_syscfg

The code gets stuck here: 

 

Is there any other way I could use FreeRTOS with this board, or are there any steps I'm missing in changing the processor for this project?

Thanks

  • Hi Aashika,

    Apologies for the delay. Unfortunately, the FreeRTOS demos are not compatible with SysConfig-based migration. So, I would suggest creating a new project for F28379D.

    You will need define a linker cmd file for the F28379D device with appropriate sections for FreeRTOS (You can refer to the cmd file at [C2000Ware]\kernel\FreeRTOS\Demo\C2000_F2838x_C28x_CCS\). All other FreeRTOS files remain the same and can be imported and used directly.

    Thanks,

    Arnav

  • Hi Arnav,

    Thank you for your response, I imported the single core blinky project for F28379D and included FreeRTOS from syscfg, however I was running into this issue:

    But then I combined all sections of the LS RAM in the cmd file and replaced this in the .text section as shown below:

    Original:
      
    RAMLS0           : origin = 0x008000, length = 0x000800

       RAMLS1           : origin = 0x008800, length = 0x000800

       RAMLS2           : origin = 0x009000, length = 0x000800

       RAMLS3           : origin = 0x009800, length = 0x000800

       RAMLS4           : origin = 0x00A000, length = 0x000800

    .text            : >> RAMD0 |  RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4,   PAGE = 0


    Replaced with:

       RAMLS_ALL        : origin = 0x008000, length = 0x002800

    .text            : >> RAMD0 |  RAMLS_ALL,   PAGE = 0


    After this, I was able to build the project with FreeRTOS successfully!