Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: WEC7 Boot time with AM3517

$
0
0

Hi,

I would like to update regarding my question.

We analyzed the OALCalibrateSysClik" funciton. According to our analyzation, this function make "g_dwMeasuredSysClkFreq" valuables. And this valuables is used for "s_Frequency".

And "s_Frequency" valuables is used in "OEMProfileTimerEnable(DWORD dwUSecInterval)"....

As the end reslut, "s_Frequency" valuables is used for "g_pOemGlobal" valuables. "pfnProfileTimerEnable", it is the member valuables of "g_pOemGlobal" struct , it is used for profiler timer interrupt.

According to MSDN information, the "profiler timer interrupt" in OAL is an option. But this is helpful for timer accuracy increasing.  

So as a result, "OALCalibrateSysClk" function should not be removed. Is my understanding right?

If it is so, I would like to know how to enable the cache for "OALCalibrateSysClk" funciton.

My customer succeeded to cache enable for "OALCalibrateSysClk" function as the below.

 OALCalibrateSysClk() function is moved to the inside of "OALPowerPostInit" of oem_pm.c

They confirmed this modification makes  100ms wait time by "OALStall" function. Is this modification no problem to other funcition and valuables?

Please advise me.

Best regards,

Michi 


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>