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.

TMS320C6455: non-disruptive character interface

Part Number: TMS320C6455

Hello,

I am looking for a simple UART debug console type of deal. that burns negligible amount of CPU & would not halt the processor. I was using the CCS Standard IO (CIO) printf's and putc's without realising they would halt the processor and I kept loosing the incoming external events.

I am using CCSv6, is the only version that supports some of legacy libs (Until I find time to later migrate them, I am stuck with this version for the time). Please suggest using RTDX or no stop Jtag or SYS-BIOS or some means to achieve Uart like character interface on the DSK6455.

Thanks,

-Michael.

  • Hi Michael
    Unfortunately this is a very old processor and DSK, and our ability to provide you any specific examples or guidance beyond what you see on the product folder is going to be very limited.
    Apologies in advance for that.

    The only thing I can think of beyond what you may already find on product folder is Spectrum Digital's product page for this DSK

    c6000.spectrumdigital.com/.../

    There are a bunch of examples (CCSv3 based) that may be a good reference. I don't see any UART examples though , and don't see a UART on the board.
    However hopefully this code base helps.

    Do note that the the device family is now NRND, so if it is a new design, I would also encourage you to look at c6655 family instead.

    Hope this helps some.
    Regards
    Mukul
  • Hello Mukul,

    Thanks for the reply. You are right, the idea was not to use the c6455 for the final design, It could be one the current offering soon enough.
    To get by this stage, could you offer some advice based on the current offering & Ti's philosophy for such debug interface, not exactly specific piece of SW, but give me the direction on what is the right interface that would closely match the simpleness and liteness on CPU cycles to mimic character pipe like the UART for simple debug interface.

    Thanks,
    -Michael.
  • Hi Michael,

    If you are running DSP/BIOS, you can use RTDX/RTA Log_printf instead. See this FAQ for switching from printf() to LOG_printf(): processors.wiki.ti.com/.../DSP_BIOS_FAQ

    If you are running SYS/BIOS, you can use System Analyzer/UIA to log prints: processors.wiki.ti.com/.../System_Analyzer_Tutorials_(CCSv6)

    Both of these options do not halt the CPU like printf does, and instead use RTDX to transfer the data.

    Otherwise, you can try using printf in "fully buffered" mode to improve performance, which is where the buffer only gets flushed when it's full, resulting in less CPU halts. See this page for more info and tips/tricks:
    software-dl.ti.com/.../sdto_cgt_tips_for_using_printf.html