Problem uploading to Uno R4 WiFi

I am having a problem uploading a sketch to my Arduino Uno R4 Wifi. Using Arduino IDE 2.2.1, MacOS Ventura 13.5.1. I've tried the double-reset suggestion, with no success.

Does anyone have any ideas on how to solve? Thanks in advance. I've posted the Output below

Connected at 921600 baud
identifyChip()=nRF52840-QIAA
write(addr=0,size=0x34)
writeWord(addr=0x30,value=0x400)
writeWord(addr=0x20,value=0)
Erase flash
chipErase(addr=0)

Done in 0.001 seconds
Write 51608 bytes to flash (13 pages)

[                              ] 0% (0/13 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0, size=0x1000)

[==                            ] 7% (1/13 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x1000, size=0x1000)

[====                          ] 15% (2/13 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x2000, size=0x1000)

[======                        ] 23% (3/13 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x3000, size=0x1000)

[=========                     ] 30% (4/13 pages)write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x4000, size=0x1000)

[===========                   ] 38% (5/13 pages)
SAM-BA operation failed
write(addr=0x34,size=0x1000)
writeBuffer(scr_addr=0x34, dst_addr=0x5000, size=0x1000)
Failed uploading: uploading error: exit status 1

Welcome to the forum

Your topic has been split from an unrelated one. Please do not hijack old topics

Try the suggestion " Run espflash directly, after the last step, disconnect the board and then remove the jumper wire before connecting it back to your machine