Table of Contents
Pycom Beginer
Firmware upgrade
Depricated For Linux users, you can use the generic firmware update tool and run sudo ./pycom-update. It seems to work for me.
Run as non-root:
pycom-fwtool
Atom
- Pymakr plugin: search and install
Connecting Devices
For Linux, you may need to run the two commands below. Once you've completed that, reboot your computer. This will add permissions that will allow you to upload a sketch to the board.
sudo usermod -a -G tty ${USER}
sudo usermod -a -G dialout ${USER}
Using cli (disconnect Atom)
dang@localhost:.../92_pycom/pyupgrade> pycom-fwtool-cli wifi The port must be specified when using wifi dang@localhost:.../92_pycom/pyupgrade> pycom-fwtool-cli -p /dev/ttyACM0 pybytes Running in PIC mode TOKEN=ca92b5c5-c993-4ee4-bbec-e27862286075 SERVER=mqtt.pybytes.pycom.io USERID=thuydang.de@gmail.com NWPREFS=wifi EXTRAPREFS=[not set] dang@localhost:.../92_pycom/pyupgrade> pycom-fwtool-cli -p /dev/ttyACM0 wifi Running in PIC mode WIFI_SSID=Tdhp WIFI_PWD=1122334455 WIFI_ON_BOOT=ON
Pybytes
- Updage pybytes FW (see update tool above)
- Create device on Pybytes
- Set device token:
pycom-fwtool-cli -p /dev/ttyACM0 pybytes --token d9eb4609-6307-4147-87f8-df4615a47220
Reflash for any changes (wifi, etc)
PyMesh
sorry, this works just in development, for stable it’s: os.mkfs("/flash")
Benjamin Graf [2:04 PM]
https://github.com/pycom/pymesh_apps/blob/master/custom_fw_bin/FiPy.tar.gz
Android app: https://github.com/pycom/pymesh_apps/tree/master/mobile_app/android