Skip to content

install OpenPilotPort to brainyfly board

Vasily edited this page Dec 23, 2013 · 1 revision
  1. Install Debugger and firmware uploader (OpenOCD 0.7.0)

    • download OpenOCD from web site: http://www.freddiechopin.info/en/download/category/4-openocd?download=99%3Aopenocd-0.7.0
    • unpack to working directory (for example c:/OpenOCD/)
    • add this directory to PATH environment variable.
    • rename executable file to openocd.exe
    • check that openocd command is available from cmd line in any other directory (for example in c:)
    • download WinUSB installer from https://sourceforge.net/projects/libwdi/files/zadig/
    • connect ST-Link debugger to computer.
    • launch zadig.exe
    • If you device is not visible in drop-down choose "Check Options > List All Devices"
    • Select your device in drop-down list
    • From the right (active) selector choose WinUSB (...) driver
    • Click Install Driver or Replace Driver below
  2. Prepare OpenPilot

  3. build bootloader

    • build and flash bootloader: make bl_brainyfly_program
    • if you want only build bootloader without flashing launch: make bl_brainyfly
  4. build firmware

    • build and flash firmware: make fw_brainyfly_program
    • if you want only build firmware without flashing: make fw_brainyfly
  5. build Ground Control Station

    • make gcs
Clone this wiki locally