Flashing Bootloader

Tools required

After manufactured boards come without bootloader pre-installed. You can easily flash them yourself. The tools which will be needed:

  • ST-Link v2 ARM JTAG Debugger
  • ARM JTAG Mini connector 1.25 mm pitch

Connections

ST Link debugger looks as following:

Image

You will need to connect ST-Link pins to SmartAP Pins.

The reference for ST Link pins:

Image

The reference for SmartAP JTAG pins (view from top):

Image

Your connection should look as following:

Image

Autopilot should be powered via USB. ST Link debugger should be powered from USB too.

Flashing

Open STM ST Link Utility and then go to Target > Program and Verify: Image

Select the bootloader file to flash: Image

Press Start Image

Once completed you'll see the following: Image

If you see the board LEDs flashing after that - congratulations! Bootloader has been successfully flashed! Now you're able to install the firmware.