Hi VIGNESH BALAJI,
Now please follow me to mass erase your TRK-KEA128 at first, besides, you can't use this code:SIM_SOPT0 = SIM_SOPT0_CLKOE_MASK;, this code is not correct.
Mass erase the TRK-KEA128 process:
1. install the JLINK driver
After you install the JLINK driver, you will find the J-Link Commander software.

2. Make sure you are using the JLINK firmware in your TRK-KEA128, from the picture which you give me, I find you already using the JLINK firmware.
The following step is very important!
3, unplug the TRK-KEA128 USB cable in J16, hold on the SW3, don't release the SW3 then plug the USB cable to your PC.
4,don't release the SW3, open J-LINK Commander windows:

You can find the JLINK can find the core now!
5.don't release the SW3, input command in the JLINK Commander windows: unlock kinetis

Waiting the : Timeout while unlocking device come out
6, release the SW3, input command in the JLINK Commander windows: usb

Until now, your chip is masserased, you can program it again, but take care,modify your code:
SIM_SOPT0 = SIM_SOPT0_CLKOE_MASK;
to
SIM_SOPT0 |= SIM_SOPT0_CLKOE_MASK;
Because if you use the SIM_SOPT0 =, you will clear bit SWDE, this will disable the SWD debug interface, that's why you can't program agan!
Please follow my step, mass erase your chip at first!
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------