Flash the boardUsing 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 compiled the firmware file you need. Something like this can be used as well: Code Block |
---|
make ef_<BOARD>_dfu |
Where <BOARD> can be revolution or sparky2 You can also download the LibrePilot_dfu_flash.zip archive for firmware files to be flashed. |