Two different Silicon Labs USB Debug Adapters do not work correctly with that utility.
$ sudo ./ec2writeflash --port=USB --mode=c2 --eraseall
port = USB
ec2_GetDbgInfo(0x10c4,0x8044) 1
ec2_reset C2
EC3 debugger firmware version = 0x02
id=0x16, rev=06
./ec2writeflash:ec2/src/ec2drv/ec2drv.c:2020:
usb_interrupt_read in read_usb returned -110 : Connection timed out
Exiting now
./ec2writeflash:ec2/src/ec2drv/ec2drv.c:2020:
usb_interrupt_read in read_usb returned -110 : Connection timed out
$ sudo ./ec2writeflash --port=USB --mode=c2 --eraseall
port = USB
ec2_GetDbgInfo(0x10c4,0x8044) 1
ec2_reset C2
EC3 debugger firmware version = 0x28
Warning: this version is newer than the versions tested by the developers,
Please report success / failure and version via ec2drv.sf.net
Currently tested versions from 0x01 to 0x0e
id=0x16, rev=06
./ec2writeflash:ec2/src/ec2drv/ec2drv.c:2020:
usb_interrupt_read in read_usb returned -110 : Connection timed out
Exiting now
./ec2writeflash:ec2/src/ec2drv/ec2drv.c:2020:
usb_interrupt_read in read_usb returned -110 : Connection timed out
Two different Silicon Labs USB Debug Adapters do not work correctly with that utility.