...
NOTE: The Sparrow Essentials Board and Sparrow Reference Nodes run the same firmware, and you can use these steps this article’s instructions to update the firmware of each.
...
At this point you’ve now successfully updated the firmware on your Sparrow board. You can verify the installation succeeded by completing the following steps in a serial terminal application, such as CoolTerm or TerraTerm.
Connect to the STLINK-V3MINI serial terminal at 9600-8-N-1.
Press RESET button on Sparrow.
Verify the updated firmware by referencing the banner message (example shown below).
Code Block =================== ===== SPARROW ===== =================== Feb 24 2022 15:19:28
Upload the Binary using STM32_Programmer_CLI
...
You can also update Sparrow firmware with STM32_Programmer_CLI by following the steps below.
NOTE: To complete this section you’ll need to have STM32CubeProgammer installed. So if you haven’t already, install STM32CubeProgrammer, and make sure to follow these installation notes.
Ensure your Sparrow hardware has power, either from a LiPo battery, a Qwiic connection, or a USB connection.
Connect your STLINK-V3MINI to your Sparrow Essentials Board, or Sparrow Reference Node.
Upload the local copy of the
sparrow.elf
file you just downloaded:Code Block STM32_Programmer_CLI --connect port=SWD reset=HWrst --write ~/Downloads/sparrow.elf --verify --go
Wait for the download to complete and your Sparrow to reboot.
You can verify the installation succeeded by completing the following steps in a serial terminal application, such as CoolTerm or TerraTerm.
Connect to the STLINK-V3MINI serial terminal at 9600-8-N-1.
Press RESET button on Sparrow.
Verify the updated firmware by referencing the banner message (example shown below).
Code Block =================== ===== SPARROW ===== =================== Feb 24 2022 15:19:28