brew install dfu-util
From the Updating Firmware page we can download the correct firmware file; I have the Expansion Board v3.0r so I download the Expansion Board DFU v3.0 firmware image.
To enter update mode and update the device follow these steps:
- Make sure your Pycom WiPy pcb is not plugged into the expansion board
- Unplug the USB cable from the expansion board
- Press the button ‘S1’ and keep it held (on the Expansion Board the S1 button)
- Plug in the USB cable to the host computer and wait 1 second before releasing the button
After this you will have approximately 7 seconds to run the DFU-util tool:
sudo dfu-util -D expansion3_0.0.9.dfu
I keep getting an odd error:
The first load of times I ran the command I got the following error “dfu-util: Cannot set alt interface zero”. This seems to be a known issue on some newer interface PCBs, so I am now waiting to hear back from support.
I don’t know if it is an issue with OS X 10.15.1, but we will see…