Hi,
From your description, the D2(red led) always lighting means the K22 chip is in reset state, that's why external J-Link could not connect this device.
Could you check the board circuit, if the SW1 reset button with problem or not.
When board power on, the D2 should be off.
And you also need to check the jumper position:
My board jumper info below:
shunted:
J9 1-2;
J10;
J13;
J15;
Other jumpers keep open.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------