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.

TMS320F280037: regarding RTOS

Part Number: TMS320F280037
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Dear Engineers. Good Morning. I am developing the RTOS for TMS320F280037 MCU. However I am seeking help from the downloaded example from the TI website. The problem which i am facing now is this error in CCS, :Description Resource Path Location Type

[E0800] Instructions not permitted in structure/union definitions OsCpu_A.asm /280037_tets/Kernel/Ports line 21853 C/C++ Problem

Can you please guide me about this problem and how to solve this problem and what is this problem for?

Thank you in advance

  • Which example is this from? Which RTOS is it using? FreeRTOS or are you developing/porting something on your own?

    Whitney

  • Thank you for your reply. Actually I downloaded the C2000Ware_5_04_00_00 package from TI website. Within this package, I accessed the driver library for the F28003x family. Specifically, I navigated to the examples directory under the f28003x folder to use the provided example for reference. I have not made any modifications to the example code, and I am working to integrate it with my specific application. My aim is to understand and resolve the error mentioned above and developing my own RTOS.

    I look forward to your guidance. Thank you

  • The error message you your original post mentions a "OsCpu_A.asm" file. Is that a file you created? I couldn't find a file with the same name in C2000Ware. Is the error associated with a particular line of code, and if so, what is it? It's mentioning a structure/union definition?

    Whitney

  • The OsCpu_A.asm file is not part of C2000Ware; it is from the RTOS of my previous MCU and is part of the OS I am porting to the new TMS320F280037 MCU. This file is integral to the CPU specific implementation of the OS and includes context switching routines and interrupt handling.

    Regarding the error, [E0800] Instructions not permitted in structure/union definitions, it is occurring in OsCpu_A.asm at a particular line within the structure or union definition, as indicated by the CCS error description. The file contains inline assembly code that seems to conflict with the C structure definitions or usage rules in the current compiler.

    Thank you for your assistance!

  • Are there any symbol names in the OsCpu_A.asm file that clash with any of the C2000Ware file symbol names? Without seeing any of the code, it's hard for me to offer suggestions of what may be the issue.

    Whitney