Firmware – Mac and Linux Guide

Download and install the latest driver for the USB-To-Serial Port

You can usually find the USB Drivers for your hardware at the vendors home page. To make things easier we provide the most common links to drivers here:

Silicon Labs CP210x for Win/Mac/Linux
WCH CH340G for Win/Mac/Linux

Downlad the ESPTool

You can find the latest version of the ESPTool for your platform here. Download and unzip it to a location that you can easily access from the terminal window.

Download the latest version of the Sensate firmware

You can download the latest version of our firmware as binary here.

Use the terminal/console to find the serial port

Use the following terminal commands to identify the name of your USB-To-Serial-Interface thats provided by the Driver.

If you do not know which of the ports listed is the right one – try unplugging/replugging the USB cable and identify which port disappears and reappears.

ls /dev/tty.*
ls /dev/cu.*

Use the ESPTool to flash the firwmare to the ESP8266 chip

Use the following command to flash the firmware to the connected board.
./esptool -cp $PORTNAME -cd $BOARDTYPE -ca 0x00000 -cf $FIRMWARE-BINARY

Example to flash the “sensate.vx.bin” to the Board of type NodeMCU connected to the serial port called “dev/tty.SLAB_USBtoUART”:
./esptool -cp /dev/tty.SLAB_USBtoUART -cd nodemcu -ca 0x00000 -cf /path/to/sensate.vx.bin

Make sure you reset your hardware once manually after flashing to ensure proper function!