Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Sparrow Binary Installation Guide

Download the Binary from GitHub

  1. Open https://github.com/blues/sparrow-reference-firmware in a web browser.

  2. Click the release icon.

  3. Select the appropriate release.

  4. Scroll down to download the .elf (the .zip is optional).

Upload the Binary using STM32CubeProgrammer

  1. Power Sparrow

  2. Connect STLINK-V3MINI to Sparrow

  3. Select ST-LINK from pulldown menu

  4. Select Reset Mode: Hardware Reset

  5. Click the Connect button

  6. Click the "Erasing & programming" button.

  7. Click the Browse button and select a local copy of the sparrow.elf file you just downloaded.

  8. Click the "Start Programming" button

  9. Wait for the download to complete and your Sparrow to reboot

  10. Connect to the STLINK-V3MINI serial terminal at 9600-8-N-1

  11. Press RESET button on Sparrow

  12. Verify the updated firmware by referencing the banner message (example shown below)

    ===================
    ===== SPARROW =====
    ===================
    Feb 24 2022 15:19:28
    

Upload the Binary using STM32_Programmer_CLI

  1. Power Sparrow

  2. Connect STLINK-V3MINI to Sparrow

  3. Upload the local copy of the sparrow.elf file you just downloaded:

    STM32_Programmer_CLI --connect port=SWD reset=HWrst --write ~/Downloads/sparrow.elf --verify --go
    
  4. Wait for the download to complete and your Sparrow to reboot

  5. Connect to the STLINK-V3MINI serial terminal at 9600-8-N-1

  6. Press RESET button on Sparrow

  7. Verify the updated firmware by referencing the banner message (example shown below)

    ===================
    ===== SPARROW =====
    ===================
    Feb 24 2022 15:19:28
    
  • No labels