Solved
configure the number of pins assigned to the SWJ
in RM0008 Rev 21; page 1083; Table 220. Flexible SWJ-DP pin assignment
"The default state after reset is “000�? (whole pins assigned for a full JTAG-DP
connection). Only one of the 3 bits can be set (it is forbidden to set more than one bit)."
I don't understand the table, which bit is responsible for which row in the table?
