Please refer to https://community.nxp.com/t5/CodeWarrior-for-QorIQ/Codewarrior-10-5-1-flash-Erase-failed/m-p/1765604