Getting task info do not work for IDLE and Timer task when using MPU

Use xTaskGetIdleTaskHandle and xTimerGetTimerDaemonTaskHandle.

Which MPU wrapper are you using? Can you share the 2 values - the xHandle value that you provide and the returned one?