- Posts: 268
Waring: v2.0 is not reliable
- suvsuv
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- NewJocker
- Offline
- Posts: 20
Please Log in or Create an account to join the conversation.
- FDR
- Offline
FDR wrote: I can make it to reboot while configuring: for example keep changing the tx power quickly up and down, and it will restart within one or two rounds, but it flies without issue for me too...
I've increased the watchdog timer to 2000ms from 1000ms, and while it was much harder to make it restart, it still happened...
Please Log in or Create an account to join the conversation.
- Hexperience
- Offline
- Posts: 588
There are 10 types of people in this world. Those that understand binary and those that don't.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Prolonging the watchdog interval gives more tolerance to a possibly long process, but cannot solve an infinite loop...
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
By checking one of the user's model config, I don't see anything wrong .
If reboot happens in configuring, it is not very hard to debug and fix, otherwise, it will be very hard to predict its root-cause
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Interrupts can be tricky things. you need to be sure that no place do you depend on a value not having changed while you are working on it. Effectively it is just like threaded programming.
In this case we actually have 3 different interrupt levels:
level 1: the mixer
level 2: the radio
level 3: the msec increment
level 1 interrupts the main loop, level 2 interrupts level 1 and the main loop, and level 3 interrupts level 1 and 2 and the main loop.
level 1 is new to Version 2.0.
Also, the main loop (where the watchdog is) is now triggered by level 1 as opposed to running constantly.
If the time it takes to process level 1 + 2 + 3 is greater than average time between interrupts, than the main loop will never fire and you'll get a reboot.
Note that the time to process level 1 is related to the number of available mixers, though it should still not be a bottleneck. The time itself is deterministic, but the overlap of the 3 interrupts is not.
Every transmitter should behave exactly the same way, so it would be helpful to get model files that cause the issue.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
The reboot caused by tx-power should be a confirmed bug. Though I have no idea its underline root cause, I don't believe this issue is related to the TX reboot during flyingFDR wrote: You can reproduce the reboot with constantly changing the tx power even in the defult empty model config...
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
I got a model ini file from one of the bug reporters. Please take a look at it.PhracturedBlue wrote:
Every transmitter should behave exactly the same way, so it would be helpful to get model files that cause the issue.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Reboot happens with simple mixer tweaking too, it's just easier to reproduce with the tx power.
The cause might pretty much be the same....
Please Log in or Create an account to join the conversation.
- Tom Z
- Offline
PhracturedBlue, sent you a PM.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
The model.ini is a plain text file.
Please Log in or Create an account to join the conversation.
- dado099
- Offline
- Posts: 95
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- MatCat
- Offline
- Posts: 168
Please Log in or Create an account to join the conversation.
- rototophe
- Offline
- Posts: 110
Was adjusting DSM2 Nano config and the Tx rebooted during that process.
Occurred only once.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- Waring: v2.0 is not reliable