Open tomuk5 opened 3 days ago
Hello Thomas, can you tell me how you flashed this T3S3 please? Was it through compiling manually by running make firmware-t3s3 && make upload-t3s3
? Did you follow the instructions in the terminal when doing so? It looks like the firmware hash hasn't been set properly on the board, which should be done just after uploading.
Just so you know I have edited your initial comment so it is formatted better for others to read. On GitHub you have to have the ``` code tags on a new line. M*crosoft strikes again.
Hi :)
Using rnodeconf and selecting option 9 and then 2
------------------------------------------------------------------------------
Installer Ready
Ok, that should be all the information we need. Please confirm the following
summary before proceeding. In the next step, the device will be flashed and
provisioned, so make sure that you are satisfied with your choices.
Serial port : /dev/ttyACM1
Device type : RNode 820 - 960 MHz
Platform : ESP32
Device MCU : Espressif Systems ESP32
Firmware file : rnode_firmware_t3s3.zip
------------------------------------------------------------------------------
Is the above correct? [y/N] y
[16:19:01] Checking firmware file availability...
[16:19:01] Retrieving latest version info from https://unsigned.io/firmware/latest/?v=2.1.3&variant=rnode_firmware_t3s3.zip
[16:19:01] The selected firmware for this board is version 1.72
[16:19:01] Using existing firmware file: rnode_firmware_t3s3.zip for version 1.72
[16:19:01] Verifying firmware integrity...
[16:19:03]
[16:19:03] Please put the board into flashing mode now, by holding the BOOT or PRG button,
[16:19:03] while momentarily pressing the RESET button. Then release the BOOT or PRG button.
[16:19:03] Hit enter when this is done.
[16:19:13] Decompressing firmware...
[16:19:13] Firmware decompressed
[16:19:13] Flashing RNode firmware to device on /dev/ttyACM1
esptool.py v3.3.3
Serial port /dev/ttyACM1
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: dc:54:75:f0:a8:b8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00010000 to 0x000f4fff...
Flash will be erased from 0x00210000 to 0x003effff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 781.2 kbit/s)...
Hash of data verified.
Compressed 15104 bytes to 10430...
Wrote 15104 bytes (10430 compressed) at 0x00000000 in 0.2 seconds (effective 494.3 kbit/s)...
Hash of data verified.
Compressed 937600 bytes to 573260...
Wrote 937600 bytes (573260 compressed) at 0x00010000 in 8.6 seconds (effective 873.3 kbit/s)...
Hash of data verified.
Compressed 1966080 bytes to 1782227...
Wrote 1966080 bytes (1782227 compressed) at 0x00210000 in 18.8 seconds (effective 835.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 134...
Wrote 3072 bytes (134 compressed) at 0x00008000 in 0.0 seconds (effective 570.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
[16:19:46] Done flashing
[16:19:46] Waiting for ESP32 reset...
[16:19:53]
[16:19:53] Please take the board out of flashing mode by momentarily pressing the RESET button.
[16:19:53] Hit enter when this is done.
[16:20:17] Opening serial port /dev/ttyACM1...
[16:20:20] Device connected
[16:20:20] Current firmware version: 1.72
[16:20:20] Reading EEPROM...
[16:20:21] Clearing old EEPROM, this will take about 15 seconds...
[16:20:34] Waiting for ESP32 reset...
[16:20:40] Loading signing key...
[16:20:40]
[16:20:40] Please reset the board by momentarily pressing the RESET button.
[16:20:40] Hit enter when this is done.
[16:21:04] Bootstrapping device EEPROM...
[16:21:06] EEPROM written! Validating...
[16:21:08]
[16:21:08] Please reset the board by momentarily pressing the RESET button.
[16:21:08] Hit enter when this is done.
[16:21:25] EEPROM Bootstrapping successful!
RNode Firmware autoinstallation complete!
To use your device with Reticulum, read the documetation at:
https://markqvist.github.io/Reticulum/manual/gettingstartedfast.html
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Important!
ESP32-based RNodes are created with the RNode Bootstrap Console on-board.
This repository is hosted directly on the RNode, and contains a wealth of
information, software and tools.
The RNode Bootstrap Console also contains everything needed to build
and replicate RNodes, including detailed build recipes, 3D-printable
cases, and copies of the source code for both the RNode Firmware,
Reticulum and other utilities.
To activate the RNode Bootstrap Console, power up your RNode and press
the reset button twice with a one second interval. The RNode will now
reboot into console mode, and activate a WiFi access point for you to
connect to. The console is then reachable at: http://10.0.0.1
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Thank you for using this utility! Please help the project by
contributing code and reporting bugs, or by donating!
Your contributions and donations directly further the realisation
of truly open, free and resilient communications systems.
Ethereum : 0xFDabC71AC4c0C78C95aDDDe3B4FA19d6273c5E73
Bitcoin : 35G9uWVzrpJJibzUwpNUQGQNFzLirhrYAH
Monero : 87HcDx6jRSkMQ9nPRd5K9hGGpZLn2s7vWETjMaVM5KfV4TD36NcYa8J8WSxhTSvBzzFpqDwp2fg5GX2moZ7VAP9QMZCZGET
Ko-Fi : https://ko-fi.com/markqvist
Info : https://unsigned.io/
Code : https://github.com/markqvist
[16:21:25] WARNING: Could not backup device EEPROM to disk
Alright, looks like the installer doesn't set the hash. Not sure why. I'm preoccupied at the moment, so I can't look into why the installer is doing that, but I can fix your issue temporarily.
Please run rnodeconf -L /dev/yourport
, replacing /dev/yourport with the port your device is on, then copy the hash it spits out.
Then run rnodeconf -H [hash] /dev/yourport
, replacing [hash] with the hash you just copied (and /dev/yourport again).
e.g. rnodeconf -H b5499970ebca90fcf2a0a446f6a9eb8ad31deb78846fcb5683901288a20ab52f /dev/yourport
.
That will manually set the target hash for the firmware to be the actual hash of the file on flash, which will suppress the error.
Cheers, thats done the trick! :)
Warning message gone and functional in Reticulum
Good to hear.
Actually I'll keep this open as a reminder to check why the installer didn't set the hash.
After a bit of wangling with the T3S3, i finally got it flashed and the EEPROM to flash and for the rnodeconf command to query a flashes T3S3 as below:
There is still a message on the device screen stating
Firmware Corrupt
that doesnt seem to go away even after power cycle or reset. (assume this is a cosmetic issue as it can be queried as above and shows as "working")Also when i try to use the T3S3 Radio with Meshchat or Reticulum directly it will loop through this error:
Which when i use a Lilygo T3V1.6.1 this is ok.
Parameters for the config below, iv also tried switching the tx-power to 22 and restarting reticulum but to no avail:
im aware that the T3S3 is not ready per-se yet, but is there anything i can be doing to collect debug or any useful information to pinpoint the cause of this issue?