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.

  • TI Thinks Resolved

CCS/TMS320C5515: RTOS/TMS320C5515: CPU load graph show nothing

Prodigy 160 points

Replies: 32

Views: 1561

Part Number: TMS320C5515

Tool/software: Code Composer Studio

CPU load cannot show any data

The following is the version of the tools and software:

CCS version: 5.5.0.00077 

C5500 Compiler Tools version: 4.4.1

DSP/BIOS version: 5.42.1.09

SYS/BIOS version: 6.35.4.50

The emulator that I used is Texas Instruments XDS100v2 

Can anyone give step by step guideline to setup the configuration or installation of required software?

  • In reply to Qian Gui Loh:

    Can you show a picture of the raw logs? I want to see what ones are there and confirm CPU log records are present.

    Todd
  • In reply to ToddMullanix:

    Hi Todd,

    Surprisingly the stairstep example CPU load is working today. However, I tested on my own code it is not working and the screenshot attached below is the raw logs of my code.

    Regards,

    Qian Gui

  • In reply to Qian Gui Loh:

    Can you scroll through the Raw Logs and see if you spot any CPU Load records? Do the same for ROV->LOG.
  • In reply to ToddMullanix:

    Hi Todd,

    There is nothing generated by CPU.

    Regards,

    Qian Gui

  • In reply to Qian Gui Loh:

    Can you attach your .tcf file? I expect you don't have the LOAD module turned on. You can take a look at the Stairstep example to see how to enable it.

    Todd
  • In reply to ToddMullanix:

    atlantis_digital.zip

    I not sure the way to turn on LOAD module even look at the stairstep example. Can you advise?

    Thanks and regards,

    Qian Gui

  • In reply to Qian Gui Loh:

    You need to add LOAD_init as a user init function.

    /* Call LOAD_init() before BIOS_start */
    bios.GBL.CALLUSERINITFXN = true;
    bios.GBL.USERINITFXN = prog.extern("LOAD_init", "C");
  • In reply to ToddMullanix:

    This means i need to add the whole LOAD_init function to my code?
  • In reply to Qian Gui Loh:

    No. The code is supplied by the kernel.
  • In reply to ToddMullanix:

    I could not build my project when I put this command in .tcf
    bios.GBL.USERINITFXN = prog.extern("LOAD_init", "C");

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.