Hi Sanket,
Thanks a lot for your updated information. And that's very good to hear you can unlock it.
As I know, the IDE associated with P&E product can do the unlock(mass erase) function. Another debugger JLINK also can use unlock kinetis command to unlock the chip.
If you need to use the Cyclone SAP to unlock the kinetis, you can contact with P&E engineer, they will help you about it. Or you can just program the 0X40C directly with SAP.
Wish it helps you!
If you still have question about it, please kindly let me know.
If your question is solve, please help me mark the correct answer, just to close this question, thank you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------