Hi sanjana
for i.MX8X debugging one can look at AN12631
Normal and Secure Debug for i.MX8/8X Family of Applications Processors
Best regardsigor
never-displayed