Hi,
A few days ago I received an HT-M00 gateway. It was very nicely working as a TTN gateway.
Today I connected it to my computer and, while working on an application with another ESP32-based board, I accidentally flashed the application code to the HT-M00 gateway.
In order to restore the firmware, I headed to https://resource.heltec.cn/download/HT-M00/firmware and got the “M00_firmware.zip” file. I unzipped it and proceeded to flash the firmware. However, before that, I erased the whole flash memory (this is commonly needed in other environments I usually work on). I believe this erase step actually deleted the chip license that was stored on the flash.
Therefore, after erasing the flash memory (don’t do it!) and successfully flashing the firmware back, I got the device only partially working again: I can boot it into “Configuration mode” and set up the wifi, etc. but, when I boot it into normal operation mode, I get the “GATEWAY STARTING” message on the OLED and the following on the serial port:
Heltec HT-M00 firmware Rev 1.2
WiFi SSID : MySSID
WiFi PASS : MyPassword
CH0 FREQ : 868100000
CH1 FREQ : 868300000
MIN SF : 7
MAX SF : 11
SERVER ADDR : bridge.eu.thethings.network
SERVER PORT : 1700
TIME ZONE : UTC+5
GateWayID : XXXXXXFFFFXXXXXX
inside license error, check user license
Please provide a correct license! For more information:
http://www.heltec.cn/search/
ESP32ChipID=XXXXXXXXXXXX
I’ve browsed to that page and I’ve gotten the license for the device, but how can I restore it back to the flash?
Thanks!