diff --git a/content/pybytes/gettingstarted.md b/content/pybytes/gettingstarted.md index 2c9ca44..3de99ed 100644 --- a/content/pybytes/gettingstarted.md +++ b/content/pybytes/gettingstarted.md @@ -37,6 +37,8 @@ Else, go to [Pybytes](https://pybytes.pycom.io) and create an account After creation, you will land on the provisioning page. This is where we 'inform' the device about the Pybytes connection and how to set it up. The first time you set up the device for use with Pybytes, you will need to provision it using the Firmware Updater Tool. This is a good moment to become familiar with the tool [here](/updatefirmware/device/). +### Offline provisioning + 1. Open the tool, select your board and select the bottom two checkboxes on this page ![](/gitbook/assets/pybytes/add-device/pybytes-provisioning.png) @@ -47,6 +49,39 @@ After creation, you will land on the provisioning page. This is where we 'inform 3. Continue with the firmware update to the device. +### Online provisioning + +1. Download the app: + - Debian - https://software.pycom.io/findupgrade?product=pycom-fwupdater-online&type=all&platform=unix&redirect=true. + Unzip file and run create-service.sh with root privileges. + - MacOS - https://software.pycom.io/findupgrade?product=pycom-fwupdater-online&type=all&platform=macos&redirect=true + - Windows - https://software.pycom.io/findupgrade?product=pycom-fwupdater-online&type=all&platform=win32&redirect=true + + To check if the app is running: + - Debian - run ` sudo systemctl status fwupdater` in your terminal. You + should see the message that service is active and running. + - MacOS - Either find `FwUpdater` process in System Monitor list, or run + `ps aux | grep FwUpdater` this command should return list of 3 processes. + - Windows - find `Pycom Online Firmware Update` in Windows Task Manager + at Services tab. + + +2. Click on `Online Firmware updater` at Provisioning tab on the device page. + + ![](/gitbook/assets/fwupdater-1.png) + +3. Click `Next`. + + ![](/gitbook/assets/fwupdater-2.png) + +4. Select correct port to which your device is connected. Choose region and + country. Select Firmware type and version. + + ![](/gitbook/assets/fwupdater-3.png) + +5. Continue with the firmware update to the device. + + ## Step 4: Your first signal 1. Reset your Pycom device using the reset button. This will reboot the device and activate the Pybytes connection automatically. The output will look similar to this. You should see the `Last Connection` status in Pybytes change from `Never` to `Seconds ago` diff --git a/static/gitbook/assets/fwupdater-1.png b/static/gitbook/assets/fwupdater-1.png new file mode 100644 index 0000000..71b8d15 Binary files /dev/null and b/static/gitbook/assets/fwupdater-1.png differ diff --git a/static/gitbook/assets/fwupdater-2.png b/static/gitbook/assets/fwupdater-2.png new file mode 100644 index 0000000..d97be8f Binary files /dev/null and b/static/gitbook/assets/fwupdater-2.png differ diff --git a/static/gitbook/assets/fwupdater-3.png b/static/gitbook/assets/fwupdater-3.png new file mode 100644 index 0000000..af55b76 Binary files /dev/null and b/static/gitbook/assets/fwupdater-3.png differ