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.

CCSv4 Loading of Printf log messages into the Tools->RTA->Printf Logs window

Hi

CCSv4.2.5.00005, SYS/BIOS 6.31.4.27, IPC 1.22.3.23

Our system is running production code from flash. I'd like to be able to connect the emulator to look at the Printf Logs. After loading the symbols for our production .out file, is it possible to get CCS to load the Tools->RTA->Printf Logs window to show the log_prints that are in the loggerbuf?

I can see the logs if I go to ROV->LoggerBuf->records tab -> loggerBof0, but I can only view one line at a time. It would be much easier to view if it was in the Printf Logs window. (and easier to search for strings)

Cheers

  • Eddie,

    After opening RTA Printf Log try restarting the target application. If this does not work let me know what issue you're running into.

    Thanks,

    Imtaz.

  • Hi Imtaz

    What do you mean specifically by "

    Imtaz Ali said:
    try restarting the target application
    ?

    Cheers

  • Eddie,

    I don't have a flash based device but  I performed the following steps to test (I am using an early version of CCS5.2 but don't think any changes were made in this area):

    • Start CCS
    • Start debug session
    • Connect to h/w target and Load Program
    • restart CCS
    • start debug session
    • connect to target and Load Symbol
    • Open RTA Printf Log
    • Run and halt target ... I see log in Printf view

    Does this not work for you? If not, I recommend reset/restart your program from CCS Debug toolbar (this will re-initialize RTA).

    Regards,

    Imtaz.

  • Imtaz Ali said:
    Run and halt target ... I see log in Printf view

    Well this sorta works. Unfortunately I get an Abort. But using your idea, I did a single assembly step and the log window loaded. Yeah!

    Thanks for your help.