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.

MPU disable in HALCoGen

Other Parts Discussed in Thread: HALCOGEN

Hello.

I don't want to use MPU in RM57L843ZWT_FREERTOS project. So I disabled 'Enable MPU" item in R5-MPU-PMU tab in HALCoGen. But... It still use MPU functions as 'MPU_vTaskxxxxx'. How can I disable it completely..

  • Hi Kim,

    We recommend to enable MPU for RM57L843ZWT device inorder to get good performace because of L1 Cache.
    Do you have a reason why you don't want to use MPU?

    Also you are right, currently HALCoGen FreeRTOS port needs MPU configuration, I will get back to you if I find a modified FreeRTOS sample code without MPU configured.

  • Hello Prathap.

    I guess MPU is a reason of a problem in my project now. I'm developing a TCP communication using lwIP on FreeRTOS, but it doesn't work well.. Sometimes it goes to 'dataAbort'. I think it is related memory. or sometimes it stopped at MPU queue function..   so I want to test it without MPU. There are also few external memory in my target board..I don't know it is reliable in my MPU configuration.

    Thank you.

  • Hi Kim,

    Attached is a quick port I did without MPU for RM57x device. Please have a look. 4520.Conq_RTOS_noMPU.zip

    (Note: Do not regenerate the code with the HALCoGen project along with the source, some assembly and C changes might be lost.)