Let see in more details this module and what to do with it.
Updating the firmware
The module arrives already burned with a Meshstastic code, or at least it is the claim, however is important to be able to update it with newer code (or different one).
In order to do that, this article assumes to have a :
- LILYGO® TTGO LoRa32 V2.1_1.6 Version
- a Linux based machine - I'm using a Linux Mint
The simplest way to load a new firmware is using a normal Browser (I use Brave, a chrome based browser).
Let's try first the simplest way, i.e. using the Meshstastic website : flasher.meshtastic.org
- Disconnect the module from the Meshstatstic handler (see my previous article) if connected
- Start to prepare for the update - Go on the flasher.meshtastic.org
- search and select the LILYGO® TTGO LoRa32 V2.1_1.6 Version
- select then the firmware to burn (in my case I choose the latest stable - 2.7.15.567b8ea beta)
- When everything is ready to go :
- disconnect the module from USB (should be already disconnected)
- set the switch on the board to OFF
- press the Reset button and hold it
- reconnect the module to the USB
- Click on the Flash box
- Select the port connected to the module
- Accept some terms (follow the menu)
- Select to erase the flash !
Initially I did not selected to erase the Flash memory and the upload seemed go OK, however after the reset nothing happened - screen dead - enabling to erase the flash did the trick !
CAUTION ! It is suggested to backup the keys before to erase the flash, but since the module was never connected I choose to ignore that !
We'll see this later - Click on the update button on the page
If everything is OK in the monitor below the page :
esptool.jsSerial port WebSerial VendorID 0x1a86 ProductID 0x55d4Connecting...Detecting chip type... ESP32Chip is ESP32-PICO-D4 (revision 1)Features: Wi-Fi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme NoneCrystal is 40MHzMAC: 90:15:06:d9:20:c0Uploading stub...Running stub...Stub running...Compressed 2194464 bytes to 1368146...Writing at 0x10000... (1%)............................................................Writing at 0x1087ce... (42%)Writing at 0x10e574... (44%)Writing at 0x11426b... (45%)Writing at 0x119a6c... (46%)Writing at 0x11f6e2... (47%)Writing at 0x124bc9... (48%)Writing at 0x129d96... (50%)Writing at 0x12f1f0... (51%)Writing at 0x20ec58... (95%)Writing at 0x2141c5... (96%)Writing at 0x219fac... (97%)Writing at 0x21f4f7... (98%)Writing at 0x224cd2... (100%)Wrote 2194464 bytes (1368146 compressed) at 0x10000 in 129.67 seconds.Leaving...Hard resetting via RTS pin...mode:DIO, clock div:2load:0x3fff0030,len:1184load:0x40078000,len:12784load:0x40080400,len:3032entry 0x400805e4ets Jun 8 2016 00:22:57When the procedure is done it should end up like this
At this point I saw on the screen the Meshstastic symbol when started the code.
As before I went on the site https://client.meshtastic.org, reconnected the module (careful, it can change port !) and this time the "loading" phase lasted few seconds !!!
Now is working !
Configuration
The first thing to do is to configure the module now !
The configuration is done via the Settings on the website or the application, depending if the module is connected via USB (PC) or via BlueTooth (Meshstatsic app) or via WiFi.
The configuration is done via the Settings on the website or the application, depending if the module is connected via USB (PC) or via BlueTooth (Meshstatsic app) or via WiFi.
I did use the Android app Meshstastic from my tablet, connected via Bluetooth to the Lilygo module.
An article on the settings will be prepared

No comments:
Post a Comment