Hello Community ,
While flashing I'm facing this error.
Hi@Shubham_97
Make sure your connection and hardware are working properly. If everything is ok, then the possible cause is that the MCU is locked.
Please refer to this answer
https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937227
BR!
Jim,