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.

[hdk+FreeRTOS] trimLPO failure

Other Parts Discussed in Thread: HALCOGEN

Hello,

I am developping a small project using RM48xx HDK + CCS5 + Halcogen 3.5.2 generated drivers (with RM48L950ZWT_REERTOS)

It only involves SCI communication.

When I reset the CPU or the system with CCS5, the next reset fails in SystemReset / trimLPO where access to LPO_TRIM_VALUE is caught by the dabort exception.
I was wondering whether the MPU was preventing me from going over system init another time.

Does it make sense? 
What is the normal procedure then when debugging in that kind of environment.
I have not been able to correctly re-sync with my target so far, unless I quit debug altogether and start it over - which is rather cumbersome and probably not necessary.

Any suggestions?

Thanks,
Roland.

  • Roland,

    If you enable MPU before reading accessing LPO_TRIM_VALUE, you need to make sure that the address of LPO_TRIM_VALUE is within one of the MPU regions. I am not sure why you need to access this location for the normal operation. I think that you can remove this piece of code.

    Thanks and regards,

    Zhaohong