JLink ‘Stopping in Setup()'

Hello, the Wio Terminal is a ATSAMD51P19.
However there were some issues with the Adfruit Feather M0 which is a SAMD21G18.

The solution of @prototypicalpro worked for me.