Add device by flashing Pybytes library

From firmware 1.16.x onwards all Pycom devices come with Pybytes library build-in /frozen folder. That means that you can add your device quickly without the need of flashing Pybytes library manually.

Still if you want to extend Pybytes library or add your code file you have an option to flash Pybytes library manually.

Pybytes library written to /flash folder and will take precedence over build in firmware libraries in /frozen folder.

1. Install Pymakr plugin

Follow these instructions. Please skip Initial Configuration section.

2. Download Pybytes libraries

Newly added device

When adding device click on download Pybytes library link in last step.

Already added device

  1. Navigate to your device in Pybytes
  2. Click on settings tab
  3. Click on Download Pybytes library button.

3. Flash your device with Pymakr

  1. Connect your device to your computer with USB cable.
  2. Extract download Pybytes library and open extracted folder with Atom.
  3. Get your device serial port: in Pymakr plugin click on More > get serial ports
  4. Paste your device's serial port to pymakr.conf file:

         "address": "PASTE_YOUR_SERIAL_PORT_HERE",
         "username": "micro",
         "password": "python",
         "sync_folder": "flash"
  5. Checkout your flash/ file. It will be pre-filled with your information from Pybytes Like deviceToken or WiFi credentials. You can change e.g. your WiFy password here.
  6. Put your device in safe boot mode.
  7. Upload code to your device by clicking on Upload button in Pymakr. After all Pybytes library files are uploaded to device, device will restart and will connect to Pybytes.

results matching ""

    No results matching ""