Failing to flash Ender3 v2

The Disable SWD setting is most likely incorrect unless you have visually verified that it is a GD chip on your board. Otherwise, see Issues flashing the printer board