I think I need to select the port in uVision with my ULINKpro, because I get the error "multiple sw debug port definitions" when I try to do any erase/flash/debugging. However, these settings cannot be changed when using the pack for my microcontroller (i.MX7D3 M4).
This is a dual-core device with Cortex-M + Cortex-A. The Keil MDK is not suitable for such dual core devices and Arm DS is more suited.
Coming back to your question, normally the "SW" port is automatically selected in the debug settings till you don't change it to JTAG. Have you connected multiple debug adapters to your PC? If yes then make sure to remove others and keep a single connection.
Just FYI, the DFPs do not have any influence on the debug port settings.
I would think so, but if I change it to an arbitrary other DFP, then suddenly the changes are persistent to the debug adapter. Also no, no other debug adapter is plugged in. I would like to use Arm DS, but I do not want to buy a license for it.