I always got the error message after download my program inot Kinetics Device (MKL16Z128xxxx4)
Can you please try the demos in sdk? Please keep options->utilities setting.
If the problem is still there. Please check if the chip is locked. You can use a Segger J-link commander and type "unlock kinetis".
Sometimes hardware problem may also cause this kind of problem. Please check it.
Retrieving data ...