Boxer Crush ELRS. ExpressLRS sometimes stuck on loading.
Current Behavior
Sometimes but rarely, a receiver fails to connect with my Boxer ELRS and when I open ExpressLRS on the transmitter it shows "Loading" and it is stuck there. If I turn off the TX and on again all is normal, my models will then connect and ExpressLRS loads as it should.
This is random. It has happened 3 times in the field in the 2 weeks that I have owned the Boxer CRUSH from new.
1.
2.
3.
4.
Actual Solution : Turn off the boxer and back on again and ExpressLRS loads correctly.
As above.Details
This has happened with different models so I believe the receiver is not relevant.
Your Environment
Open air if flying field temp approx 16C to 24C. No mobile phones nor tv masts nearby.
- TX hardware: Boxer Crush ELRS. Internal ELRS module as supplied. External bay has a 4 in1 module by iRange X. Switched off as not currently being used. External module has latest multi module firmware.
- RX hardware: Receivers Radiomaster ER4, HappyModel EPW6, Matek R24-P6, Matek R24-P6V [all of these are PWM versions].
- Handset model: Boxer Crush ELRS supplied mode 2 but now mode1.
- OpenTX version (including nightly number)EdgeTX 2.10.2
- ExpressLRS version 3.4.3 EU-LBT, TX and RX do match in all cases.
- Packet Rate: 100 hz full
- Telemetry Ratio: Standard 1:32
- user_defines:
which baudrate have you set?
I had the exact same issue yesterday, haven't found a reproduction scenario yet. So model failed to connect and elrs lua script failed to load. After a tx reboot it worked fine.
My setup: Radiomaster TX16S running EdgeTx 2.10.3 Radiomaster ranger micro running ELRS 3.4.3 LBT, baudrate 1.87M Packet rate 1000Hz with this specific model, but I'm pretty sure I have seen it with other models using 100Hz FULL
Model was a mobula 6 2024 running ELRS 3.3.0 (default) .
One thing that caught my eye was that in edgetx external rf settings the rate was showing as 500 Hz, while it should have been 1000Hz. But maybe that is just a default value or something. With the rf module removed it also shows 500Hz
mha1. My baud rate was set at 1.87M. Now set at 400k. I have not seen the behaviour over the past few days of flying.
1.87M should be fine, LUA might not load at 400k together with higher packet rates
Was able to reproduce this a few more times today, now with 5.25M as baudrate. It happened a few times when switching between models with different packet rates (100Hz full and 1000Hz). But also right after TX startup. What may be interesting is that during the fault the RGB led of the RF module was doing a slow fade in purple but the selected model has a 1000Hz rate which should show a red fade. After a tx reboot it showed a red fade and I was able to connect with the rx and load the lua script again.
Please describe your power on process. Step by step and timing, especially what is the wait time between radio power on and receiver power on.
Also do you use model match?
Yes I use a binding phrase and model match. I turn on the TX and when it is running and the model selected, I turn on the RX without any deliberate delay. Normally connection is made within a few seconds but it is not immediate. But the lua script will normally load if system/elrs is selected without any receiver connected, as long as the model selected uses CRSF.
I don't use model match for any of my models
When I was reproducing it just today I did not boot up the rx at first, I would first look if the lua script was responsive, if not I went to check if the rx would connect, that was never the case. When it happened a few days ago I just turned on my tx, correct model was already selected, then turned on my model roughly 10 seconds later. I will try to come up with more exact timings and do some more experimentation
Did more experimentation for half an hour, no clear reproduction yet. To me seems like a rare initialization problem. A short summary of what I see when the fault occurs:
- Lua script does not load
- RX won't connect
- RF module does a slow fade with the wrong color (incorrect rate?) for the selected model, purple while it should be red
- RF module does not go into wifi mode after specified timeout
- external RF settings shows 500 Hz rate which I do not use for any of my models, seems like a default because it also shows 500 Hz without the RF module in the bay.
Ps. The rf module goes into wifi mode just fine when removed from the bay and with external power Attached my config.json file (with UID removed :D) config.json
Most reliable reproduction for me so far, all models with 5.25M baudrate, no receivers
- Model 1: receiver id 0; no modelmatch, 100 Hz Full
- Model 2: receiver id 2; no modelmatch, F1000 Hz
- Edgetx 2.10.3
- ELRS 3.4.3 LBT, commit hash 41daca, RM Ranger micro
- Turn on TX with model 2 selected
- Select Model 1
- Wait for confirmation of correct mode by looking at rgb led of rf module (fading purple in my case)
- Select Model 2
- Wait for confirmation again, fading red
- Turn off TX
- Wait for x amount of minutes
- Turn On TX
- Sometimes rgb led does a red fade (good), sometimes a purple fade (bad)
The x amount of minutes seems to very inconsistent, I've had success with 2,3, 5 and 10 minutes but there does not seem to be a fixed amount that always does the trick :-(. Longer seems to help but that may be random
Ps. Tried the same with a Zorro with internal ELRS, everything the same except that it is running EdgetTX 2.10.2. Was not able to reproduce it on this radio yet
I tried your setup on my TX16s with external Ranger Micro with no luck.
My Tx16s with external micro Ranger module is solid. No problems loading ExpressLRS. For some reason I now have no problems with the Boxer either!!
@KennyCroft Which baudrates are you currently using?
Hi 400k
On Wed, 4 Sept 2024, 11:10 Paulraaf, @.***> wrote:
@KennyCroft https://github.com/KennyCroft Which baudrates are you currently using?
— Reply to this email directly, view it on GitHub https://github.com/ExpressLRS/ExpressLRS/issues/2900#issuecomment-2328453848, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKFCV4OZPNMYTKJTXFOET4DZU3MDBAVCNFSM6AAAAABNIJARWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYGQ2TGOBUHA . You are receiving this because you were mentioned.Message ID: @.***>
Currently 400k. This morning when setting up a new model the ExpressLRS lua script stuck at loading. Turned off the Boxer then on again and lua script loaded OK. This failure has not happened recently so I thought it had stopped.
Had the same issue this week twice.
My setup: Radiomaster Pocket EdgeTx 2.10.3 (or maybee already on .4, sorry not 100% sure) with internal Modul @5.25M baudrate - LBT 3.4.3 Packet rate 100Hz FULL RX Radiomaster ER8GV& BetaFPV 5ch PWM both LBT 3.4.3
No connection to RX, Lua script stuck loading, after TX turn off and on again it works fine
This may be a problem within ExpressLRS and not a problem with the hardware. Shouldn't the developers be looking into it.
So there appears to be 2 issues here. One for internal modules and the other for external.
I'm not sure about the internal case at the moment, but am investigating and have a couple of thoughts that it may be because of inverted/non-inverted detection. I would have thought that it would have cycled around again as it would be getting a massive number of failed parsed packets due to bad CRC and then retrained back to the correct state.
For the external case below...
Most reliable reproduction for me so far, all models with 5.25M baudrate, no receivers
- Model 1: receiver id 0; no modelmatch, 100 Hz Full
- Model 2: receiver id 2; no modelmatch, F1000 Hz
- Edgetx 2.10.3
- ELRS 3.4.3 LBT, commit hash 41daca, RM Ranger micro ...
- Sometimes rgb led does a red fade (good), sometimes a purple fade (bad)
The fact that the TX led is fading means it think it has a connection to a handset, if it did not have a detected connection the LED would be amber double blinking. In this case I'm thinking that the TX module has wrongly detected a PPM connection rather than a serial connection, hence the Lua will not load. We can look at making the PPM detection more robust for this one.
@Paulraaf can you test branch ppm-detect-fix and see if it solves the issue for you external modules.