Hi @johntse,
I'm not sure what the problem is (or was for me): for me too, it was not possible to use an external debug probe (J-Link EDU in my case) on J9. I suspect it is a problem by the factory default bootloader (DAPLink) and firmware (I believe it was a J-Link firmware loaded by default). I was able to debug it the device with OpenSDA, but using an external debug probe failed. I suspect it was because the K20 and its firmware were pulling some signals high/low which should be tristated.
Anyway, I was able to solve it:
- not changing anything on the board hardware (default jumpers, etc)
- programmed the K20 (using a J-Link on J10) and replaced the firmware on the K20 with the bootloader from my article (https://mcuoneclipse.com/2017/10/29/adding-a-delay-to-the-arm-daplink-bootloader/ )
- optionally load the SEGGER V2.1 'generic' firmware on it.
The key to a working board for me was to get rid of that original firmware on the K20.
You find that patched K20 bootloader at the end (links section) of the above article.
IMG_7021.jpeg
I hope this helps,
Erich