ybakos / Flash_Script

Flash script for ESP32 based devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NCD Gateway Firmware Flashing Utility

Update the firmware in your NCD Micro Gateway, Mega Modem or WiFi Sensor.

https://ncd.io/how-to-ncd-grepy

Setup

Install the pre-requisite software.

  1. Install Python 3
  2. Install PySerial
  3. Install the Silicon Labs USB to UART Bridge VCP driver
  4. Download this Python script. Unzip the download.

Connect your gateway to your computer using a USB cable.

Run the Script

Windows: Double click run.bat.

Linux / MacOS: Using the terminal, run python3 ncd_flasher.py.

Select the COM port for your gateway.

Select the firmware you wish to flash to the gateway.

Cross your fingers 🤞.

Options

You can run ncd_flasher.py with one of the following command line options.

  • dev: Use developer firmware URLs
  • ns: Do not flash the spiffs
  • sota: Use the sota firmware

Windows: You may run run_ns.bat or run_sota.bat.

Contributing

TODO

Testing

TODO


© 2019 - 2021 National Control Devices, LLC. All rights reserved.

About

Flash script for ESP32 based devices


Languages

Language:Python 99.8%Language:Batchfile 0.2%