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.

Emulation speed low after system reset

Hi all,

we have a strange effect with a c6678 board, xds560v2, and CCS5.3: When the system is powered up and started the first time, everything goes fine. Then I stop the system and  do a system reset (from the CCS 'Run'  menu) before restart (otherwise the PCIE system will not start correctly). Now, after loading and starting the program again, the system performance is about 10 times slower than before. The pure software function is correct, but it is slow. To get back to the full speed, I have to power-cycle the DSP board and reconnect the debugger etc... which is quite time consuming.

This behaviour is the same on the EVM6678 and our own board based on the EVM. It is also the same for the Linux and Windows versions of CCS5.3 and previous versions back to about 5.1 (earlier version not tested). Moreover, the effect does neither depend on the DSP program nor on the configuration (debug/release); I have the impression it is somehow related to the system reset. We have connected the xds560v2 via USB. I have not tested if the problem also occurs with an xds100.

Has anybody made the same observations?

Thanks, Marcus

  • Something in your first startup is setting the pll to 10x.

    System reset puts the PLL back into bypass (1x).

    Nothing runs on your second run to set the pll back to 10x. 

    You need to change your workflow so the same thing sets the pll in both cases, else you need to use the gel file in \ti\ccsv5\ccs_base\emulation\boards\evmc6678l\gel\evmc6678l.gel to reprogram the pll after the system reset.

  • John,

    that's it, thanks you very much! I just have added   

    Init_PLL(PLL1_M, PLL1_D);

    into the GEL's onReset() function which reinitializes the main PLL whenever reloading the master core.  Now operating at full speed all time.

    Regards, Marcus