Integrating SEGGER_SYSVIEW_Conf() & SEGGER_SYSVIEW_Start() for recording the data is causing the program to be stuck

That could occur if an interrupt occurs before the scheduler has started because ulMaxPRIGROUPValue is only set as the scheduler starts.

Did you ask Segger about this? I suggest disabling interrupts before starting the systemview stuff - interrupt will get automatically re-enabled when the first task starts executing.