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.

How to make IVAHD analyzer work on DM8148 in CCSv5.5

Other Parts Discussed in Thread: CCSTUDIO

Hi,

1. In http://processors.wiki.ti.com/index.php/C6A816x,_AM389x,_DM816x,_DM814x_Debug_and_Trace_Tools#How_to_collect_STM_information_by_XDS560_V2_System_Trace_Emulator_receiver, it says that "You must be using MIPI-60 pin target connector for STM trace". But there is only 20-pin JTAG connector on DM8148 EVM and I tried it with SD XDS560v2 emulater. And I can see the EMIF throughtput as below when I uses STM to check memory throughput and access analysis. So is 60-pin a MUST or not?

2. But if I selected IVAHD analyzer in STM window, I can't see nothing there.

BTW, I have enabled a trace function in breakpoint pane.

3. I tried custom system trace and I can't see anything in ivhad analyzer either.

  • Hi,

    Would you pls help?

  • Hi Chris,

    Sorry for the delay in response. I was looking at it this afternoon and hope to have some answers for your tomorrow.

    ki

  • Hi Chris,

    Chris Meng said:
    1. In http://processors.wiki.ti.com/index.php/C6A816x,_AM389x,_DM816x,_DM814x_Debug_and_Trace_Tools#How_to_collect_STM_information_by_XDS560_V2_System_Trace_Emulator_receiver, it says that "You must be using MIPI-60 pin target connector for STM trace". But there is only 20-pin JTAG connector on DM8148 EVM and I tried it with SD XDS560v2 emulater. And I can see the EMIF throughtput as below when I uses STM to check memory throughput and access analysis. So is 60-pin a MUST or not?

    60-pin is not a must. As mentioned in this article: http://processors.wiki.ti.com/index.php/XDS560V2#Target_Board_Connector_Requirements

    You can use 20 pin and 14 pin connectors with system trace. However it may impact the amount of pins you have to pull data off the target. With 14 pin, you are limited to 1 pin for data while with the 20 pin you should have 4 pins. However I am having problems configuring the analyzer to use the 2 and 4 pin options on my 8148 EVM. I'm not sure if you saw the same issue. I can pull data with the 1 pin option.

    Chris Meng said:
    3. I tried custom system trace and I can't see anything in ivhad analyzer either.

    I can see data in the ivahd analyzer for my tests (I am using XDS560v2 w/ DM8148EVM). Can you provide the application you are running?

    Thanks

    ki

  • Ki,

    Thanks for your feedback.

    Yes. I can only make 1-pin work on DM8148 EVM.

    I am running DVR RDK decode demo on DM8148 EVM and I am sure that the IVAHD is working on h264dec during my test. The SW package is too big to share.

    For IVAHD analyzer, do I need to use custom system trace? Must I set the trace node in the breakpoint pane? Would you pls kindly advise your detial test steps?

  • Chris Meng said:
    Yes. I can only make 1-pin work on DM8148 EVM.

    I think this is some bug. You should have 2 and 4 pin available. I will file a bug for this.

    Chris Meng said:
    I am running DVR RDK decode demo on DM8148 EVM and I am sure that the IVAHD is working on h264dec during my test. The SW package is too big to share.

    Is the DVR RDK demo publicly available (can I download it from somewhere)?

    Chris Meng said:
    For IVAHD analyzer, do I need to use custom system trace? Must I set the trace node in the breakpoint pane? Would you pls kindly advise your detial test steps?

    I had to manually add a trigger for the IVAHD stuff. With the new trace usability improvements, you don't need to explicitly set the breakpoint anymore. you can add a trigger in the advanced properties of the trace config dialog:

  • Kim,

    Sorry. DVR RDK can't be download from external link.

    How you tested the IVAHD? I am thinking to try to use codec test sample code. I will try later and if it works I can share the CCS out file to you.

    BTW, I met below error when I open CCS now. How to recover the CCS? Reinstall CCSv5.5?

    Problems opening perspective 'com.ti.ccstudio.TICPerspective'

    Error calling restore in C:\CCSv5\ccsv5\ccs_base\common\analysis\scripts\SystemTrace.js at line number: 546:
    sun.org.mozilla.javascript.internal.WrappedException:

     

  • Chris - I will contact you off-line.

    ki