Plug the USB flash drive into the primary coming from the back of the device.
Do not reset. Re-run the flash command with --no-stub and --after no_reset . If still failing, use a dedicated hardware programmer like the J-Link to recover the bootloader. Zxdz 01 Latest Firmware