Browser based RNode flasher #471
Replies: 10 comments 18 replies
-
It works great on T3 V1.6.1 based RNode, which is all I had with me right now. I'll try with more when I get a chance :) Looking great so far! Thanks so much for the effort! Awesome stuff! |
Beta Was this translation helpful? Give feedback.
-
Tried the TCXO variant again, same hardware failure message. Reboots twice, as expected, but it doesn't boot correctly. I'm going to check the EEPROM contents if I can and see if that's where the problem is. The other two boards function flawlessly, as I mentioned. |
Beta Was this translation helpful? Give feedback.
-
This is starting to look really great @Erethon! We'd have pretty broad coverage, if we could also add support for the following board types:
I have access to these in both 868 and 433 MHz variants, and can test them, if you can add the definitions for them to the flasher. |
Beta Was this translation helpful? Give feedback.
-
Also, is it realistic to add Bluetooth controls to this utility, so users can easily enable Bluetooth and pairing mode straight from the flasher? I'm not sure if the architecture of the flasher script is amenable to something like that, or would it require a larger effort? Otherwise, it might be a good idea to point out that this can be done from within the "Hardware" section of Sideband (available on Android only, though). |
Beta Was this translation helpful? Give feedback.
-
I can confirm that both the Heltec V2 boards and SX1262/8 T-Beams work fine with the web flasher now too :) |
Beta Was this translation helpful? Give feedback.
-
Hello, cool project! I have a (433) ESP32-S3 (T-Beam-Core S3) https://www.lilygo.cc/products/softrf-t-beamsupreme?variant=42880905052341 I'd be willing to run some tests for you If you are interested, let me know! |
Beta Was this translation helpful? Give feedback.
-
In the latest RNode firmware release, I added support for The LilyGO T3S3, and Heltec V3 boards (even though they are serial/USB only for now, no BLE yet). Can these be added to the web flasher too? |
Beta Was this translation helpful? Give feedback.
-
It's a URL parameter. Okay, I'll see what I can whip up...
…On 23 May 2024 10:28:42 BST, faragher ***@***.***> wrote:
I've run into an issue with Mark's server. It doesn't seem to respect requesting a specific firmware version. I don't remember exactly what he said, but my recollection is it was already something that needed retooling, so it may be best to start from zero. The API can be carried over for interoperability, at least as far as RNodeconf calls it. I seem to recall it's just a request with the question mark . . . I can never remember what that's called.
--
Reply to this email directly or view it on GitHub:
#471 (reply in thread)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just so you don't feel bound up by how it was done previously, feel free to completely retool how the update / firmware file acquisition works into something much better. My only wish it that it allows users to easily choose/add firmware repos themselves. The current system was designed a long time ago, when things were very different, and the whole thing only targeted two different board types, so there is a lot of carry-over from that. In a similar vein, it might be a fine enough time to drop support for the old AVR platform from the CE version of the firmware. Would have posted about that somewhere else, but this will be as fine a place as any, I guess. There hasn't been any new features added to AVR based RNodes for a long time, and having to keep support for those boards, with very limited resources, will hinder implementation of more advanced features. And my repo will keep hosting files for the AVR-based RNodes already out there, and in the odd case someone builds one, anyway, so moving on from that here would probably make sense. Also, maybe it's really worth considering a new RNode configuration/updater/flasher utility, something like Just wanted to put that out there, so we nobody feels we have to hang onto something just for the sake of it. Always worth considering if something is ripe for trimming and/or a bit of re-contextualisation. |
Beta Was this translation helpful? Give feedback.
-
For future reference, I've also been working on a web based RNode flasher: |
Beta Was this translation helpful? Give feedback.
-
Hello, I've setup an experimental browser based flasher to flash ESP32 devices with the RNode firmware. You can find this experiment in https://rnode-flasher.erethon.com/. I've tested this against two boards, the old (SX127X based) T-Beam and Lora T3 v1.6.1 and it works on both of them. I've experimentally also uploaded the firmware for the T3s with the TCXO, but I haven't tested myself if it works as expected.
I would like to ask the community for help with testing in different setups and boards. In order for it to work you'll need a browser that supports webserial (practically this means Chromium/Chrome/Edge/Opera). As mentioned, currently it only supports three boards (in both 868/915 and 433 MHz) but I'll add all the RNode firmware supported boards in the next few days.
Flashing the firmware is currently done using a slow speed to avoid some timing issues I was seeing initially, so it takes around 4-5 minutes to flash a board. This work is based on https://github.com/esphome/esp-web-tools, once things are a bit more stable I'll push my changes under https://github.com/Erethon/rnode-flasher which is a fork of
esp-web-tools
.I'll be updating this discussion with ToDos as things progress.
TODO
The last checkbox about Bluetooth is an important one, as the flasher is gonna be mostly useful for people that want to use Reticulum over Sideband.
Feedback
Any kind of feedback from "it works" or "it doesn't work on X/Y/Z setup" (especially if you can provide the browser console logs as well) is highly welcome!
Beta Was this translation helpful? Give feedback.
All reactions