Hi Murali N
If you don't erase the MK22 MCU, then the OpenSDA should still be there, so you could verify that you have the correct firmware if you drag and drop (in the booloader folder) the k22fn512_usb_kw40z_cmsis-dap.bin firmware available in the page:
OpenSDA Serial and Debug Adapter|NXP
If you are using windows 10 please consider the note that is in red in the above page.
Hope this could help you
Best Regards
Jorge Alcala