BUG: Issue with Aux/Mode CLI restore.
When restoring from CLI dump the Aux / mode is not correctly restored.
What I need to do to get it restored correctly is copy and save cli dump, and then copy aux only and save.
This has been for awhile. atleast back to April 02.
Board = SPRACINGF3 How to try it yourself.
Try and copy and save this CLI dump http://pastebin.com/6awLdti6 (Airplane mixer)
Watch your missing some modes. In my case I only had NAV POSHOLD, NAV RTH and PASSTHRU set aftert first restore.
Paste in only the Aux channels: http://pastebin.com/J6GDXuH2
And hit save, and then the rest of the modes are there aswell. (Arm, Horizon, Airmode)
I know I'm not the only one, here is another guy aswell: http://www.rcgroups.com/forums/showpost.php?p=34422766&postcount=4622
I have also had this problem, but for me it's even worse: Some of the settings are not set when i paste in a full dump. I have not noticed any patterns yet, what settings are not set seems a bit random.
Is the configurator to fast so the FC can't keep up or something?
I also had similar issue. Also modes config. Also SPRF3
@theArchLadder Think thats an different issue. Had it once and after a reflash that issue was gone. The symptons was that it was slow when I copied it in CLI. Normally its lighting fast when coping stuff into CLI.
@oleost I have had it multiple times. My aux/flight modes has sometimes been only partially restored
EDIT: Good to know that it was slow when it happend, i will remember that to next time.
I dont know if it is the same issue, but with cc3d and naze, sometimes after a reset (no after a flashing or restotring) I lost all the mode configurations.
And other times everything go sloooow, I have to reset and then everything go fine.
This is a well known feature of all CF firmware variants, the firmware cannot process mode changes fast enough, the buffer overflows, data is lost. This is why the mwptools cf-cfi (cli backup / restore tool) uses a baud rate and context aware inter-line delay. Slower than pasting into a terminal, but reliable.
Otherwise paste in small batches, particularly for the aux section.
@stronnag How about adding something similar to the iNav configurator?
You are the second person to ask! I really don't do javascript. But it is possible that something simple like a fixed 25ms delay after each new line would help.
sudo @stronnag do javascript :stuck_out_tongue_winking_eye: Have you tried if only using a lower baud rate helps?
not tried that. lowering the baud rate becomes a real mess, both to flash and after as it's back to 115200, so you have to remember to change it on the FC, then in the tool.
@stronnag @theArchLadder @oleost please give a try to iNavFlight/inav-configurator#7
I just tested and confirm it worked. nice fix!
OK, since this seems to be configurator issue after all, I'm closing this one. Please refer to iNavFlight/inav-configurator#6 for further discussion