Hey. Sadly that still gives the same error:
Looking for upload port...
Auto-detected: COM6
Forcing reset using 1200bps open/close on port COM6
Uploading .pioenvs\due\firmware.bin
No device found on COM6
*** [upload] Error 1
This is the output from the older working version:
Looking for upload port...
Auto-detected: COM6
Forcing reset using 1200bps open/close on port COM6
Uploading .pioenvs\due\firmware.bin
Atmel SMART device 0x285e0a60 found
Erase flash
done in 0.033 seconds
So it seems the port is found ok, but maybe if it isnt recognising the device type, the reset bit didnt work?