Hi JianJia,
You could use J-Link do mass erase with J-Link Commander tool, such as "unlock Kinetis".
After that, you need to modify your test code, you could let serial termial input some charaters to let board enter into LLS low power mode.
Wish it heps.