chore: add fwupdater docs

This commit is contained in:
Stas Seryi
2021-10-20 10:31:08 +03:00
parent c10d21e630
commit c8c5d66bc8
4 changed files with 35 additions and 0 deletions

View File

@@ -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`

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB