D20 is the only board where debugger is actually exposed to program external parts, not the on board MCU.
As for the error, I would double check the connections, especially that you have power on the target, since that is how decides to switch to external connector.