Error during special command "ERASE_PAGE" get_status on Portenta Machine Control

Hello,

I am having problems with uploading a sketch to the portenta machine control for the first time. Originally, it did not show up on the COM ports, but I realised that double tapping the reset button helped with this. I have looked through many topics and tried many of those solutions but they have not worked.

Here is a portion of the output:

strong textPerforming 1200-bps touch reset on serial port COM7
Waiting for upload port...
No upload port found, using COM7 as fallback
"C:\Users\benji\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.10.0-arduino1/dfu-util" --device 0x2341:0x035b -D "C:\Users\benji\AppData\Local\Temp\arduino\sketches\8F3296DCD7BBE0A0113CF5035759EE4A/Blink.ino.bin" -a0 --dfuse-address=0x08040000:leave
dfu-util 0.10-dev

Copyright 2005-2009 Weston Schmidt, Harald Welte and OWarning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Error during special command "ERASE_PAGE" get_status
penMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets

Opening DFU capable USB device...
Device ID 2341:035b
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(5) = dfuDNLOAD-IDLE, status(0) = No error condition is present
Aborting previous incomplete transfer
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash 2MB "
Downloading element to address = 0x08040000, size = 155916

Erase [ ] 0% 0 bytesFailed uploading: uploading error: exit status 74

Thanks