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.

"BIOS could not determine the timestamp frequency of device" warning

Other Parts Discussed in Thread: MSP430F5438A

I am trying to configure System Analyzer in my project  with in CCS 5.4, received a warning : 

BIOS could not determine the timestamp frequency of device. Setting timestamp frequency to cpu frequency.To override this setting, set UIAMetaData.timestampFreq in your configuration (.cfg) file.

 Any one can tell me how to eliminate the issue ? 

Thanks,

qijie  

  • Qije,

    What device are you working with?  UIA tries to get the timestamp frequency from BIOS, but if it can't be determined, you will get that warning, and the CPU frequency will be used for the timestamp frequency.  This should be fixed in newer versions of BIOS.  But in case you get this warning, you can explicitly set the timestamp frequency in your configuration file by adding this code:

    var UIAMetaData = xdc.useModule('ti.uia.runtime.UIAMetaData');
    UIAMetaData.timestampFreq.lo = <your timestamp frequency>;

    On many devices, the timestamp frequency will be the same as the CPU frequency, but on some it is not.  For example on Arm ducati, the timestamp frequency is twice the CPU frequency.

    Best regards,

        Janet

  • Janet,

    My Chip is MSP430F5438A. it seems the adding code should be  

       var UIAMetaData = xdc.useModule('ti.uia.runtime.UIAMetaData');
       UIAMetaData.timestampFreq = <your timestamp frequency>;


    Thanks,

    Qijie  


  • Yes, if you have UIA 1.03.00.02.  If you upgrade to a newer BIOS and UIA, you can remove those two lines altogether, or if you still get those warnings (which you should not if your target is MSP430), you would need to use UIAMetaData.timestampFreq.lo.

    Best regards,

        Janet