Upload firmware using CURL
curl -F "image=@<IMAGE_FILE>" http://<IP>/updateFirmware
ie. > curl -F "image=@spaControl.ino.d1_mini.bin" http://172.30.30.151/updateFirmware
Fix Lost USB Port Issue with FTD driver
What seems to have worked for me is actually removing the FTDI driver (/Library/Extensions/FTDIUSBSerialDriver.kext
), after finding that Apple ships an FTDI driver with the OS itself (/System/Library/Extensions/AppleUSBFTDI.kext
).
I think having both drivers active at the same time causes a conflict, which ties up the USB port.
https://superuser.com/questions/1135730/how-to-release-reset-serial-port-ftdi-devices-mac-osx