Skip to content

How to flash the discovery

niccos edited this page Sep 5, 2014 · 1 revision
  • Get the ST-Link Utility from here stm32_st-link_utility.zip
  • Install it
  • Get the latest release archive from here http://github.com/lilvinz/OpenPilot/downloads
  • Connect the discovery board to USB using the mini-usb connector
  • Start STM32 ST-LINK Utility
  • Select Target->Connect from the menu
  • Select Target-> Erase Chip from the menu
  • Select File -> Open File... from the menu
  • Choose the bl_discoveryf4.bin or bl_discoveryf3.bin from the release archive
  • Confirm the dialog box which asks to write the data to the target
  • Close the software
  • Start the groundcontrolstation from the release archive
  • Go to the bootloader tab
  • Press the Rescue button
  • Hit the black reset key on the discovery. It should now have the blue led constantly on.
  • It should now show the discovery board connected as a CC3D
  • Click Open... button
  • Choose the fw_discoveryf4.opfw or file fw_discoveryf3.opfw from the release archive
  • Ignore the warning
  • Click on Flash button
  • After flashing, reset button on the discovery again
  • Thats it, gcs should now be showing data from the board