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.

TMS570LS3137: Performance Monitor Control Register

Part Number: TMS570LS3137

Hi

I am trying to read the CPU clock cycles to know how much time my BOOT application is taking using Performance Monitor Control Register.

its working fine but when I have to switch from Boot to my application code ,cycle count in the PMC register is resetting to zero.

This is happening only when i load the symbols of my application while in Boot, not sure what is the relation between loading of my application symbol file and cycle count in PMC register.

Apart from this here is what i am trying to do.

if I setup PMC register I should be able to read the CPU cycle count and tell how much time has elapsed since the PMC register configuration and CPU Cycle register should retain its value during different power up BIT which creates different resets like LBIST etc.