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.

When does sys/bios enable TSC for C6x DSP

Other Parts Discussed in Thread: SYSBIOS

Hi,

I am using BIOS6.33+c6678 and I want to get synchronized time for all cores. To achieve this I want to only enable TSC after all cores synchronized.

However it seems TSC is enabled by BIOS even if I did not check timestamp provider module. I did not enable TSC mannually however it gets non-zero value when entering main function.

So where can I disable TSC initialization in BIOS6?

B.R.

River Liu

  • River Liu,

    Even though you did not check the Timestamp provider module, its probably being brought in by some other module.  I don't see an easy way of not bringing in the Timestamp module.  There's no config that you can just disable that would do this.  Basically you would have to figure who's using Timestamp and not use that module.  For the long term, you will need to do this to disable Timestamp from being brought into your program.

    Now for the short term there are two hacks that you can do to not bring in Timestamp.
    1.  There is a file called Settings.xs located in <INSTALL>/packages/ti/sysbios/family/c64p which references which Timestamp on which devices.  Look for your device and just replace the Timestamp provider with the null "" string.  Now, I have not tried it myself, but I think this would be the easiest solution and not bringing in Timestamp.

    2.  You can modfiy the Timestamp.c file to not enable TSC.  This would require a recompile of that package.

    Judah