Please update your Cyclone Flash Programming Algorithms for MPC57xx through the link.
Older code algorithms includes area of HSM.
If there are ECC errors in these blocks, the device may stuck in reset. During reset, the SSCM module searches for valid boot header. If it reads corrupted data from HSM blocks, it will not exit the reset.
Newer should be with “NO_BASE_ADDRESS=00F90000/”
Failed sample waves on PORST vs RESET are as below.
Algorithms in S32DS_Power_v2_1 and S32DS_Power_v2017_R1 are good.