I have a K22FN512 on a custom board. Development was done in mBed on a FRDM-K22F. I have attempted to load through the mBed as a programmer to the 10-pin SWD header with no luck. Now with a P&E Micro Multilink Universal and MCUXpresso v10.2.0 I have also attempted to just erase the chip but get:
PEmicro GDB Launch Failure : The GDB Server was not able to establish a connection to the target processor. Please check your connections and power. Verify that the launch settings in the Debug Configuration are accurate.
However, with a logic analyzer I see the reset pulled down, activity on clk and dio, the reset is released, and then more activity. But I still get the debugger failing.
Thanks
-Alex