Processor has escalated a configurable-priority exception to HardFault

Hi,

I am using CM55_FVP with MVE and Float enabled and using ARM DS 2024.1. with FREERTOS

when I try to return back from a (restorecontextoffirsttask) assembly code and load LR with 0xFFFFFFBC value (used for RTOS restore context of the task) when checked all the values are correct in the memory to load the next task. but unknowingly it goes into HARDFAULT with this in HFSR "Processor has escalated a configurable-priority exception to HardFault".

The MPU regions are correctly configured, the PC is correct and LR are all correct i dint understand what the issue might be.

Kind Regards

Aakash Tegginamani