- This version of the installer.
- A tar.gz file that contains a valid firmware upgrade (see links bellow).
- Python 2 with pyserial installed.
- Find out the name of the serial port you’ll be using:
Windows use a COM# (where # is a number) MacOS will use something like /dev/tty.usbserial-XXXXXXXX (where XXXXXXXX is a value specific to your expansion board). > For Pytrack/Pysense this is /dev/tty.usbmodemPyXXXXXX Linux will use something like /dev/ttyUSB# (where # is a number). For Pytrack/Pysense this is /dev/ttyACM# instead. You can > use the following command as well:
$ dmesg | grep USB
[104858.186515] usb 1-3: New USB device found, idVendor=10c4, idProduct=ea60
[104858.186523] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[104858.186529] usb 1-3: Product: CP2102 USB to UART Bridge Controller
[104858.189928] usb 1-3: cp210x converter now attached to ttyUSB0
Note: Users trying to upgrade without an expansion port may get different names.
- Extract the downloaded installer into a temporary directory.
- Copy the firmware tar.gz file into that directory.
- Prepare the board as usual: a. Turn off your device. b. Connect a jumper cable between G23 and GND on the expansion board (see note bellow). c. Connect the expansion board to the computer using the USB cable.
- From the temporary directory, run: python bin/updater.py -t FIRMWARE_FILE_NAME.tar.gz -p SERIAL_PORT -s 115200 flash Note : Looking at the device with the LED on the top side, G23 is the 4th pin from top on the left side. GND is the 2nd pin from top on the right side.
pycom_firmware_update_1.1.2.b2.tar.gz 1.9.2.b2: SiPy, LoPy 868, LoPy 915, WiPy 2