- Download the
FwUpdater-mac.pkgfrom Releases page. - Run the downloaded
.pkgfile. - If you already have the old version of
pycom-firmware-updaterjust accept all alerts.
- Download the
FwUpdater-windows.exefrom Releases page. - Run the downloaded
.exefile.
- Download the FwUpdater-debian.tar.gz from Releases page.
- Extract archive to some directory.
- Open the terminal.
- Run
./create-service.sh {path_to_dir_with_extracted_files}. The path should be absolute(from your /home/ directory).
-
sudo snap install pycom-firmware-updater -
sudo snap set system experimental.hotplug=true -
sudo systemctl restart snapd -
type
snap interface serial-port. In the output you will see slots section. For example:name: serial-port
summary: allows accessing a specific serial port
plugs:
- pycom-firmware-updater
slots:
- snapd:expansion3 (allows accessing a specific serial port)
-
sudo snap connect pycom-firmware-updater:serial-port snapd:expansion3. snapd:expansion3 is the name of the hotplug slot from the command above. If you have some other name paste it instead. -
snap connect pycom-firmware-updater:raw-usb -
run
snap connections pycom-firmware-updaterin the 3d(Slot) column on the raw-usb and serial-port lines shouldn't be '-'. -
run the app by typing
pycom-firmware-updater.
If you have the [Errno 1] Operation not permitted: '/tmp/fwUpdater.pem'
error log do next:
sudo rm -rf /tmp/snap.pycom-firmware-updater/tmp/fwUpdater.pem