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.

TMS320F28388D: Console output on RTOS based project

Part Number: TMS320F28388D

Hi,

I have some printf statements in an RTOS based application targeted for F2838x. While I am able to see printf output before starting the scheduler the RTS library based printf present in task functions dont work due to the task stack being around 256 words. I want to use printf_stdarg.c in the project which claims to have stack light versions for the stdio functions. It has an external dependency on putchar() implementation. Is there a way to use RTS library based putchar for the same? I tried using the same but do not see any output on the console. Let me know if this can be done. Please suggest if there are any other alternatives for printing the data for C28x devices with the above mentioned task stack size limitation. Here is the link for the printf_stdarg.c file which I am using for reference.

Thanks
Vasudha

  • I am unable to help you use any alternative implementation of printf or similar functions. 

    A solution that should help is building with --printf_support=minimal.  This option means fewer of the features of the printf functions are supported, but it uses up less code size and stack.  However, there is a problem, and the stack savings are not seen.  I filed the entry EXT_EP-10804 to have this problem addressed.  You are welcome to follow it with that link.

    Thanks and regards,

    -George