LibrePilot Forum

Development => Firmware General => Topic started by: RonnKruis on April 19, 2016, 06:12:40 pm

Title: Firmware problems
Post by: RonnKruis on April 19, 2016, 06:12:40 pm
After trying to setup my board i seem to have done something wrong during the firmware upgrade process.
I added a screenshot of what the firmware page looks like if a press the rescue button.

What file do i need to restore the device back to normal?
Title: Re: Firmware problems
Post by: f5soh on April 19, 2016, 06:23:23 pm
Hi, welcome.

All files are already packaged with Gcs.

Go to firmware tab:
- Disconnect board
- Click Upgrade&Erase button
- Connect the board to automatically install firmware and erase flash.
- Wait the Erase process, take at least 30s

After the process completion, board should become connected to GCS.
Title: Re: Firmware problems
Post by: RonnKruis on April 20, 2016, 09:42:41 am
Hi,

I know. I have often upgraded several Flightcontrollers with a GCs but they are not seen in the GCs so iam not able to do a normal Upgrade & Erase.
The only option to see the device is to start en rescue and that leaves me with the screen you see in the screenshot.
Title: Re: Firmware problems
Post by: RonnKruis on April 20, 2016, 10:06:25 am
Ok i just found out that the boards have been flashed with Tau Labs. That seems to be the problem they don't work in Librepilot. How do i flash them back so that iam able to use them with librepilot.

The board i use are Revomini's from BangGood.
Title: Re: Firmware problems
Post by: hwh on April 20, 2016, 04:34:48 pm
https://librepilot.atlassian.net/wiki/display/LPDOC/Recover+board+using+DFU covers how to recover if normal flashing procedures don't work.
Title: Re: Firmware problems
Post by: RonnKruis on April 20, 2016, 10:37:05 pm
Thanks. Ill have a look at that one. Ill let you know....
Title: Re: Firmware problems
Post by: RonnKruis on April 25, 2016, 09:26:35 am
Iam not able to find these soldering pads. I made a scan from both sides so you guys can have a quick look. Ill make a better photo if needed!
Title: Re: Firmware problems
Post by: f5soh on April 25, 2016, 01:32:20 pm
You need to solder directly a wire to the bootloader pin (pin 60) and set high, connected to +3.3V
After you add the wire you should not see led on.

(https://forum.librepilot.org/index.php?action=dlattach;topic=1396.0;attach=2707)

(https://forum.librepilot.org/index.php?action=dlattach;topic=1396.0;attach=2709)
Title: Re: Firmware problems
Post by: RonnKruis on April 26, 2016, 07:34:07 pm

Got the soldering part right. If i start the flash it gives me eight options. How do i know wich option is the right one?
Title: Re: Firmware problems
Post by: f5soh on April 26, 2016, 07:52:44 pm
Revo Mini is recognized as a Revolution.

You should flash using the 1 or 2

(https://librepilot.atlassian.net/wiki/download/attachments/29622291/DFU_script2.png)
Title: Re: Firmware problems
Post by: RonnKruis on April 26, 2016, 08:10:29 pm
Flash it like you said. It doesn't seem to be seen bij Librepilot. Got it working on dRonin now...