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.

  • Resolved

CCS/66AK2G12: Unable to connect to ROV: "Target Not Responding and May Need to be Reset"

Prodigy 190 points

Replies: 14

Views: 90

Hi Ki

Thanks for the answers so far.   As my interest is to get some reasonably accurate function/thread/CPU load profiling within a rather large DSP application, I think my ETB-only BlackHawk emulator is not going to do the job.  

I've moved on to looking into using ROV which I understand makes use of facilities within SYS/BIOS to provide overall CPU loading and thread profiling data.   This info would serve me well.   

However, I have not yet been able to get ROV to work with my code.   When I tried this, while I was successfully connected to my target and the images loaded and running, I was unable to successful connect with ROV.  I perused the forum for ROV not connect and found the following thread

https://e2e.ti.com/support/processors/f/791/t/903050?tisearch=e2e-quicksearch&keymatch=ROV%20not%20connect

The picture in this thread that shows the message Target Not Responding and May Need to be Reset is what I am getting.   The end of this thread mentions a bug that Internal teams confirmed and can reproduce.   It is not clear if this is my issue or not.   Do you have any suggestions?  Could I be failing to do some other important step?

I am developing on a 66AK2G12 SoC.  Compiler version is v8.2.7.   CCS Version: 8.3.1.00004.

Below is a screen shot of my attempt to connect to ROV.  

  • Guru 332475 points

    Hi Richard, 

    I split your last post to a new thread since it is a different issue. I will bring this thread to the attention of the TI-RTOS experts.

    Thanks

    ki 

    -----------------------------------

    Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

    Having CCS problems? Check out the CCS Troubleshooting Guide

    Looking for CCS Training/Documentation? Check out the CCS Resources page

    Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal

    NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ

  • In reply to Ki:

    Hi Richard,

    1. What version of SYS/BIOS and XDCtools are you using?
    2.  Also, can you halt the target and see if you can connect then?
    3. Does ROV Classic work?

    Todd

  • In reply to ToddMullanix:

    Hi Todd

    Thanks for promptly taking the hand-off from Ki.

    Item 2.   I halted the DSP core but could still not connect with ROV.

    Item 3 and Item 1

    ROV Classic did eventually respond.  It took a little while and I almost gave up.  I suspect the screen shot below from the System Module's XDCPATH shows the SYS/BIOS version and XDCtools versions you requested.  

    As I am interested in thread and CPU profiling info, can I get this from ROV Classic somehow?  Or does this info provided help unlock why new ROV is not connecting?

       

  • In reply to Richard Young:

    Hi Richard,

    ROV Classic and Runtime Object View has the same information, but Runtime Object View has better features (e.g. graphs, multiple views open at once, save data to a file, etc.).

    You can increase the connect time in Runtime Object Value. Look in the Setting->Data Retrieval Settings.

    Also, just to confirm, you are using elf format (and not COFF). ROV Classic supports both, but Runtime Object View only supports elf.

    Todd

  • In reply to ToddMullanix:

    Hi Todd

    The project properties screenshot below shows elf is used.

    However, I cannot find the button to access the Data Retrieval Settings you refer to.  Below is a screenshot of my GUI.   I cannot access the gear symbol you highlighted in the Runtime Object View tab.   Is there another one somewhere?

  • In reply to Richard Young:

    It is the gear. Let me check to see if there is another way.

  • In reply to Richard Young:

    Hi Todd

    When I cancelled then tried again, I got past the connection issue.  I'm not sure if the connection was fully successful or not.

    Anyway I got the following view.  However, my main interest is CPU loading which is showing blank.   That's the one particular graph I am really interested in.   Can you help?

  • In reply to Richard Young:

    Great! Yes, it is getting connect.

    Based on the list of modules (in the Viewable Modules list), you don't have CPU Load enabled. Try adding the following your .cfg file (and rebuild).

    var Load = xdc.useModule('ti.sysbios.utils.Load');
    
    

    Or if you want a more accurate CPU Load (at the expense of a slight performance overhead)

    var Load = xdc.useModule('ti.sysbios.utils.Load');
    Load.taskEnabled = true;
    Load.swiEnabled = true;
    Load.hwiEnabled = true;

    Todd

  • In reply to Richard Young:

    Hi Todd

    What I'm really after is the data available from the ti.sysbios.utils.Load module.   The Load module reports execution times and load information for threads in a system.  This is exactly the info I need.  I am OK to access this with Classic or advanced view.

    Since the Load module does not appear in the Viewable Modules list, I suspect somehow this module is not enabled in my application.   Do you have any guidance to pass along.

  • In reply to Richard Young:

    Looks like we posted at the same time:) See my previous post.

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.