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/AM5728: IPC - ARM15/DSP: MessageQ Output

Part Number: AM5728


Tool/software: TI-RTOS

I have been trying to implement the custom MessageQ application provided by the linked question; Sahin's personal versions of the ARM and DSP projects. I was able to get them to build after awhile, making some of the adjustments mentioned in the thread as well.

My issue is with the output of the programs, I get no output to console or serial terminals. I believe the log_print0/log_print1 are Linux commands, but the target OS for both cores is supposed to be TI-RTOS. I've tried using printf and system_printf()/system_flush(), but neither of those worked when adding the information required to the .cfg file. (as suggested here: ). 

I get 154-D and 169-D errors:

I can launch the binaries to the cores but I can't tell what's happening unless I step through. The print statements would be better for a general purpose use-case. Please assist me in getting the statements to print to serial terminal.

Thanks in advance.

Alec

  • Hi,

    Which Processor SDK RTOS version is this? Are you using AM572x EVM/IDK or a custom board?

    Best REgards,
    Yordan
  • Hi Yordan,

    SDK RTOS is latest, 5.2.0.10, & yes, I am using AM5728 Industrial EVM. In addition, to save time, I've attached my altered code. 

    I think one method would be enabling the UART, but I was hoping to do something with the existing configuration, unless this is not possible.

    Thanks,

    Alec

    ex02_messageQ_ArmDsp.rar

  • Hi Alec,

    You can view the output of the log_prints in ROV by going to Tools -> ROV Classic -> LoggerBuf module -> Records tab.

    System_printf is another option, and you should be able to see an output by adding the following to your .cfg file.

    /* configure System module */
    var SysMin = xdc.useModule('xdc.runtime.SysMin');
    SysMin.bufSize = 0x1000;
    SysMin.flushAtExit = false;
    
    var System = xdc.useModule('xdc.runtime.System');
    //var SysStd = xdc.useModule('xdc.runtime.SysStd');
    System.SupportProxy = SysMin;

    And then in your code

    System_printf("");
    System_flush();

  • Hi Sahin,

    Thanks for the quick reply. I am trying to access the ROV Classic View but my RTSC is not properly pathed for this tool. Can you please assist in the setup of this window:

    This appears to be a general CCS setting, so I am not sure how I should set it up. 

    Thanks again for your assistance.

    Alec

  • So I guess the setting in the window I pasted was sufficient. 

    I will assume this output is correct until I have looked into this more.

    Thanks for your assistance, Sahin.

    Best regards,

    Alec