Hi notanivipul
Thanks for your updated information.
Do you modify your FRDM-KW38 board hardware or not after you get it?
If not, follow my steps do more deep checking.
We need to update your onboard debugger to JLINK, then use the JLINK commander to check your core with the SWD interface at first.
1. Download the JLINK driver and install it.
https://www.segger.com/downloads/jlink/JLink_Windows.exe
Download the JLINK bootloader firmware: 53_OpenSDA_FRDM-KW38.bin , will be used later.
https://www.segger.com/downloads/jlink/53_OpenSDA_FRDM-KW38
2. Enter bootloader mode
Power off the board, press the reset button SW1, and hold on it,at the same time, plug usb cable to J11, then release the reset button, now you will find your board is the device named as "DAPLINKBOOT"
3. Send 53_OpenSDA_FRDM-KW38.bin to your "DAPLINKBOOT", and wait the sending finished
4. Power off the board and power on it again.
ok, now, open the JLINK commander from your PC start area, check the following picture and follow it:
image.png
image.png
Now, can you find the Cortex-M0 like me?
Please check it?
Then you can delete your .launch , and use the JLINK to download the code again.
You can find I also can use the JLINK to download code.
image.png
image.png
image.png
Please also let me know your MCUXPresso version, I am using V11.2.0
Wish it helps you!
Any updated information from your side, please kindly let me know.
Best Regards,
Kerry