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/TMS320C6657: Text_putMod from Text.c Preempts Main

Part Number: TMS320C6657

Tool/software: TI-RTOS

Hello,

I am seeing an odd issue intermittently after launching main. During my startup routines, including main and when main is spawning new tasks, I get random aborts and see preempted on the crashed thread. The callstack shows Text_putMod for ALL of the callstack frames that the debugger can show. I am not using cout or printf, and am curious as to how my main task can be preempted by this. This looks like some kind of recursive overflow.

Text.c - xdc tools 3.25.06.96

  • Hi,

    Could you elaborate on the bellow:
    1. Which TI RTOS SDK version are you using?
    2. Is this a custom board or TI EVM?
    3. Are you using a custom application or did you modified some of the existing RTOS examples?
    4. Can you describe what does your application do? Which modules does it use, etc..

    Best Regards,
    Yordan
  • Text_putMod is often invoked to display a module name or a module ID within a context of printing an error message. Most likely, theere is an exception raising bug in your code in main(). Try to step through your code in debugger and find out where the exception is raised.