LibrePilot Forum
Development => GCS General => Topic started by: Jhinta on December 01, 2015, 07:03:24 pm
-
Why is it that when i enable filght side log , my whole board is crashing .
I need to reflashe the whole nand to restore it.
cant rescue cant flash because from what i read is log dir get full and watchdog forcing board to reboot (by this loop log doesnt get wiped)
revo
-
If the log ever gets corrupted you will have to flash and run resurrection firmware for a few seconds, then flash normal firmware again. The typical way this gets corrupted is from flashing TauLabs firmware. This is not to say that TL corrupts it, just that they use it differently and that is seen by LP/OP firmware as corruption.
https://forum.librepilot.org/index.php?topic=208.0
-
If the log ever gets corrupted you will have to flash and run resurrection firmware for a few seconds, then flash normal firmware again. The typical way this gets corrupted is from flashing TauLabs firmware. This is not to say that TL corrupts it, just that they use it differently and that is seen by LP/OP firmware as corruption.
https://forum.librepilot.org/index.php?topic=208.0
I only use librepilot . just as soone as i open that setting window next boot is bootloop. Everything els is working. And never used TL
-
Come to think of it, I do recall hearing about a bug in the flight side logs.
"Don't use it" and flash the resurrection firmeware to get it usable again.
-
Come to think of it, I do recall hearing about a bug in the flight side logs.
"Don't use it" and flash the resurrection firmeware to get it usable again.
Iets already fixed , i flash the whole nand, i dont have a problemen getting it back to work. Just need the log for hystory .
-
I just updated tracking number LP-83 for this issue.
-
I just updated tracking number LP-83 for this issue.
Flight side logging was not working for me back when I used OP, I lost track if that was ever fixed.
It was definitely bricking the board.
@Jhinta also keep in mind that once this is fixed, you cant log everything with that. The chip has limited memory and it takes lots of cpu cycles if you decide to log everything.
-
I just updated tracking number LP-83 for this issue.
Flight side logging was not working for me back when I used OP, I lost track if that was ever fixed.
It was definitely bricking the board.
@Jhinta also keep in mind that once this is fixed, you cant log everything with that. The chip has limited memory and it takes lots of cpu cycles if you decide to log everything.
i know ,, but its juist for simpel things gps moost of it
-
Just an FYI: because of the limited space onboard, we are considering OpenLog / BlackBox support.
-
Just an FYI: because of the limited space onboard, we are considering OpenLog / BlackBox support.
;D nice but only thing i have over is flexi-io pins , anyway looking forward to it.
-
GCS 15.09, Mini Revo BL:6
Damned ! i used "logs" (to check mag) and crash my mini Revo when erased logs (it erased everyhting...firmware and BL)...now i have a nice bootloop ! can not do anything...
Should insert a big WARNING in documentation
Waiting a FTDI board to set up the card...will see...
-
when erased logs (it erased everyhting...firmware and BL)...now i have a nice bootloop ! can not do anything...
Really strange...
What the led behavior when you connect the board ?
-
If you have the blue led on for about 5 seconds and then it blinks off for about half a second, repeating over and over the bootloader is fine.
Go to the thread https://forum.librepilot.org/index.php?topic=208.0 and download the fw_revolution_resurrect2-1.opfw attached to the first post.
Hook your board up and click rescue. After a blink cycle it will go into rescue mode and you'll have a button "Open...", click it and select the fw_revolution_resurrect2-1.opfw file. Click flash and it will flash the resurrection firmware onto the board. Give it a few seconds after it reaches 100% and then click "Boot". The board will boot up, connect to the GCS, and give you a "Firmware Version Mismatch" warning pop-up. Click OK and then "Upgrade & Erase". Once that finishes you'll be back to normal.
edit: It's been fixed in the next release.
-
Yes very strange, and more strange the green led is no longer here ! the blue one is blinking slowly...but at the end nothing... i tried rescue process off course but nothing...
i will try to flash with fw_revolution_resurrect2-1.opfw
Thank you guys
-
Yes ! flashing the fw_revolution_resurrect2-1.opfw and the board is back. thank you very much :)
I keep the firmware or i update it when lunching GCS 15.09 ?
In advance thank you
-
I'm glad you're back running again. :)
Update it to whatever GCS you're running. That firmware is just to fix the problem of corrupted flash log area. Usually it results from running some other project's firmware and trying to switch back. As you found out, there are other ways to corrupt it.
The firmware in the board must always match the GCS, whenever it complains about a version mismatch it should be updated.
-
Thank you very much, all is back and fine updated with the 15.09 GCS firmware.
Next time, if any, i have the solution to "clean" the board
Have nice flights 8)
-
Do you know if it is resolved in 16.09?
-
I don't know if using flight side logging can still cause problems. I assume it can so I don't use it. :(
16.09 has some "resurrection" code built in now so that you should not have to flash and run resurrection firmware any more once you have 16.09. At least that was the idea, and it is known to fix at least one form of bricking that used to require using the resurrection technique.