Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width50%

Flash the board

Using console (Gnu Linux / OSX)


You may need to install the dfu-util package under Linux.

Code Block
sudo apt-get install dfu-util

or OSX:

Code Block
brew install dfu-util

Connect board with SBL pads soldered to the computer.

Next step can be done using the dfu-util program and console command:

Code Block
dfu-util -d 0483:df11 -c 1 -i 0  -a 0  -D firmware_file.bin  -s 0x08000000

This assumes you already downloaded or compiled the firmware file you need.
You can also download the archive from the next part LibrePilot_dfu_flash.zip archive for firmware files to be flashed.

Column
width50%

 

 

...

 

Section
Column
width50%

Using DFU script (Windows)

 


  • Uncompress the archive's content, you can see firmware files and flash_script.bat

 

  • Connect board with SBL pads soldered to the computer.

 

 

 

  • Double click on flash_script.bat file

 

 

  • Choose the firmware you want, example the number 2 for Revolution - entire flash and hit enter key

 

 

  • Wait until the programming is finished, it can take a while for entire flash firmware.

 

 

  • Disconnect board

 

 

  • Remove solder join between SBL pads!

 

Hopefully you can now connect your board to GCS.

Your flight controller should run the firmware correctly but may need a firmware update.

 

Info

Please note there is also Taulabs files for Sparky2, this allow flashing dRonin/Taulabs compatible bootloader.

Column
width50%

 

 

...