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.

RM48 HDK pmu

Other Parts Discussed in Thread: HALCOGEN

Hi,


I'm using the PMU module of the RM48 on HDK REV - D & E with halcogen.

With Halcogen 04.05.01, in the file sys_pmu.asm the first line of code is missing  for _pmuSetCountEvent_ and _pmuGetEventCount_ function

Yours,

Martin V.

  • Martin,
    I can see your screen shot, but I do not understand what you are comparing.
    Within this function, r0 and r1 are not defined because they are expected to be passed as arguments.

    Best Regards,
    Kevin Lavery
  • Vanderwegen Martin said:
    With Halcogen 04.05.01, in the file sys_pmu.asm the first line of code is missing  for _pmuSetCountEvent_ and _pmuGetEventCount_ function

    In the thread Errors in setting the Performance Counter Selection Register in HALCoGen 04.03.00? I suggested removing the initial lsr instruction which left-shifts the counter parameter by one bit before writing to the Performance Counter Selection Register, since the instruction meant the _pmuSetCountEvent_  and _pmuGetEventCount_  functions didn't operate as expected.

    With Halcogen 04.05.01 the contents of the sys_pmu.asm file matches my suggested changes in the referenced thread.

    My concern is that my suggested code change has broken some existing applications. Could someone from TI comment.